› Foros › PC › Software libre
kyo2009 escribió:https://bbs.archlinux.org/viewtopic.php?id=151643
^^ se puede hacer?
He intentado buscando en la wiki... pero no encuentro algo acerca de la interfaz inalambrica.
https://wiki.archlinux.org/index.php/Bridge_with_netctl
acá más de lo mismo,, pero siempre mediante eth0, etc nada de wlan
http://blog.redit.name/2015/01/arch-linux-install-libvirt-with-webvirtmgr.html
Se puede hacer o solo estoy perdiendo el tiempo (?)
Hasta ahora creo el archivo :/etc/netctl/bridge
dentro pongo esto:Description="Bridge device"
Interface=br0
Connection=bridge
BindsToInterfaces=(wlo1)
IP=dhcp
luego al momento de iniciar (sudo netctl start br0), me arroja lo sgte:● netctl@br0.service - Networking for netctl profile br0
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since jue 2015-12-10 08:30:59 CLT; 14s ago
Docs: man:netctl.profile(5)
Process: 6687 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
Main PID: 6687 (code=exited, status=1/FAILURE)
dic 10 08:30:59 arch systemd[1]: Starting Networking for netctl profile br0...
dic 10 08:30:59 arch network[6687]: Profile 'br0' does not exist or is not readable
dic 10 08:30:59 arch systemd[1]: netctl@br0.service: Main process exited, code=exited, status=1/FAILURE
dic 10 08:30:59 arch systemd[1]: Failed to start Networking for netctl profile br0.
dic 10 08:30:59 arch systemd[1]: netctl@br0.service: Unit entered failed state.
dic 10 08:30:59 arch systemd[1]: netctl@br0.service: Failed with result 'exit-code'.
si procedo a configurar de forma estatica el bridge :Description='Bridge device'
Interface=br0
Connection=bridge
IP=static
Address=('192.168.1.100/24')
Gateway=('192.168.1.1')
DNS=('192.168.1.1')
BindsToInterfaces=(wlo1)
luego al iniciar la tarjeta de wifi se cuelga y debo apagarla.
Alguna idea?
sL1pKn07 escribió:kyo2009 escribió:https://bbs.archlinux.org/viewtopic.php?id=151643
^^ se puede hacer?
He intentado buscando en la wiki... pero no encuentro algo acerca de la interfaz inalambrica.
https://wiki.archlinux.org/index.php/Bridge_with_netctl
acá más de lo mismo,, pero siempre mediante eth0, etc nada de wlan
http://blog.redit.name/2015/01/arch-linux-install-libvirt-with-webvirtmgr.html
Se puede hacer o solo estoy perdiendo el tiempo (?)
Hasta ahora creo el archivo :/etc/netctl/bridge
dentro pongo esto:Description="Bridge device"
Interface=br0
Connection=bridge
BindsToInterfaces=(wlo1)
IP=dhcp
luego al momento de iniciar (sudo netctl start br0), me arroja lo sgte:● netctl@br0.service - Networking for netctl profile br0
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since jue 2015-12-10 08:30:59 CLT; 14s ago
Docs: man:netctl.profile(5)
Process: 6687 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
Main PID: 6687 (code=exited, status=1/FAILURE)
dic 10 08:30:59 arch systemd[1]: Starting Networking for netctl profile br0...
dic 10 08:30:59 arch network[6687]: Profile 'br0' does not exist or is not readable
dic 10 08:30:59 arch systemd[1]: netctl@br0.service: Main process exited, code=exited, status=1/FAILURE
dic 10 08:30:59 arch systemd[1]: Failed to start Networking for netctl profile br0.
dic 10 08:30:59 arch systemd[1]: netctl@br0.service: Unit entered failed state.
dic 10 08:30:59 arch systemd[1]: netctl@br0.service: Failed with result 'exit-code'.
si procedo a configurar de forma estatica el bridge :Description='Bridge device'
Interface=br0
Connection=bridge
IP=static
Address=('192.168.1.100/24')
Gateway=('192.168.1.1')
DNS=('192.168.1.1')
BindsToInterfaces=(wlo1)
luego al iniciar la tarjeta de wifi se cuelga y debo apagarla.
Alguna idea?
es esto lo que quieres?
http://unix.stackexchange.com/questions ... op-machine
PKGBUILDpkgname=libvirt-git
pkgver=1.3.1.r21058.7bf3c13
pkgrel=1
pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc). (GIT Version)"
arch=('i686' 'x86_64')
url='http://libvirt.org'
license=('GPL' 'LGPL')
depends=('e2fsprogs'
'gnutls'
'iptables'
'libxml2'
'parted'
'polkit'
'python'
'avahi'
'yajl'
'libpciaccess'
'udev'
'dbus'
'libxau'
'libxdmcp'
'libpcap'
'libcap-ng'
'curl'
'libsasl'
'libgcrypt'
'libgpg-error'
'openssl'
'libxcb'
'gcc-libs'
'glusterfs'
'iproute2'
'libnl'
'libx11'
'numactl'
'gettext'
'ceph'
'libssh2'
'netcf'
)
makedepends=('git'
'lvm2'
'linux-api-headers'
'dnsmasq'
'lxc'
'libiscsi'
'open-iscsi'
'perl-xml-xpath'
'libxslt'
'qemu'
'xhtml-docs'
)
optdepends=('ebtables: required for default NAT networking'
'dnsmasq: required for default NAT/DHCP for guests'
'bridge-utils: for bridged networking'
'openbsd-netcat: for remote management over ssh'
'qemu'
'radvd'
'dmidecode'
'pm-utils: host power management'
)
conflicts=('libvirt')
provides=('libvirt')
options=('emptydirs')
backup=('etc/conf.d/libvirt-guests'
'etc/conf.d/libvirtd'
'etc/libvirt/libvirt.conf'
'etc/libvirt/virtlogd.conf'
'etc/libvirt/libvirtd.conf'
'etc/libvirt/lxc.conf'
'etc/libvirt/nwfilter/allow-arp.xml'
'etc/libvirt/nwfilter/allow-dhcp-server.xml'
'etc/libvirt/nwfilter/allow-dhcp.xml'
'etc/libvirt/nwfilter/allow-incoming-ipv4.xml'
'etc/libvirt/nwfilter/allow-ipv4.xml'
'etc/libvirt/nwfilter/clean-traffic.xml'
'etc/libvirt/nwfilter/no-arp-ip-spoofing.xml'
'etc/libvirt/nwfilter/no-arp-mac-spoofing.xml'
'etc/libvirt/nwfilter/no-arp-spoofing.xml'
'etc/libvirt/nwfilter/no-ip-multicast.xml'
'etc/libvirt/nwfilter/no-ip-spoofing.xml'
'etc/libvirt/nwfilter/no-mac-broadcast.xml'
'etc/libvirt/nwfilter/no-mac-spoofing.xml'
'etc/libvirt/nwfilter/no-other-l2-traffic.xml'
'etc/libvirt/nwfilter/no-other-rarp-traffic.xml'
'etc/libvirt/nwfilter/qemu-announce-self-rarp.xml'
'etc/libvirt/nwfilter/qemu-announce-self.xml'
'etc/libvirt/qemu-lockd.conf'
'etc/libvirt/qemu.conf'
'etc/libvirt/qemu/networks/autostart/default.xml'
'etc/libvirt/qemu/networks/default.xml'
'etc/libvirt/virt-login-shell.conf'
'etc/libvirt/virtlockd.conf'
'etc/logrotate.d/libvirtd'
'etc/logrotate.d/libvirtd.lxc'
'etc/logrotate.d/libvirtd.qemu'
'etc/logrotate.d/libvirtd.uml'
'etc/sasl2/libvirt.conf'
)
source=('git://libvirt.org/libvirt.git'
'libvirt-git.tmpfile'
'libvirt-git.sysuser'
)
sha1sums=('SKIP'
'8ef01dd3f08c863eb56b236e41ce5aefaf3181c8'
'3ad482a72b7dd8daf4bd7355c6264090103e1e12')
install=libvirt-git.install
pkgver() {
cd libvirt
_ver=$(cat configure.ac | grep 'AC_INIT' | grep -o "[[:digit:]]*" | paste -sd'.')
echo "${_ver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
prepare() {
cd libvirt
# Arch moved sysconfig to conf.d
sed 's|/sysconfig|/conf.d|g' \
-i tools/virt-pki-validate.in \
-i tools/libvirt-guests.sh.in \
-i tools/libvirt-guests.service.in \
-i tools/Makefile.am \
-i src/logging/virtlogd.service.in \
-i src/locking/virtlockd.service.in \
-i src/Makefile.am \
-i docs/*.in \
-i daemon/libvirtd.service.in \
-i daemon/Makefile.am
# 78 is kvm group: https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database
sed 's|#group =.*|group="78"|' \
-i src/qemu/qemu.conf
# In arch qemu-bridge-helper is saved into /usr/lib/qemu/qemu-bridge-helper
sed 's|/usr/libexec/qemu-bridge-helper|/usr/lib/qemu/qemu-bridge-helper|g' \
-i configure.ac \
-i src/qemu/qemu.conf \
-i src/qemu/test_libvirtd_qemu.aug.in
}
build() {
cd libvirt
./autogen.sh \
--prefix=/usr \
--libexec="/usr/lib/libvirt" \
--sbindir=/usr/bin \
--with-udev \
--without-hal \
--disable-static \
--with-init-script=systemd \
--with-qemu-user=nobody \
--with-qemu-group=nobody \
--with-netcf \
--with-interface \
--with-lxc \
--with-storage-iscsi \
--with-storage-lvm \
--without-xen
# --with-audit
make
}
package() {
cd libvirt
make DESTDIR="${pkgdir}" install
# Systemd Stuff
install -Dm644 "${srcdir}/libvirt-git.tmpfile" "${pkgdir}/usr/lib/tmpfiles.d/libvirt.conf"
install -Dm644 "${srcdir}/libvirt-git.sysuser" "${pkgdir}/usr/lib/sysusers.d/libvirt.conf"
# Set permissions
chown -R 0:78 "${pkgdir}/var/lib/libvirt/qemu"
chmod 0770 "${pkgdir}/var/lib/libvirt/qemu"
chown 0:102 "${pkgdir}/usr/share/polkit-1/rules.d"
chmod 0750 "${pkgdir}/usr/share/polkit-1/rules.d"
# handled by systemd-tmpfiles
rm -rf "${pkgdir}/var/run"
}
libvirt-git.installall_off="$(tput sgr0)"
bold="${all_off}$(tput bold)"
yellow="${bold}$(tput setaf 3)"
blue="${bold}$(tput setaf 4)"
green="${bold}$(tput setaf 2)"
_instruction() {
printf "${yellow}==>${all_off} ${bold}ATENTION:${all_off}
${green}==>${all_off} libvirt runs qemu from ${bold}nobody${all_off}:${bold}kvm${all_off} by default
change the ${bold}USER${all_off} if desired in '${bold}/etc/libvirt/qemu.conf${all_off}'
See '${bold}https://wiki.archlinux.org/index.php/Libvirt${all_off}' for more info.\n"
}
_reminder() {
printf "${yellow}==>${all_off} ${bold}ATENTION:${all_off}
${green}==>${all_off} You may need to run '${bold}rm -rf ~/.libvirt${all_off}'.\n"
}
_libvirt_setup() {
systemd-tmpfiles --create libvirt.conf
systemd-sysusers libvirt.conf
}
post_install() {
_libvirt_setup
_instructions
}
post_upgrade() {
_libvirt_setup
_reminder
}
libvirt-git.sysuserg libvirt - -
libvirt-git.tmpfiled /run/libvirt/qemu 0755 root root -
d /run/libvirt/lxc 0755 root root -
d /run/libvirt/uml 0755 root root -
d /run/libvirt/network 0755 root root -
PKGBUILDpkgbase=virt-manager-git
pkgname=('virt-install-git'
'virt-manager-git'
)
pkgver=v1.3.2.0.g450be4a
pkgrel=1
epoch=1
pkgdesc="Console and desktop user interface for managing virtual machines. (GIT Version)"
arch=('any')
url='http://virt-manager.org'
license=('GPL')
makedepends=('intltool'
'libvirt-python'
'libvirt-glib'
'libosinfo'
'libxml2'
'python2-dbus'
'python2-gobject'
'python2-ipaddr'
'python2-requests'
'vte3'
)
source=('git+https://github.com/virt-manager/virt-manager.git')
sha1sums=('SKIP')
pkgver() {
cd virt-manager
echo "$(git describe --long --tags | tr - .)"
}
prepare() {
cd virt-manager
sed 's|sysconfig/|conf.d/|g' -i virtinst/hostkeymap.py
}
build() {
cd virt-manager
python2 setup.py build
}
package_virt-install-git() {
pkgdesc="Console user interface for managing virtual machines. (GIT Version)"
depends=('libvirt-glib'
'libosinfo'
'libxml2'
'python2-dbus'
'python2-gobject'
'python2-ipaddr'
'python2-requests'
)
conflicts=('virt-install')
provides=('virt-install')
cd virt-manager
python2 setup.py --no-update-icon-cache --no-compile-schemas install --root "${pkgdir}"
cd "${pkgdir}"
rm -fr usr/bin/virt-manager
rm -fr usr/share/appdata
rm -fr usr/share/man/man1/virt-manager.1
rm -fr usr/share/icons/
rm -fr usr/share/applications
rm -fr usr/share/GConf/
rm -fr usr/share/glib-2.0
rm -fr usr/share/locale
rm -fr usr/share/virt-manager/icons
rm -fr usr/share/virt-manager/ui
rm -fr usr/share/virt-manager/virt-manager
rm -fr usr/share/virt-manager/virtManager
}
package_virt-manager-git() {
pkgdesc="Desktop user interface for managing virtual machines. (GIT Version)"
depends=('virt-install'
'libvirt-python'
'vte3'
)
optdepends=('gtk-vnc: for VNC connections'
'spice-gtk3: for SPICE connections'
'x11-ssh-askpass: SSH password interface'
)
conflicts=('virt-manager')
provides=('virt-manager')
install=virt-manager-git.install
cd virt-manager
python2 setup.py --no-update-icon-cache --no-compile-schemas install --root "${pkgdir}"
cd "${pkgdir}"
rm -fr usr/bin/virt-clone
rm -fr usr/bin/virt-convert
rm -fr usr/bin/virt-image
rm -fr usr/bin/virt-install
rm -fr usr/bin/virt-xml
rm -fr usr/share/GConf/
rm -fr usr/share/man/man5/virt-image.5
rm -fr usr/share/man/man1/virt-install.1
rm -fr usr/share/man/man1/virt-image.1
rm -fr usr/share/man/man1/virt-convert.1
rm -fr usr/share/man/man1/virt-clone.1
rm -fr usr/share/man/man1/virt-xml.1
rm -fr usr/share/virt-manager/virt-clone
rm -fr usr/share/virt-manager/virt-convert
rm -fr usr/share/virt-manager/virt-image
rm -fr usr/share/virt-manager/virt-install
rm -fr usr/share/virt-manager/virt-xml
rm -fr usr/share/virt-manager/virtcli
rm -fr usr/share/virt-manager/virtconv
rm -fr usr/share/virt-manager/virtinst
}
virt-manager-git.installpost_install() {
update-desktop-database -q
xdg-icon-resource forceupdate --theme hicolor
glib-compile-schemas usr/share/glib-2.0/schemas
}
pre_upgrade() {
pre_remove $1
}
post_upgrade() {
post_install $1
}
pre_remove() {
rm -f /usr/share/virt-manager/virtManager/*.pyc || true
}
post_remove() {
update-desktop-database -q
xdg-icon-resource forceupdate --theme hicolor
glib-compile-schemas usr/share/glib-2.0/schemas
}
sL1pKn07 escribió:suena a fallo del parcheo de arch al virt-manager/libvirt (la parte que pasa las configuraciones de sysconfig a conf.d)
si sabes compilar desde pkgbuild prueba con esto:
libvirtPKGBUILDpkgname=libvirt-git
pkgver=1.3.1.r21058.7bf3c13
pkgrel=1
pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc). (GIT Version)"
arch=('i686' 'x86_64')
url='http://libvirt.org'
license=('GPL' 'LGPL')
depends=('e2fsprogs'
'gnutls'
'iptables'
'libxml2'
'parted'
'polkit'
'python'
'avahi'
'yajl'
'libpciaccess'
'udev'
'dbus'
'libxau'
'libxdmcp'
'libpcap'
'libcap-ng'
'curl'
'libsasl'
'libgcrypt'
'libgpg-error'
'openssl'
'libxcb'
'gcc-libs'
'glusterfs'
'iproute2'
'libnl'
'libx11'
'numactl'
'gettext'
'ceph'
'libssh2'
'netcf'
)
makedepends=('git'
'lvm2'
'linux-api-headers'
'dnsmasq'
'lxc'
'libiscsi'
'open-iscsi'
'perl-xml-xpath'
'libxslt'
'qemu'
'xhtml-docs'
)
optdepends=('ebtables: required for default NAT networking'
'dnsmasq: required for default NAT/DHCP for guests'
'bridge-utils: for bridged networking'
'openbsd-netcat: for remote management over ssh'
'qemu'
'radvd'
'dmidecode'
'pm-utils: host power management'
)
conflicts=('libvirt')
provides=('libvirt')
options=('emptydirs')
backup=('etc/conf.d/libvirt-guests'
'etc/conf.d/libvirtd'
'etc/libvirt/libvirt.conf'
'etc/libvirt/virtlogd.conf'
'etc/libvirt/libvirtd.conf'
'etc/libvirt/lxc.conf'
'etc/libvirt/nwfilter/allow-arp.xml'
'etc/libvirt/nwfilter/allow-dhcp-server.xml'
'etc/libvirt/nwfilter/allow-dhcp.xml'
'etc/libvirt/nwfilter/allow-incoming-ipv4.xml'
'etc/libvirt/nwfilter/allow-ipv4.xml'
'etc/libvirt/nwfilter/clean-traffic.xml'
'etc/libvirt/nwfilter/no-arp-ip-spoofing.xml'
'etc/libvirt/nwfilter/no-arp-mac-spoofing.xml'
'etc/libvirt/nwfilter/no-arp-spoofing.xml'
'etc/libvirt/nwfilter/no-ip-multicast.xml'
'etc/libvirt/nwfilter/no-ip-spoofing.xml'
'etc/libvirt/nwfilter/no-mac-broadcast.xml'
'etc/libvirt/nwfilter/no-mac-spoofing.xml'
'etc/libvirt/nwfilter/no-other-l2-traffic.xml'
'etc/libvirt/nwfilter/no-other-rarp-traffic.xml'
'etc/libvirt/nwfilter/qemu-announce-self-rarp.xml'
'etc/libvirt/nwfilter/qemu-announce-self.xml'
'etc/libvirt/qemu-lockd.conf'
'etc/libvirt/qemu.conf'
'etc/libvirt/qemu/networks/autostart/default.xml'
'etc/libvirt/qemu/networks/default.xml'
'etc/libvirt/virt-login-shell.conf'
'etc/libvirt/virtlockd.conf'
'etc/logrotate.d/libvirtd'
'etc/logrotate.d/libvirtd.lxc'
'etc/logrotate.d/libvirtd.qemu'
'etc/logrotate.d/libvirtd.uml'
'etc/sasl2/libvirt.conf'
)
source=('git://libvirt.org/libvirt.git'
'libvirt-git.tmpfile'
'libvirt-git.sysuser'
)
sha1sums=('SKIP'
'8ef01dd3f08c863eb56b236e41ce5aefaf3181c8'
'3ad482a72b7dd8daf4bd7355c6264090103e1e12')
install=libvirt-git.install
pkgver() {
cd libvirt
_ver=$(cat configure.ac | grep 'AC_INIT' | grep -o "[[:digit:]]*" | paste -sd'.')
echo "${_ver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
prepare() {
cd libvirt
# Arch moved sysconfig to conf.d
sed 's|/sysconfig|/conf.d|g' \
-i tools/virt-pki-validate.in \
-i tools/libvirt-guests.sh.in \
-i tools/libvirt-guests.service.in \
-i tools/Makefile.am \
-i src/logging/virtlogd.service.in \
-i src/locking/virtlockd.service.in \
-i src/Makefile.am \
-i docs/*.in \
-i daemon/libvirtd.service.in \
-i daemon/Makefile.am
# 78 is kvm group: https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database
sed 's|#group =.*|group="78"|' \
-i src/qemu/qemu.conf
# In arch qemu-bridge-helper is saved into /usr/lib/qemu/qemu-bridge-helper
sed 's|/usr/libexec/qemu-bridge-helper|/usr/lib/qemu/qemu-bridge-helper|g' \
-i configure.ac \
-i src/qemu/qemu.conf \
-i src/qemu/test_libvirtd_qemu.aug.in
}
build() {
cd libvirt
./autogen.sh \
--prefix=/usr \
--libexec="/usr/lib/libvirt" \
--sbindir=/usr/bin \
--with-udev \
--without-hal \
--disable-static \
--with-init-script=systemd \
--with-qemu-user=nobody \
--with-qemu-group=nobody \
--with-netcf \
--with-interface \
--with-lxc \
--with-storage-iscsi \
--with-storage-lvm \
--without-xen
# --with-audit
make
}
package() {
cd libvirt
make DESTDIR="${pkgdir}" install
# Systemd Stuff
install -Dm644 "${srcdir}/libvirt-git.tmpfile" "${pkgdir}/usr/lib/tmpfiles.d/libvirt.conf"
install -Dm644 "${srcdir}/libvirt-git.sysuser" "${pkgdir}/usr/lib/sysusers.d/libvirt.conf"
# Set permissions
chown -R 0:78 "${pkgdir}/var/lib/libvirt/qemu"
chmod 0770 "${pkgdir}/var/lib/libvirt/qemu"
chown 0:102 "${pkgdir}/usr/share/polkit-1/rules.d"
chmod 0750 "${pkgdir}/usr/share/polkit-1/rules.d"
# handled by systemd-tmpfiles
rm -rf "${pkgdir}/var/run"
}
libvirt-git.installall_off="$(tput sgr0)"
bold="${all_off}$(tput bold)"
yellow="${bold}$(tput setaf 3)"
blue="${bold}$(tput setaf 4)"
green="${bold}$(tput setaf 2)"
_instruction() {
printf "${yellow}==>${all_off} ${bold}ATENTION:${all_off}
${green}==>${all_off} libvirt runs qemu from ${bold}nobody${all_off}:${bold}kvm${all_off} by default
change the ${bold}USER${all_off} if desired in '${bold}/etc/libvirt/qemu.conf${all_off}'
See '${bold}https://wiki.archlinux.org/index.php/Libvirt${all_off}' for more info.\n"
}
_reminder() {
printf "${yellow}==>${all_off} ${bold}ATENTION:${all_off}
${green}==>${all_off} You may need to run '${bold}rm -rf ~/.libvirt${all_off}'.\n"
}
_libvirt_setup() {
systemd-tmpfiles --create libvirt.conf
systemd-sysusers libvirt.conf
}
post_install() {
_libvirt_setup
_instructions
}
post_upgrade() {
_libvirt_setup
_reminder
}
libvirt-git.sysuserg libvirt - -
libvirt-git.tmpfiled /run/libvirt/qemu 0755 root root -
d /run/libvirt/lxc 0755 root root -
d /run/libvirt/uml 0755 root root -
d /run/libvirt/network 0755 root root -
virt-managerPKGBUILDpkgbase=virt-manager-git
pkgname=('virt-install-git'
'virt-manager-git'
)
pkgver=v1.3.2.0.g450be4a
pkgrel=1
epoch=1
pkgdesc="Console and desktop user interface for managing virtual machines. (GIT Version)"
arch=('any')
url='http://virt-manager.org'
license=('GPL')
makedepends=('intltool'
'libvirt-python'
'libvirt-glib'
'libosinfo'
'libxml2'
'python2-dbus'
'python2-gobject'
'python2-ipaddr'
'python2-requests'
'vte3'
)
source=('git+https://github.com/virt-manager/virt-manager.git')
sha1sums=('SKIP')
pkgver() {
cd virt-manager
echo "$(git describe --long --tags | tr - .)"
}
prepare() {
cd virt-manager
sed 's|sysconfig/|conf.d/|g' -i virtinst/hostkeymap.py
}
build() {
cd virt-manager
python2 setup.py build
}
package_virt-install-git() {
pkgdesc="Console user interface for managing virtual machines. (GIT Version)"
depends=('libvirt-glib'
'libosinfo'
'libxml2'
'python2-dbus'
'python2-gobject'
'python2-ipaddr'
'python2-requests'
)
conflicts=('virt-install')
provides=('virt-install')
cd virt-manager
python2 setup.py --no-update-icon-cache --no-compile-schemas install --root "${pkgdir}"
cd "${pkgdir}"
rm -fr usr/bin/virt-manager
rm -fr usr/share/appdata
rm -fr usr/share/man/man1/virt-manager.1
rm -fr usr/share/icons/
rm -fr usr/share/applications
rm -fr usr/share/GConf/
rm -fr usr/share/glib-2.0
rm -fr usr/share/locale
rm -fr usr/share/virt-manager/icons
rm -fr usr/share/virt-manager/ui
rm -fr usr/share/virt-manager/virt-manager
rm -fr usr/share/virt-manager/virtManager
}
package_virt-manager-git() {
pkgdesc="Desktop user interface for managing virtual machines. (GIT Version)"
depends=('virt-install'
'libvirt-python'
'vte3'
)
optdepends=('gtk-vnc: for VNC connections'
'spice-gtk3: for SPICE connections'
'x11-ssh-askpass: SSH password interface'
)
conflicts=('virt-manager')
provides=('virt-manager')
install=virt-manager-git.install
cd virt-manager
python2 setup.py --no-update-icon-cache --no-compile-schemas install --root "${pkgdir}"
cd "${pkgdir}"
rm -fr usr/bin/virt-clone
rm -fr usr/bin/virt-convert
rm -fr usr/bin/virt-image
rm -fr usr/bin/virt-install
rm -fr usr/bin/virt-xml
rm -fr usr/share/GConf/
rm -fr usr/share/man/man5/virt-image.5
rm -fr usr/share/man/man1/virt-install.1
rm -fr usr/share/man/man1/virt-image.1
rm -fr usr/share/man/man1/virt-convert.1
rm -fr usr/share/man/man1/virt-clone.1
rm -fr usr/share/man/man1/virt-xml.1
rm -fr usr/share/virt-manager/virt-clone
rm -fr usr/share/virt-manager/virt-convert
rm -fr usr/share/virt-manager/virt-image
rm -fr usr/share/virt-manager/virt-install
rm -fr usr/share/virt-manager/virt-xml
rm -fr usr/share/virt-manager/virtcli
rm -fr usr/share/virt-manager/virtconv
rm -fr usr/share/virt-manager/virtinst
}
virt-manager-git.installpost_install() {
update-desktop-database -q
xdg-icon-resource forceupdate --theme hicolor
glib-compile-schemas usr/share/glib-2.0/schemas
}
pre_upgrade() {
pre_remove $1
}
post_upgrade() {
post_install $1
}
pre_remove() {
rm -f /usr/share/virt-manager/virtManager/*.pyc || true
}
post_remove() {
update-desktop-database -q
xdg-icon-resource forceupdate --theme hicolor
glib-compile-schemas usr/share/glib-2.0/schemas
}
└───╼ grep -R sysconfig
dist/up2date.aug: Parses /etc/sysconfig/rhn/up2date
dist/up2date.aug: This lens applies to /etc/sysconfig/rhn/up2date. See <filter>.
dist/up2date.aug:let filter = incl "/etc/sysconfig/rhn/up2date"
dist/iptables.aug:let xfm = transform lns (incl "/etc/sysconfig/iptables"
dist/iptables.aug: . incl "/etc/sysconfig/iptables.save"
dist/sysconfig.aug:(* Supports only what's needed to handle sysconfig files *)
dist/lokkit.aug:let xfm = transform lns (incl "/etc/sysconfig/system-config-firewall")
dist/shellvars_list.aug:(* in /etc/sysconfig, where a string needs to be split into *)
dist/shellvars_list.aug: let filter = incl "/etc/sysconfig/bootloader"
dist/shellvars_list.aug: . incl "/etc/sysconfig/kernel"
dist/sysconfig_route.aug: Parses /etc/sysconfig/network-scripts/route-${device}
dist/sysconfig_route.aug:/etc/sysconfig/network-scripts/route-${device} script found in RHEL5+, CentOS5+
dist/sysconfig_route.aug: > set /files/etc/sysconfig/network-scripts/route-eth0/10.10.2.1[1] 172.16.254.0/24
dist/sysconfig_route.aug: > match /files/etc/sysconfig/network-scripts/route-eth0/10.10.2.1
dist/sysconfig_route.aug: This lens applies to /etc/sysconfig/network-scripts/route-*
dist/sysconfig_route.aug:let filter = incl "/etc/sysconfig/network-scripts/route-*"
dist/tests/test_sysconfig.aug:(* Test for sysconfig lens *)
dist/tests/test_sysconfig.aug:module Test_sysconfig =
dist/tests/test_up2date.aug:systemIdPath=/etc/sysconfig/rhn/systemid
dist/tests/test_up2date.aug: { "value" = "/etc/sysconfig/rhn/systemid" } }
dist/tests/test_sysconfig_route.aug:module Test_sysconfig_route =
dist/shellvars.aug: in /etc/sysconfig
dist/shellvars.aug: let sc_incl (n:string) = (incl ("/etc/sysconfig/" . n))
dist/shellvars.aug: let sc_excl (n:string) = (excl ("/etc/sysconfig/" . n))
dist/shellvars.aug: let filter_sysconfig =
dist/shellvars.aug: let filter = filter_sysconfig
dist/dhcpd.aug:(* adapted from sysconfig.aug *)
dist/systemd.aug: . incl "/etc/sysconfig/*.systemd"
sL1pKn07 escribió:pasame los datos que has puesto en esa pantalla. para intentar reproducir lo que has hecho
EDIT: creo que ya he visto el fallo, pero creo que se tardará en arreglar por que interviene un tercero (paquete augeas), y no se si se romperá algo mas en el intento└───╼ grep -R sysconfig
dist/up2date.aug: Parses /etc/sysconfig/rhn/up2date
dist/up2date.aug: This lens applies to /etc/sysconfig/rhn/up2date. See <filter>.
dist/up2date.aug:let filter = incl "/etc/sysconfig/rhn/up2date"
dist/iptables.aug:let xfm = transform lns (incl "/etc/sysconfig/iptables"
dist/iptables.aug: . incl "/etc/sysconfig/iptables.save"
dist/sysconfig.aug:(* Supports only what's needed to handle sysconfig files *)
dist/lokkit.aug:let xfm = transform lns (incl "/etc/sysconfig/system-config-firewall")
dist/shellvars_list.aug:(* in /etc/sysconfig, where a string needs to be split into *)
dist/shellvars_list.aug: let filter = incl "/etc/sysconfig/bootloader"
dist/shellvars_list.aug: . incl "/etc/sysconfig/kernel"
dist/sysconfig_route.aug: Parses /etc/sysconfig/network-scripts/route-${device}
dist/sysconfig_route.aug:/etc/sysconfig/network-scripts/route-${device} script found in RHEL5+, CentOS5+
dist/sysconfig_route.aug: > set /files/etc/sysconfig/network-scripts/route-eth0/10.10.2.1[1] 172.16.254.0/24
dist/sysconfig_route.aug: > match /files/etc/sysconfig/network-scripts/route-eth0/10.10.2.1
dist/sysconfig_route.aug: This lens applies to /etc/sysconfig/network-scripts/route-*
dist/sysconfig_route.aug:let filter = incl "/etc/sysconfig/network-scripts/route-*"
dist/tests/test_sysconfig.aug:(* Test for sysconfig lens *)
dist/tests/test_sysconfig.aug:module Test_sysconfig =
dist/tests/test_up2date.aug:systemIdPath=/etc/sysconfig/rhn/systemid
dist/tests/test_up2date.aug: { "value" = "/etc/sysconfig/rhn/systemid" } }
dist/tests/test_sysconfig_route.aug:module Test_sysconfig_route =
dist/shellvars.aug: in /etc/sysconfig
dist/shellvars.aug: let sc_incl (n:string) = (incl ("/etc/sysconfig/" . n))
dist/shellvars.aug: let sc_excl (n:string) = (excl ("/etc/sysconfig/" . n))
dist/shellvars.aug: let filter_sysconfig =
dist/shellvars.aug: let filter = filter_sysconfig
dist/dhcpd.aug:(* adapted from sysconfig.aug *)
dist/systemd.aug: . incl "/etc/sysconfig/*.systemd"
EDIT2: por lo poco que he podido entender, lo mismo que estas haciendo ahí se puede hacer a través de netctl, y si no te funciona, tampoco lo vas a conseguir ahí
a que te refieres con lo de "no resulta"?
sL1pKn07 escribió:intenta el directorio /etc/sysconfig/network-scripts a mano
aun asi, he abierto bug en arch
https://bugs.archlinux.org/task/47565
aunque no se yo...
usbhid.quirks=0x1B1C:0x1B12:0x20000000
[[ 3.936290] ata2.00: READ LOG DMA EXT failed, trying unqueued
[ 3.936330] ata2.00: failed to get NCQ Send/Recv Log Emask 0x1
[ 3.936332] ata2.00: ATA-9: Samsung SSD 840 PRO Series, DXM06B0Q, max UDMA/133
[ 3.936334] ata2.00: 250069680 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[ 3.936550] ata2.00: failed to get NCQ Send/Recv Log Emask 0x1
[ 3.936554] ata2.00: configured for UDMA/133
journalctl -b -p err
-- Logs begin at sáb 2016-01-02 15:16:43 CET, end at mié 2016-01-06 21:06:48 CET. --
ene 06 20:57:56 Gladiator kernel: Ignoring BGRT: invalid status 0 (expected 1)
ene 06 20:57:56 Gladiator kernel: radeon 0000:01:00.0: Invalid ROM contents
ene 06 20:57:57 Gladiator kernel: BTRFS: could not find root 8
ene 06 20:57:57 Gladiator kernel: BTRFS: could not find root 8
ene 06 20:58:00 Gladiator akonadiserver[883]: Cannot pause an inactive timer
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 380
Current serial number in output stream: 384
make[1]: Entering directory '/home/mrc/src/pamac-2.4.3/src'
valac -o pamac-refresh \
-X -w \
--pkg=gio-2.0 \
pamac_config.vala \
refresh.vala
valac -o pamac-daemon \
-X -w --pkg=libalpm --pkg=gio-2.0 --vapidir=../vapi --Xcc=-I../util -X -D_FILE_OFFSET_BITS=64 -X -DGETTEXT_PACKAGE="pamac" --target-glib=2.38 \
--pkg=posix \
--pkg=json-glib-1.0 \
--pkg=libsoup-2.4 \
--pkg=polkit-gobject-1 \
--thread \
../util/alpm-util.c common.vala pamac_config.vala package.vala \
mirrors_config.vala \
alpm_config.vala \
aur.vala \
alpm_utils.vala \
daemon.vala
/home/mrc/src/pamac-2.4.3/src/alpm_config.vala.c: In function ‘alpm_config_define_siglevel’:
/home/mrc/src/pamac-2.4.3/src/alpm_config.vala.c:2115:33: error: ‘ALPM_SIG_PACKAGE_SET’ undeclared (first use in this function)
default_level = _tmp12_ | ALPM_SIG_PACKAGE_SET;
^
/home/mrc/src/pamac-2.4.3/src/alpm_config.vala.c:2115:33: note: each undeclared identifier is reported only once for each function it appears in
/home/mrc/src/pamac-2.4.3/src/alpm_config.vala.c:2199:36: error: ‘ALPM_SIG_PACKAGE_TRUST_SET’ undeclared (first use in this function)
default_level = _tmp38_ | ALPM_SIG_PACKAGE_TRUST_SET;
^
/home/mrc/src/pamac-2.4.3/src/alpm_config.vala.c: In function ‘alpm_config_merge_siglevel’:
/home/mrc/src/pamac-2.4.3/src/alpm_config.vala.c:2273:17: error: ‘ALPM_SIG_PACKAGE_SET’ undeclared (first use in this function)
if ((_tmp1_ & ALPM_SIG_PACKAGE_SET) == 0) {
^
/home/mrc/src/pamac-2.4.3/src/alpm_config.vala.c:2286:17: error: ‘ALPM_SIG_PACKAGE_TRUST_SET’ undeclared (first use in this function)
if ((_tmp6_ & ALPM_SIG_PACKAGE_TRUST_SET) == 0) {
^
/home/mrc/src/pamac-2.4.3/src/daemon.vala.c: In function ‘cb_event’:
/home/mrc/src/pamac-2.4.3/src/daemon.vala.c:11973:8: error: ‘ALPM_EVENT_PACORIG_CREATED’ undeclared (first use in this function)
case ALPM_EVENT_PACORIG_CREATED:
^
/home/mrc/src/pamac-2.4.3/src/daemon.vala.c:11973:8: note: each undeclared identifier is reported only once for each function it appears in
/home/mrc/src/pamac-2.4.3/src/daemon.vala.c:11983:23: error: ‘alpm_event_t {aka union _alpm_event_t}’ has no member named ‘pacorig_created’
_tmp181_ = _tmp180_->pacorig_created.file;
^
error: cc exited with status 256
Compilation failed: 1 error(s), 0 warning(s)
#!/bin/bash
[[ $(id -u) != "0" ]] && echo "debes ser root..." && exit
TBOOST=$(cat /sys/devices/system/cpu/intel_pstate/no_turbo)
MODELO=$(awk 'BEGIN{FS=":"} /model name/ { print $2; exit }' /proc/cpuinfo | sed 's/ @/\n/' | head -1)
GOVERNOR="/sys/devices/system/cpu/cpu[0-9]"
while [ ${exit:-n} != "y" ]; do
echo -e "\nModelo CPU :" $MODELO
[[ $TBOOST = 1 ]] && echo -e "\nTurbo Boost : Apagado" || echo -e "\nTurbo Boost : Encendido"
echo -e "\nEstado Actual Governor por Core :\n"
cat $GOVERNOR/cpufreq/scaling_governor
echo -e '\n*************************
1-Cambiar a Modo Performance
2-Cambiar a Modo Powersave
3-Desactivar Turbo Boost
4-Activar Turbo Boost
5-Salir
*************************\n'
read -p "Ingresar opcion: " op
case $op in
1)
for cpu in $GOVERNOR; do
echo "Cambiado a modo performance: ${cpu##*/}"
echo performance > $cpu/cpufreq/scaling_governor
done
read -p "presione enter para continuar.." && clear
;;
2)
for cpu in $GOVERNOR; do
echo "Cambiando a powersave: ${cpu##*/}"
echo powersave > $cpu/cpufreq/scaling_governor
done
read -p "presione enter para continuar.." && clear
;;
3)
echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo
read -p "presione enter para continuar.." && clear
;;
4)
echo 0 > /sys/devices/system/cpu/intel_pstate/no_turbo
read -p "presione enter para continuar.." && clear
;;
5) read -p "salir? y/n " exit;;
*)echo -e "\e[31mopcion no valida ingresa una opcion valida\e[0m"
esac
done
pacman -Syu --ignore=sdlmame 2> /dev/null
nu_kru escribió:en el fichero de configuracón /etc/pacman.conf, puedes ignorar los paquetes que quieras para las actualizaciones. https://wiki.archlinux.org/index.php/Pa ... g_upgraded
Eso si, juraría que seguirá apareciendo la advertencia al actualizar, que por otra parte me parece normal.
snock escribió:Desde siempre use kde ahora con el cambio a plasma , como que no me gusta ....
JanKusanagi escribió:snock escribió:Desde siempre use kde ahora con el cambio a plasma , como que no me gusta ....
Pues salvo porque el look predefinido es bastante diferente, no veo que es lo que no te gusta. Es muy facil dejar Plasma 5 casi igual que era Plasma 4 (la v4.x _ya_ era Plasma, "KDE" se llamaba el entorno en la v3.x).
Personalmente, lo tengo en un par de maquinas y en ambas lo deje basicamente igual que cuando era Plasma 4, facil y rapidamente. Y mas bien 0 problemas, con considerables mejoras respecto a Plama 4.
Shiima escribió:Gracias, he podido reinstalar el virtualbox-guest-utils y ya llego al escritorio pero me siguen sin funcionar las guest-additions, por lo que he buscado la única solución es volver a un kernel anterior ya que parece que el paquete de las guest-additions no esta actualizado y no funciona con el ultimo o vete a saber, no estoy al día en estas cosas.
snock escribió:Hay alguna manera de poder copiar datos en android por mtp ?¿ Mi tablet samsung solo tiene este protocolo . Falla mas que funciona cuando copio archivos .
snock escribió:Que si ... que vale . Estoy de acuerdo con vosotros. De echo lo tenia como si fuera kde 4.x , tal vez era hora de probar algo nuevo. Al menos personalmente a mi no me ha gustado como esta ahora plasma 5.
Por ahora gnome-shell desde que lo probe hace años ha cambiado mucho y para bien.
juanmahl9 escribió:Se puede instalar junto a w10 uefi, o PETA el arranque entero?
coyote escribió:He instalado Arch muchas veces en un eeepc con xfce pero esta ocasión no me automonta los pen usb, ¿se me escapa algo?.
Zokormazo escribió:Alguno teneis dualboot sobre una tablet? Hay grub o algo con soporte tactil? xD
yandrot escribió:Buenas a todos,
ando con un problema extraño desde la última actualización y, lo que es peor, no sé como buscar info sobre él. Así que pregunto por aquí a ver si me podéis echar una mano.
Esencialmente, desde la última actualización, y unos minutos después de logearme en gdm, se me va a la primera consola virtual el solito, obligándome a pulsar ctr+alt+f2 para volver a la sesión gráfica. Como fue tras la última actualización a gnome 3.20, sospeché que fuera eso, pero también me pasa con otros entornos (lxde y xfce). Lo que no he probado ha sido cambiar gdm, que me parece que ya dió algún problema.
¿Algún consejo? Perdonar si no doy mucha info (tampoco sé que info podría dar al respecto) o si estoy denominando mal algunas cosas, pero es que realmente ando MUY perdido.