You are not logged in.
xanb wrote:Great: your logrotate cron job is awesome. Thanks for sharing it with us.
On the other hand, tell me "paranoid" ;-) but I want to sign my packages. What is the keys used in [openrc-eudev] packages?
Cron job repo is by x33a.
Package signing was removed, because of two reasons: 1. there are two maintainers now, 2. signed package seem to cause more errors than unsigned ones.
If you are concerned about security you could build it yourself, source is available as I have mentioned before.
What is `x33a`?
Please consider to sign packages. If there are two maintainers, then two signatures. What is the problem here?
Signed packages avoid man in the middle attacks.
Last edited by xanb (2015-06-22 17:35:50)
Owning one OpenRC (artoo way) and other three systemd machines
Offline
What is `x33a`?
Me is x33a.
I have added a pkgstats cron job to the repo using https://projects.archlinux.org/svntogit … 9e33e170c7
You can find it here: https://github.com/notfoss/archlinux-cr … r/pkgstats
It also has the option set to run as the nobody user. Try it out and see if it works.
Offline
xanb wrote:What is `x33a`?
Me is x33a.
I have added a pkgstats cron job to the repo using https://projects.archlinux.org/svntogit … 9e33e170c7
You can find it here: https://github.com/notfoss/archlinux-cr … r/pkgstats
It also has the option set to run as the nobody user. Try it out and see if it works.
Thanks
Owning one OpenRC (artoo way) and other three systemd machines
Offline
I have problems upgrading packages. When I run
pacman -Syu
, then I get:
libgudev and eudev-systemdcompat are in conflict (libsystemd). Remove eudev-systemdcompat [y/N] y
openrc-core and eudev-openrc are in conflict. Remove eudev-openrc [y/N] y
libgudev and eudev are in conflict (libgudev-1.0.so). Remove eudev [y/N] y
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: chromium: requires systemd
:: colord: requires systemd
:: libgudev: requires libsystemd
:: udisks2: requires systemd
:: lib32-systemd: requires systemd
:: openrc-core: requires udev>=186
:: consolekit: requires udev
:: cups: requires systemd
:: device-mapper: requires systemd
:: libatasmart: requires libsystemd
:: libgusb: requires udev
:: liblogging: requires systemd
:: libpulse: requires systemd
:: libusb: requires systemd
:: lvm2: requires systemd
:: mesa: requires systemd
:: mkinitcpio: requires systemd
:: pcmciautils: requires systemd
:: pkgstats: requires systemd
:: procps-ng: requires libsystemd
:: rpcbind: requires libsystemd
:: rsyslog: requires systemd
:: rtkit: requires systemd
:: upower-pm-utils: requires eudev-systemdcompat
:: util-linux: requires libsystemd
:: xf86-input-evdev: requires systemd
What can I do?
Thanks,
Owning one OpenRC (artoo way) and other three systemd machines
Offline
First conflict is false positive. Update libgudev alone, then the rest of the system. Second conflict should be answered yes.
Offline
@bstaletic: Same results. No installation possible
Owning one OpenRC (artoo way) and other three systemd machines
Offline
What's the output of "pacman -Su --asdeps libgudev"? What's the version of eudev and eudev-systemd-compat?
You can always recompile everything without systemd support, as I have done. There's a catch with this approach. Xorg-server, mpd and mpv will link against libsystemd if it is present. The solution is to recompile those packages without (lib)systemd listed as a dependancy, uninstall eudev-systemdcompat and finally recompile them again.
P.S. Hello from Arch without any traces of systemd.
Offline
What's the output of "pacman -Su --asdeps libgudev"? What's the version of eudev and eudev-systemd-compat?
You can always recompile everything without systemd support, as I have done. There's a catch with this approach. Xorg-server, mpd and mpv will link against libsystemd if it is present. The solution is to recompile those packages without (lib)systemd listed as a dependancy, uninstall eudev-systemdcompat and finally recompile them again.
P.S. Hello from Arch without any traces of systemd.
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
openrc-eudev is up to date
resolving dependencies...
looking for conflicting packages...
:: libgudev: requires libsystemd
:: chromium: requires systemd
:: colord: requires systemd
:: consolekit: requires udev
:: cups: requires systemd
:: device-mapper: requires systemd
:: eudev-openrc: requires eudev
:: gvfs-gphoto2: requires udev
:: lib32-systemd: requires systemd
:: libatasmart: requires libsystemd
:: libgusb: requires udev
:: liblogging: requires systemd
:: libnm-glib: requires libsystemd
:: libpulse: requires systemd
:: libusb: requires systemd
:: lvm2: requires systemd
:: mesa: requires systemd
:: mkinitcpio: requires systemd
:: openrc-core: requires udev>=186
:: pcmciautils: requires systemd
:: pkgstats: requires systemd
:: procps-ng: requires libsystemd
:: rpcbind: requires libsystemd
:: rsyslog: requires systemd
:: rtkit: requires systemd
:: thunar: requires udev
:: udisks2: requires systemd
:: upower-pm-utils: requires eudev-systemdcompat
:: util-linux: requires libsystemd
:: xf86-input-evdev: requires systemd
error: failed to prepare transactions (could not satisfy dependencies)
Folk, can I do in easy way?
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Hi,
I updated the openrc-eudev repo.
@xanb, maybe you could give it a go again. You could it try like:
# pacman -Syu libgudev
Offline
Hi,
I updated the openrc-eudev repo.
@xanb, maybe you could give it a go again. You could it try like:
# pacman -Syu libgudev
@Aaditya: yes, it worked the upgrade, thanks. But the wifi ("wlan0 does not exist") and mouse in X11 don't work. I had to downgrade openrc-core (0.16.4-3 -> 0.16.4-1) and reinstall eudev-openrc (20150507-1).
I attached pacman.log:
[2015-06-26 20:33] [PACMAN] starting full system upgrade
[2015-06-26 20:38] [ALPM] transaction started
[2015-06-26 20:38] [ALPM-SCRIPTLET] * service udev-postmount removed from runlevel default
[2015-06-26 20:38] [ALPM] removed eudev-openrc (20150507-1)
[2015-06-26 20:38] [ALPM] upgraded libtirpc (0.3.1-1 -> 0.3.2-2)
[2015-06-26 20:38] [ALPM] upgraded eudev (3.1.1-1 -> 3.1.2-4)
[2015-06-26 20:38] [ALPM] upgraded eudev-systemdcompat (220-1 -> 221-2)
[2015-06-26 20:38] [ALPM] installed libgudev (230-1)
[2015-06-26 20:38] [ALPM] upgraded ca-certificates-mozilla (3.19.1-1 -> 3.19.2-1)
[2015-06-26 20:38] [ALPM] upgraded nss (3.19.1-1 -> 3.19.2-1)
[2015-06-26 20:38] [ALPM] upgraded freetype2 (2.5.5-1 -> 2.6-1)
[2015-06-26 20:38] [ALPM] upgraded chromium (43.0.2357.125-2 -> 43.0.2357.130-1)
[2015-06-26 20:38] [ALPM] upgraded colord (1.2.9-2 -> 1.2.9-3)
[2015-06-26 20:38] [ALPM] upgraded dosfstools (3.0.27-1 -> 3.0.28-1)
[2015-06-26 20:38] [ALPM] upgraded ptlib (2.10.11-1 -> 2.10.11-2)
[2015-06-26 20:38] [ALPM] upgraded speexdsp (1.2rc3-1 -> 1.2rc3-2)
[2015-06-26 20:38] [ALPM] upgraded opal (3.10.11-6 -> 3.10.11-7)
[2015-06-26 20:38] [ALPM-SCRIPTLET]
[2015-06-26 20:38] [ALPM-SCRIPTLET] (gconftool-2:2467): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
[2015-06-26 20:38] [ALPM-SCRIPTLET] Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[2015-06-26 20:38] [ALPM] upgraded ekiga (4.0.1-12 -> 4.0.1-13)
[2015-06-26 20:38] [ALPM-SCRIPTLET]
[2015-06-26 20:38] [ALPM-SCRIPTLET] (gconftool-2:2472): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
[2015-06-26 20:38] [ALPM-SCRIPTLET] Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[2015-06-26 20:38] [ALPM] upgraded file (5.22-1 -> 5.23-2)
[2015-06-26 20:38] [ALPM] upgraded gimp (2.8.14-2 -> 2.8.14-3)
[2015-06-26 20:38] [ALPM] upgraded gst-plugins-bad (1.4.5-2 -> 1.4.5-4)
[2015-06-26 20:38] [ALPM] upgraded gst-plugins-good (1.4.5-2 -> 1.4.5-3)
[2015-06-26 20:38] [ALPM] upgraded gstreamer0.10-good (0.10.31-6 -> 0.10.31-8)
[2015-06-26 20:38] [ALPM-SCRIPTLET]
[2015-06-26 20:38] [ALPM-SCRIPTLET] (gconftool-2:2481): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
[2015-06-26 20:38] [ALPM-SCRIPTLET] Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[2015-06-26 20:38] [ALPM] upgraded gstreamer0.10-good-plugins (0.10.31-6 -> 0.10.31-8)
[2015-06-26 20:38] [ALPM-SCRIPTLET]
[2015-06-26 20:38] [ALPM-SCRIPTLET] (gconftool-2:2486): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
[2015-06-26 20:38] [ALPM-SCRIPTLET] Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[2015-06-26 20:38] [ALPM] upgraded udisks2 (2.1.5-1 -> 2.1.5-2)
[2015-06-26 20:38] [ALPM] upgraded gvfs (1.24.1-1 -> 1.24.1-2)
[2015-06-26 20:38] [ALPM] upgraded gvfs-afc (1.24.1-1 -> 1.24.1-2)
[2015-06-26 20:38] [ALPM] upgraded gvfs-gphoto2 (1.24.1-1 -> 1.24.1-2)
[2015-06-26 20:38] [ALPM] upgraded gvfs-mtp (1.24.1-1 -> 1.24.1-2)
[2015-06-26 20:38] [ALPM] upgraded lib32-systemd (219-1 -> 221-1)
[2015-06-26 20:38] [ALPM] upgraded libetonyek (0.1.2-1 -> 0.1.3-1)
[2015-06-26 20:38] [ALPM] upgraded libevdev (1.4.2-1 -> 1.4.3-1)
[2015-06-26 20:38] [ALPM] upgraded libmm-glib (1.4.8-1 -> 1.4.8-2)
[2015-06-26 20:38] [ALPM] upgraded libnm-glib (1.0.2-3 -> 1.0.2-4)
[2015-06-26 20:38] [ALPM] upgraded linux (4.0.5-1 -> 4.0.6-1)
[2015-06-26 20:38] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2015-06-26 20:39] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Starting build: 4.0.6-1-ARCH
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Image generation successful
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Starting build: 4.0.6-1-ARCH
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Image generation successful
[2015-06-26 20:39] [ALPM] upgraded linux-grsec (4.0.5.201506171322-1 -> 4.0.6.201506232104-1)
[2015-06-26 20:39] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2015-06-26 20:39] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-grsec.preset: 'default'
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux-grsec -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-grsec.img
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Starting build: 4.0.6.201506232104-1-grsec
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-grsec.img
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Image generation successful
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-grsec.preset: 'fallback'
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux-grsec -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-grsec-fallback.img -S autodetect
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Starting build: 4.0.6.201506232104-1-grsec
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-grsec-fallback.img
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Image generation successful
[2015-06-26 20:39] [ALPM] upgraded linux-grsec-docs (4.0.5.201506171322-1 -> 4.0.6.201506232104-1)
[2015-06-26 20:39] [ALPM] upgraded linux-lts (3.14.44-1 -> 3.14.45-1)
[2015-06-26 20:39] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2015-06-26 20:39] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Starting build: 3.14.45-1-lts
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts.img
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Image generation successful
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> Starting build: 3.14.45-1-lts
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2015-06-26 20:39] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2015-06-26 20:39] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2015-06-26 20:40] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2015-06-26 20:40] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2015-06-26 20:40] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2015-06-26 20:40] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2015-06-26 20:40] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
[2015-06-26 20:40] [ALPM-SCRIPTLET] ==> Image generation successful
[2015-06-26 20:40] [ALPM] upgraded linux-lts-docs (3.14.44-1 -> 3.14.45-1)
[2015-06-26 20:40] [ALPM] upgraded linux-lts-headers (3.14.44-1 -> 3.14.45-1)
[2015-06-26 20:40] [ALPM] upgraded openrc-core (0.16.4-1 -> 0.16.4-3)
[2015-06-26 20:40] [ALPM-SCRIPTLET] ==> Set up your network interface before you reboot.
[2015-06-26 20:40] [ALPM-SCRIPTLET] ==> Visit https://wiki.gentoo.org/wiki/Handbook:X86/Full/Networking
[2015-06-26 20:40] [ALPM] upgraded perl-uri (1.67-1 -> 1.68-1)
[2015-06-26 20:40] [ALPM] upgraded python2-setuptools (1:17.1.1-1 -> 1:18.0.1-1)
[2015-06-26 20:40] [ALPM] upgraded thunar (1.6.10-1 -> 1.6.10-2)
[2015-06-26 20:40] [ALPM] upgraded xf86-video-intel (2.99.917-5 -> 1:2.99.917+364+gb24e758-1)
[2015-06-26 20:40] [ALPM] upgraded xfburn (0.5.4-1 -> 0.5.4-2)
[2015-06-26 20:40] [ALPM] upgraded xfce4-cpufreq-plugin (1.1.1-2 -> 1.1.2-1)
[2015-06-26 20:40] [ALPM] upgraded xfce4-notes-plugin (1.8.0-1 -> 1.8.1-1)
[2015-06-26 20:40] [ALPM] upgraded xfce4-weather-plugin (0.8.5-2 -> 0.8.6-1)
[2015-06-26 20:40] [ALPM] transaction completed
[2015-06-26 20:45] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/libevdev-1.4.2-1-x86_64.pkg.tar.xz'
[2015-06-26 20:45] [ALPM] transaction started
[2015-06-26 20:45] [ALPM] downgraded libevdev (1.4.3-1 -> 1.4.2-1)
[2015-06-26 20:45] [ALPM] transaction completed
[2015-06-26 20:46] [PACMAN] Running 'pacman -Syu'
[2015-06-26 20:46] [PACMAN] synchronizing package lists
[2015-06-26 20:46] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/libevdev-1.4.3-1-x86_64.pkg.tar.xz'
[2015-06-26 20:46] [ALPM] transaction started
[2015-06-26 20:46] [ALPM] upgraded libevdev (1.4.2-1 -> 1.4.3-1)
[2015-06-26 20:46] [ALPM] transaction completed
[2015-06-26 20:46] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/eudev-openrc-20150604-1-any.pkg.tar.xz'
[2015-06-26 20:50] [PACMAN] Running 'pacman -U eudev-openrc-20150507-1-any.pkg.tar.xz'
[2015-06-26 20:51] [PACMAN] Running 'pacman -U eudev-openrc-20150507-1-any.pkg.tar.xz openrc-core-0.16.4-1-x86_64.pkg.tar.xz'
[2015-06-26 20:51] [ALPM] transaction started
[2015-06-26 20:51] [ALPM] downgraded openrc-core (0.16.4-3 -> 0.16.4-1)
[2015-06-26 20:51] [ALPM-SCRIPTLET] ==> Set up your network interface before you reboot.
[2015-06-26 20:51] [ALPM-SCRIPTLET] ==> Visit http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4
[2015-06-26 20:51] [ALPM] installed eudev-openrc (20150507-1)
[2015-06-26 20:51] [ALPM-SCRIPTLET] * service udev-postmount added to runlevel default
[2015-06-26 20:51] [ALPM] transaction completed
[xan@argonia ~]$
Perhaps it's a bug.
Owning one OpenRC (artoo way) and other three systemd machines
Offline
@Aaditya: yes, it worked the upgrade, thanks. But the wifi ("wlan0 does not exist") and mouse in X11 don't work. I had to downgrade openrc-core (0.16.4-3 -> 0.16.4-1) and reinstall eudev-openrc (20150507-1).
Perhaps it's a bug.
You seem to post incomplete information. What application says wlan0 not found? Have you tried ifconfig or ip addr to see if your network device has been renamed? What kind of mouse is it? What do the Xorg logs say? What does lsusb say?
Offline
xanb wrote:@Aaditya: yes, it worked the upgrade, thanks. But the wifi ("wlan0 does not exist") and mouse in X11 don't work. I had to downgrade openrc-core (0.16.4-3 -> 0.16.4-1) and reinstall eudev-openrc (20150507-1).
Perhaps it's a bug.
You seem to post incomplete information. What application says wlan0 not found? Have you tried ifconfig or ip addr to see if your network device has been renamed? What kind of mouse is it? What do the Xorg logs say? What does lsusb say?
I don't know. I received this in rc.log:
rc default logging started at Fri Jun 26 20:49:03 2015
* Checking rsyslogd's configuration ...
[ ok ]
* Starting rsyslog ...
[ ok ]
* Starting acpid ...
[ ok ]
* Starting D-BUS system messagebus ...
[ ok ]
* Starting ConsoleKit daemon ...
[ ok ]
* Starting ufw ...
[ ok ]
wlan0-314159_RPI_EXT
wlan0-314159
wlan0-IESDAMIAHUGUET
wlan0-314159_RPI
wlan0-314159-estatica
Successfully initialized wpa_supplicant
Could not read interface wlan0 flags: No such device
nl80211: Driver does not support authentication/association or connect commands
Could not read interface wlan0 flags: No such device
Could not read interface wlan0 flags: No such device
WEXT: Could not set interface 'wlan0' UP
wlan0: Failed to initialize driver interface
* ERROR: net-auto-wireless failed to start
* ERROR: cannot start netmount as net-auto-wireless would not start
* Setting up lxdm-binary ...
[ ok ]
* Restoring Mixer Levels ...
sed: can't read /proc/asound/cards: No such file or directory
[ ok ]
* Starting cronie ...
[ ok ]
* Starting avahi-daemon ...
[ ok ]
* Starting cupsd ...
[ ok ]
* Starting ntpd ...
[ ok ]
* Starting local ...
[ ok ]
rc default logging stopped at Fri Jun 26 20:49:06 2015
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Your interface probably got renamed. You can confirm that with "ip a", or "ifconfig".
Offline
Your interface probably got renamed. You can confirm that with "ip a", or "ifconfig".
It's not the case.
ifconfig -a
gave me just
lo
interface.
Owning one OpenRC (artoo way) and other three systemd machines
Offline
As a sanity check, let's see if your kernel can find its modules.
What are the output of:
uname -a
and of
pacman -Qi linux
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Online
As a sanity check, let's see if your kernel can find its modules.
What are the output of:
uname -a
and of
pacman -Qi linux
Here it's:
[xan@argonia ~]$ uname -a
Linux argonia 4.0.6-1-ARCH #1 SMP PREEMPT Tue Jun 23 14:25:08 CEST 2015 x86_64 GNU/Linux
[xan@argonia ~]$ pacman -Qi linux
Nom : linux
Versió : 4.0.6-1
Descripció : The Linux kernel and modules
Arquitectura : x86_64
URL : http://www.kernel.org/
Llicències : GPL2
Grups : base
Proporciona : kernel26=4.0.6
Depen de : coreutils linux-firmware kmod mkinitcpio>=0.7
Dep opcionals : crda: to set the correct wireless channels of your country
Requerit per : Cap
Opcional per : Cap
Conflictes amb : kernel26
Substitueix : kernel26
Mida de la instal·lació: 73,08 MiB
Empaquetador : Tobias Powalowski <tpowa@archlinux.org>
Data de constr.: dt 23 jun 2015 14:26:26 CEST
Data instal. : dv 26 jun 2015 20:38:58 CEST
Raó instal. : Instal·lat explícitament
Script instal. : Sí
Validat per: Suma SHA256
[xan@argonia ~]$
I hope this serves...
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Another topic:
[root@serviedre ~]# pacman -S nginx-openrc
resolving dependencies...
looking for conflicting packages...
Package (1) New Version Net Change Download Size
openrc-eudev/nginx-openrc 20150613-1 0.01 MiB 0.00 MiB
Total Download Size: 0.00 MiB
Total Installed Size: 0.01 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages ...
nginx-openrc-20150613-1-any 1996.0 B 0.00B/s 00:00 [##############################################] 100%
(1/1) checking keys in keyring [##############################################] 100%
(1/1) checking package integrity [##############################################] 100%
(1/1) loading package files [##############################################] 100%
(1/1) checking for file conflicts [##############################################] 100%
(1/1) checking available disk space [##############################################] 100%
(1/1) installing nginx-openrc [##############################################] 100%
==> run 'rc-update add ngix default'
Obviusly, it's a typo: nginx
Owning one OpenRC (artoo way) and other three systemd machines
Offline
And another topic: how can I modify nginx-openrc for running nginx in a Jail, like systemd does:
/etc/systemd/system/nginx.service
[Unit]
Description=A high performance web server and a reverse proxy server
After=syslog.target network.target
[Service]
Type=forking
PIDFile=/srv/http/run/nginx.pid
ExecStartPre=/usr/bin/chroot --userspec=http:http /srv/http /usr/bin/nginx -t -q -g 'pid /run/nginx.pid; daemon on; master_process on;'
ExecStart=/usr/bin/chroot --userspec=http:http /srv/http /usr/bin/nginx -g 'pid /run/nginx.pid; daemon on; master_process on;'
ExecReload=/usr/bin/chroot --userspec=http:http /srv/http /usr/bin/nginx -g 'pid /run/nginx.pid; daemon on; master_process on;' -s reload
ExecStop=/usr/bin/chroot --userspec=http:http /srv/http /usr/bin/nginx -g 'pid /run/nginx.pid;' -s quit
[Install]
WantedBy=multi-user.target
Now the nginx-openrc has essentially /etc/init.d/nginx file which is:
[root@serviedre ~]# pacman -Ql nginx-openrc
nginx-openrc /etc/
nginx-openrc /etc/init.d/
nginx-openrc /etc/init.d/nginx
[root@serviedre ~]# vim /etc/init.d/nginx
[root@serviedre ~]# cat /etc/init.d/nginx
#!/usr/bin/openrc-run
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/files/nginx.initd-r2,v 1.1 2013/05/13 12:18:11 dev-zero Exp $
extra_commands="configtest"
extra_started_commands="upgrade reload"
description="Robust, small and high performance http and reverse proxy server"
description_configtest="Run nginx' internal config check."
description_upgrade="Upgrade the nginx binary without losing connections."
description_reload="Reload the nginx configuration without losing connections."
nginx_config=${nginx_config:-/etc/nginx/nginx.conf}
command="/usr/bin/nginx"
command_args="-c ${nginx_config}"
pidfile=${pidfile:-/run/nginx.pid}
user=${user:-nginx}
group=${group:-nginx}
depend() {
need net
use dns logger netmount
}
start_pre() {
if [ "${RC_CMD}" != "restart" ]; then
configtest || return 1
fi
}
stop_pre() {
if [ "${RC_CMD}" = "restart" ]; then
configtest || return 1
fi
}
stop_post() {
rm -f ${pidfile}
}
reload() {
configtest || return 1
ebegin "Refreshing nginx' configuration"
kill -HUP `cat ${pidfile}` &>/dev/null
eend $? "Failed to reload nginx"
}
upgrade() {
configtest || return 1
ebegin "Upgrading nginx"
einfo "Sending USR2 to old binary"
kill -USR2 `cat ${pidfile}` &>/dev/null
einfo "Sleeping 3 seconds before pid-files checking"
sleep 3
if [ ! -f ${pidfile}.oldbin ]; then
eerror "File with old pid not found"
return 1
fi
if [ ! -f ${pidfile} ]; then
eerror "New binary failed to start"
return 1
fi
einfo "Sleeping 3 seconds before WINCH"
sleep 3 ; kill -WINCH `cat ${pidfile}.oldbin`
einfo "Sending QUIT to old binary"
kill -QUIT `cat ${pidfile}.oldbin`
einfo "Upgrade completed"
eend $? "Upgrade failed"
}
configtest() {
ebegin "Checking nginx' configuration"
${command} -c ${nginx_config} -t -q
if [ $? -ne 0 ]; then
${command} -c ${nginx_config} -t
fi
eend $? "failed, please correct errors above"
}
[root@serviedre ~]#
There is no info in Official doc
Thank you very much,
Last edited by xanb (2015-06-27 17:51:47)
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Any progress on my possible bug?
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Just for soundness: the openrc of nginx with chroot could be this:
[root@serviedre xan]# cat /etc/init.d/nginx-chroot
#!/usr/bin/openrc-run
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/files/nginx.initd-r2,v 1.1 2013/05/13 12:18:11 dev-zero Exp $
# Canviat per mi per a fer un chroot, basant-me en https://wiki.archlinux.org/index.php?title=Nginx&oldid=380453#Installation_in_a_chroot
description="Robust, small and high performance http and reverse proxy server"
description_configtest="Run nginx' internal config check."
description_upgrade="Upgrade the nginx binary without losing connections."
description_reload="Reload the nginx configuration without losing connections."
#
command="/usr/bin/chroot"
command_args="--userspec=http:http /var/corral /usr/bin/nginx -g 'pid /run/nginx.pid; daemon on; master_process on;'"
pidfile=/var/corral/run/nginx.pid
depend() {
need net
use dns logger netmount
}
start_pre() {
if [ "${RC_CMD}" != "restart" ]; then
/usr/bin/chroot --userspec=http:http /var/corral /usr/bin/nginx -t -q -g 'pid /run/nginx.pid; daemon on; master_process on;' || return 1
fi
}
stop() {
/usr/bin/chroot --userspec=http:http /var/corral /usr/bin/nginx -g 'pid /run/nginx.pid;' -s quit
}
reload() {
/usr/bin/chroot --userspec=http:http /var/corral /usr/bin/nginx -g 'pid /run/nginx.pid; daemon on; master_process on;' -s reload || return 1
}
[root@serviedre xan]#
It works for me.
[root@serviedre xan]# rc-update add nginx-chroot default
* service nginx-chroot added to runlevel default
Last edited by xanb (2015-06-30 14:14:05)
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Hi, I've still got the same problem as xanb did, I can't update nor the system nor libgudev on its own.
# pacman -Syu --asdeps libgudev
:: A sincronizar a base de dados de pacotes...
core está actualizado
extra está actualizado
community está actualizado
multilib está actualizado
openrc-eudev está actualizado
siosm-selinux está actualizado
:: A iniciar a actualização do sistema...
atenção: libselinux: local (2.4-1) é mais recente que siosm-selinux (2.2-1)
atenção: libsepol: local (2.4-1) é mais recente que siosm-selinux (2.2-1)
atenção: setools: local (3.3.8-5) é mais recente que siosm-selinux (3.3.8-1)
a resolver dependências...
a procurar pacotes em conflito...
:: libgudev e eudev-systemdcompat estão em conflito (libsystemd). Remover eudev-systemdcompat? [s/N] s
:: libgudev e eudev estão em conflito (libgudev-1.0.so). Remover eudev? [s/N] s
erro: falhou ao preparar a transação (não foi possível cumprir as dependências)
:: libgudev: exige libsystemd
:: chromium: exige systemd
:: libwacom: exige systemd
:: libinput: exige systemd
:: udisks2: exige systemd
:: colord: exige systemd
:: device-mapper: exige systemd
:: lib32-systemd: exige systemd
:: mesa: exige systemd
:: lvm2: exige systemd
:: subversion: exige systemd
:: udisks: exige systemd
:: xf86-input-vmmouse: exige libsystemd
:: accountsservice: exige systemd
:: ceph: exige libsystemd
:: eudev-openrc: exige eudev
:: kmscon: exige systemd
:: libatasmart: exige libsystemd
:: libgsystem: exige libsystemd
:: libgusb: exige udev
:: libpulse: exige systemd
:: libusb: exige systemd
:: lighttpd: exige systemd
:: media-player-info: exige systemd
:: mkinitcpio: exige systemd
:: openrc-core: exige udev>=186
:: openvpn: exige libsystemd
:: pcmciautils: exige systemd
:: pkgstats: exige systemd
:: procps-ng: exige libsystemd
:: qt5-base: exige systemd
:: qtwebkit: exige systemd
:: rtkit: exige systemd
:: syslog-ng: exige systemd
:: upower-pm-utils: exige eudev-systemdcompat
:: util-linux: exige libsystemd
:: xf86-input-evdev: exige systemd
:: xf86-video-openchrome: exige systemd
I was trying to find a thread such as this one, but couldn't, so I posted in the arch-general mailing list. One reply gave me a link to this thread, where I hope you will be more receptive.
Proposed sanity-check:
$ uname -a
Linux jmcf125-Toshiba-Arch 3.14.44-1-lts #1 SMP Sat Jun 6 20:26:18 CEST 2015 x86_64 GNU/Linux
$ pacman -Qi linux-lts
Nome : linux-lts
Versão : 3.14.45-1
Descrição : The Linux-lts kernel and modules
Arquitectura : x86_64
Endereço : http://www.kernel.org/
Licenças : GPL2
Grupos : Nenhum
Fornece : kernel26-lts=3.14.45
Depende de : coreutils linux-firmware kmod mkinitcpio>=0.7
Dep. Opcionais : crda: to set the correct wireless channels of your country
Exigido por : Nenhum
Opcional Para: Nenhum
Conflitos com : kernel26-lts
Substitui : kernel26-lts
Tamanho instalado: 71,90 MiB
Empacotador : Andreas Radke <andyrtr@archlinux.org>
Data da Compilação : Ter 23 Jun 2015 17:20:48 WEST
Data da Instalação : Sex 03 Jul 2015 11:21:33 WEST
Motivo da instalação : Explicitamente instalado
Script de Instalação : Sim
Validado por: Assinatura
Thank you in advance,
Offline
Post the output with
LC_ALL=C
for outputs in english.
You shouldn't remove eudev-systemdcompat as it provides systemd, and many packages depend on systemd. I solved the problem with
# pacman -S --asdeps libgudev
# pacman -Syu
hope that helps.
Offline
Sorry, as xanb posted in Catalan, thought there'd be no problem since the data is ordered. But you're right, we should've used the standard environment.
$ LC_ALL=C sudo pacman -S --asdeps libgudev
[sudo] password for root:
resolving dependencies...
looking for conflicting packages...
:: libgudev and eudev-systemdcompat are in conflict (libsystemd). Remove eudev-systemdcompat? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: libgudev and eudev-systemdcompat are in conflict (libsystemd<221)
However, eudev-systemdcompat seems to be updated. Pacman gives me:
warning: eudev-systemdcompat-217-3 is up to date -- reinstalling
I had seen that warning, but hadn't associated it to libsystemd not being updated. When I finally considered eudev-systemdcompat may be the replacement for systemd-thingies, I dismissed it, as aaditya said he had updated the repo, and in that case there shouldn't be a conflict. facepalm ...repos don't keep themselves updated forever, specially in a bleeding-edge distro like Arch... Now I just feel stupid.
The solution is obvious: fetch it from the AUR, where that 221 version is available. One other thing that may have contributed to this problem is that packer didn't go for eudev-systemdcompat's most recent version, but for the version in the openrc-eudev repo (which I thought was updated). As such, packer didn't look in the AUR, and find the more recent version that was needed... Anyway, for that a newer version (again, from the AUR) of eudev-systemdcompat, a newer one of eudev was required as well.
However, there was a problem in the installation of eudev (at least in mine) such that pacman would complain of the existance of 3 files in /usr/lib/udev/rules.d/: 70-mouse.rules, 70-touchpad.rules and 80-drivers.rules, and abort the installation. So, bug report: it should place these new files as .pacnew and warn the user of the fact that they were installed (note: I didn't mess with the PKGBUILD, just suffixed these 3 with .old and did a vimdiff afterwards; .pacnew is my 2¢ for a correction, I can't just go to the AUR and fix the PKGBUILD).
eudev-systemdcompat complains about /usr/bin/systemd-tmpfiles (which is replaced) and /usr/bin/systemd-users (just deleted). IMHO, these binaries should be automatically replaced without warning. I didn't change this in the PKGBUILD, but did change other things, because the files were updated, libsystemd and systemd should have a package release number of 2 (_spkgrel=2), and the SHA sums are different.
libgudev, that is an official package now, shouldn't complain, but it does (when trying pacman -Syu once more), of the existance of /usr/share/gtk-doc/html/gudev. It's old documentation, so it should be deleted. I didn't check to what package it belonged before, and don't know if this is an OpenRC-only problem (though I think so) so I'm not quite sure what package should fix that. But it shouldn't give an error.
Now everything is running fine, pacman -Syu works. Thank you for your support. Even though I solved the problem myself, I was motivated to keep trying to get OpenRC running on Arch by threads like this one, and awesome documentation in the wiki. Also, do be ware that many people in the mailing list not only disapprove of using OpenRC on Arch, as well as disregard The Arch Way as invalid community nonsense.
Offline
Hi, I've still got the same problem as xanb did, I can't update nor the system nor libgudev on its own.
# pacman -Syu --asdeps libgudev :: A sincronizar a base de dados de pacotes... core está actualizado extra está actualizado community está actualizado multilib está actualizado openrc-eudev está actualizado siosm-selinux está actualizado :: A iniciar a actualização do sistema... atenção: libselinux: local (2.4-1) é mais recente que siosm-selinux (2.2-1) atenção: libsepol: local (2.4-1) é mais recente que siosm-selinux (2.2-1) atenção: setools: local (3.3.8-5) é mais recente que siosm-selinux (3.3.8-1) a resolver dependências... a procurar pacotes em conflito... :: libgudev e eudev-systemdcompat estão em conflito (libsystemd). Remover eudev-systemdcompat? [s/N] s :: libgudev e eudev estão em conflito (libgudev-1.0.so). Remover eudev? [s/N] s erro: falhou ao preparar a transação (não foi possível cumprir as dependências) :: libgudev: exige libsystemd :: chromium: exige systemd :: libwacom: exige systemd :: libinput: exige systemd :: udisks2: exige systemd :: colord: exige systemd :: device-mapper: exige systemd :: lib32-systemd: exige systemd :: mesa: exige systemd :: lvm2: exige systemd :: subversion: exige systemd :: udisks: exige systemd :: xf86-input-vmmouse: exige libsystemd :: accountsservice: exige systemd :: ceph: exige libsystemd :: eudev-openrc: exige eudev :: kmscon: exige systemd :: libatasmart: exige libsystemd :: libgsystem: exige libsystemd :: libgusb: exige udev :: libpulse: exige systemd :: libusb: exige systemd :: lighttpd: exige systemd :: media-player-info: exige systemd :: mkinitcpio: exige systemd :: openrc-core: exige udev>=186 :: openvpn: exige libsystemd :: pcmciautils: exige systemd :: pkgstats: exige systemd :: procps-ng: exige libsystemd :: qt5-base: exige systemd :: qtwebkit: exige systemd :: rtkit: exige systemd :: syslog-ng: exige systemd :: upower-pm-utils: exige eudev-systemdcompat :: util-linux: exige libsystemd :: xf86-input-evdev: exige systemd :: xf86-video-openchrome: exige systemd
Thank you in advance,
I solved the problem running
pacman -Syu libgudev
, but I experimented a bug with new openrc-core and new stuff. The wifi ("wlan0 does not exist") and mouse in X11 don't work. I had to downgrade openrc-core (0.16.4-3 -> 0.16.4-1) and reinstall eudev-openrc (20150507-1). I don't know where file this bug.
@jmcf125: I see your code is in portuguesh? I think all the message is clear. I could read among lines ;-) bstaletic: cool ;-)
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Hmm, I haven't rebooted (because Linux ). So not sure if I will have to downgrade. I hope not, but I have butloads of packages in the cache, so it should be okay. I'll confirm if a downgrade is necessary later. Thanks for the heads-up. PS: Catalan is more similar to Portuguese than Spanish is, so no wonder
EDIT: sorry, I was distracted, didn't pay attention to the versions you posted. Except for the problem about which I posted, in which I needed more recent packages from the AUR, I'm mostly following the openrc-eudev repository. My openrc-core version is 0.13.11-1, so it's no wonder I didn't have to downgrade.
Last edited by jmcf125 (2015-07-11 14:30:21)
Offline