systemd-245 fails on ARM7 Cubox

Problems with packages? Post here, using [tags] of the package name.

systemd-245 fails on ARM7 Cubox

Postby Musikolo » Sat Mar 14, 2020 6:08 pm

Hi guys,

I recently noticed that systemd-245 broke my system which is a ARMv7 Cubox (https://archlinuxarm.org/platforms/armv ... le/cubox-i) device. I tried with systemd-245-1 and systemd-245-3 and both break my system. This is what I get either of them:

Code: Select all
[musikolo@Cubox ~]$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 alarm is up to date
 aur is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (3) systemd-245-3  systemd-libs-245-3  systemd-sysvcompat-245-3

Total Download Size:    5.22 MiB
Total Installed Size:  22.79 MiB
Net Upgrade Size:       1.55 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
 systemd-libs-245-3-armv7h                                                  392.7 KiB   369 KiB/s 00:01 [#############################################################] 100%
 systemd-245-3-armv7h                                                         4.8 MiB  2.56 MiB/s 00:02 [#############################################################] 100%
 systemd-sysvcompat-245-3-armv7h                                              8.0 KiB  7.80 MiB/s 00:00 [#############################################################] 100%
(3/3) checking keys in keyring                                                                          [#############################################################] 100%
(3/3) checking package integrity                                                                        [#############################################################] 100%
(3/3) loading package files                                                                             [#############################################################] 100%
(3/3) checking for file conflicts                                                                       [#############################################################] 100%
(3/3) checking available disk space                                                                     [#############################################################] 100%
:: Processing package changes...
(1/3) upgrading systemd-libs                                                                            [#############################################################] 100%
(2/3) upgrading systemd                                                                                 [#############################################################] 100%
(3/3) upgrading systemd-sysvcompat                                                                      [#############################################################] 100%
:: Running post-transaction hooks...
( 1/10) Creating system user accounts...
( 2/10) Updating journal message catalog...
( 3/10) Reloading system manager configuration...
( 4/10) Updating udev hardware database...
( 5/10) Applying kernel sysctl settings...
( 6/10) Creating temporary files...
( 7/10) Reloading device manager configuration...
( 8/10) Arming ConditionNeedsUpdate...
( 9/10) Updating linux initcpios...
(10/10) Reloading system bus configuration...
Job for dbus.service failed.
See "systemctl status dbus.service" and "journalctl -xe" for details.
error: command failed to execute correctly


Rebooting doesn't come the system up, and logs shows all sorts of errors as shown below:
Code: Select all
Mar 14 12:35:55 Cubox sudo[14469]:   musikolo : TTY=pts/0 ; PWD=/home/musikolo ; USER=root ; COMMAND=/usr/bin/pacman -Syu
Mar 14 12:35:55 Cubox sudo[14469]: pam_unix(sudo:session): session opened for user root by musikolo(uid=0)
Mar 14 12:36:22 Cubox dbus-daemon[284]: [system] Reloaded configuration
Mar 14 12:36:22 Cubox dbus-daemon[284]: [system] Reloaded configuration
Mar 14 12:36:23 Cubox systemd[1]: Starting Cleanup of Temporary Directories...
-- Subject: A start job for unit systemd-tmpfiles-clean.service has begun execution
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit systemd-tmpfiles-clean.service has begun execution.
--
-- The job identifier is 366.
Mar 14 12:36:23 Cubox kernel: Core dump to |/usr/lib/systemd/systemd-coredump 14472 0 0 7 1584207383 4294967295 Cubox pipe failed
Mar 14 12:36:23 Cubox systemd[1]: systemd-tmpfiles-clean.service: Main process exited, code=killed, status=7/BUS
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- An ExecStart= process belonging to unit systemd-tmpfiles-clean.service has exited.
--
-- The process' exit code is 'killed' and its exit status is 7.
Mar 14 12:36:23 Cubox systemd[1]: systemd-tmpfiles-clean.service: Failed with result 'signal'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The unit systemd-tmpfiles-clean.service has entered the 'failed' state with result 'signal'.
Mar 14 12:36:23 Cubox systemd[1]: Failed to start Cleanup of Temporary Directories.
-- Subject: A start job for unit systemd-tmpfiles-clean.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit systemd-tmpfiles-clean.service has finished with a failure.
--
-- The job identifier is 366 and the job result is failed.
Mar 14 12:36:24 Cubox dbus-daemon[284]: [system] Reloaded configuration
Mar 14 12:36:24 Cubox dbus-daemon[284]: [system] Reloaded configuration
Mar 14 12:36:24 Cubox dbus-daemon[284]: [system] Reloaded configuration
Mar 14 12:36:24 Cubox dbus-daemon[284]: [system] Reloaded configuration
Mar 14 12:36:25 Cubox systemd[1]: Reexecuting.
Mar 14 12:36:25 Cubox systemd[1]: systemd 245-3-arch running in system mode. (+PAM +AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +AC>
Mar 14 12:36:25 Cubox systemd[1]: Detected architecture arm.
Mar 14 12:36:26 Cubox systemd[1]: /etc/systemd/system/netctl@eth0.service:1: .include directives are deprecated, and support for them will be removed in a future version o>
Mar 14 12:36:26 Cubox systemd[1]: kmod-static-nodes.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
Mar 14 12:36:26 Cubox systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
Mar 14 12:36:27 Cubox systemd[1]: Reloading.
Mar 14 12:36:28 Cubox systemd[1]: /etc/systemd/system/netctl@eth0.service:1: .include directives are deprecated, and support for them will be removed in a future version o>
Mar 14 12:36:31 Cubox systemd-sysctl[14529]: Not setting net/ipv4/conf/all/rp_filter (explicit setting exists).
Mar 14 12:36:31 Cubox systemd-sysctl[14529]: Not setting net/ipv4/conf/default/rp_filter (explicit setting exists).
Mar 14 12:36:31 Cubox systemd-sysctl[14529]: Not setting net/ipv4/conf/all/accept_source_route (explicit setting exists).
Mar 14 12:36:31 Cubox systemd-sysctl[14529]: Not setting net/ipv4/conf/default/accept_source_route (explicit setting exists).
Mar 14 12:36:31 Cubox systemd-sysctl[14529]: Not setting net/ipv4/conf/all/promote_secondaries (explicit setting exists).
Mar 14 12:36:31 Cubox systemd-sysctl[14529]: Not setting net/ipv4/conf/default/promote_secondaries (explicit setting exists).
Mar 14 12:36:31 Cubox systemd-sysctl[14529]: Couldn't write '1' to 'fs/protected_regular', ignoring: No such file or directory
Mar 14 12:36:31 Cubox systemd-sysctl[14529]: Couldn't write '1' to 'fs/protected_fifos', ignoring: No such file or directory
Mar 14 12:36:31 Cubox systemd[1]: Reloading D-Bus System Message Bus.
-- Subject: A reload job for unit dbus.service has begun execution
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A reload job for unit dbus.service has begun execution.
--
-- The job identifier is 371.
Mar 14 12:36:31 Cubox systemd[14540]: dbus.service: Failed to apply ambient capabilities (before UID change): Invalid argument
Mar 14 12:36:31 Cubox systemd[14540]: dbus.service: Failed at step CAPABILITIES spawning /usr/bin/dbus-send: Invalid argument
-- Subject: Process /usr/bin/dbus-send could not be executed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The process /usr/bin/dbus-send could not be executed and failed.
--
-- The error number returned by this process is ERRNO.
Mar 14 12:36:31 Cubox systemd[1]: dbus.service: Control process exited, code=exited, status=218/CAPABILITIES
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- An ExecReload= process belonging to unit dbus.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 218.
Mar 14 12:36:31 Cubox systemd[1]: Reload failed for D-Bus System Message Bus.
-- Subject: A reload job for unit dbus.service has finished
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A reload job for unit dbus.service has finished.
Mar 14 12:36:31 Cubox systemd-sysctl[14529]: Not setting net/ipv4/conf/all/promote_secondaries (explicit setting exists).
Mar 14 12:36:31 Cubox systemd-sysctl[14529]: Not setting net/ipv4/conf/default/promote_secondaries (explicit setting exists).
Mar 14 12:36:31 Cubox systemd-sysctl[14529]: Couldn't write '1' to 'fs/protected_regular', ignoring: No such file or directory
Mar 14 12:36:31 Cubox systemd-sysctl[14529]: Couldn't write '1' to 'fs/protected_fifos', ignoring: No such file or directory
Mar 14 12:36:31 Cubox systemd[1]: Reloading D-Bus System Message Bus.

-- Subject: A reload job for unit dbus.service has begun execution
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A reload job for unit dbus.service has begun execution.
--
-- The job identifier is 371.
Mar 14 12:36:31 Cubox systemd[14540]: dbus.service: Failed to apply ambient capabilities (before UID change): Invalid argument
Mar 14 12:36:31 Cubox systemd[14540]: dbus.service: Failed at step CAPABILITIES spawning /usr/bin/dbus-send: Invalid argument
-- Subject: Process /usr/bin/dbus-send could not be executed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The process /usr/bin/dbus-send could not be executed and failed.
--
-- The error number returned by this process is ERRNO.
Mar 14 12:36:31 Cubox systemd[1]: dbus.service: Control process exited, code=exited, status=218/CAPABILITIES
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- An ExecReload= process belonging to unit dbus.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 218.
Mar 14 12:36:31 Cubox systemd[1]: Reload failed for D-Bus System Message Bus.
-- Subject: A reload job for unit dbus.service has finished
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A reload job for unit dbus.service has finished.
--
-- The job identifier is 371 and the job result is failed.


However, when I downgrade to version 244-3, everything comes back to normal:
Code: Select all
[musikolo@Cubox pkg]$ sudo pacman -U systemd-244.3-1-armv7h.pkg.tar.xz systemd-libs-244.3-1-armv7h.pkg.tar.xz systemd-sysvcompat-244.3-1-armv7h.pkg.tar.xz
loading packages...
warning: downgrading package systemd (245-3 => 244.3-1)
warning: downgrading package systemd-libs (245-3 => 244.3-1)
warning: downgrading package systemd-sysvcompat (245-3 => 244.3-1)
resolving dependencies...
looking for conflicting packages...

Packages (3) systemd-244.3-1  systemd-libs-244.3-1  systemd-sysvcompat-244.3-1

Total Installed Size:  21.24 MiB
Net Upgrade Size:      -1.55 MiB

:: Proceed with installation? [Y/n]
(3/3) checking keys in keyring                                                                          [#############################################################] 100%
(3/3) checking package integrity                                                                        [#############################################################] 100%
(3/3) loading package files                                                                             [#############################################################] 100%
(3/3) checking for file conflicts                                                                       [#############################################################] 100%
(3/3) checking available disk space                                                                     [#############################################################] 100%
:: Processing package changes...
(1/3) downgrading systemd-libs                                                                          [#############################################################] 100%
(2/3) downgrading systemd                                                                               [#############################################################] 100%
(3/3) downgrading systemd-sysvcompat                                                                    [#############################################################] 100%
:: Running post-transaction hooks...
( 1/10) Creating system user accounts...
( 2/10) Updating journal message catalog...
( 3/10) Reloading system manager configuration...
( 4/10) Updating udev hardware database...
( 5/10) Applying kernel sysctl settings...
( 6/10) Creating temporary files...
( 7/10) Reloading device manager configuration...
( 8/10) Arming ConditionNeedsUpdate...
( 9/10) Updating linux initcpios...
(10/10) Reloading system bus configuration...


... and logs also no longer show any errors with system-244:
Code: Select all
-- The job identifier is 371 and the job result is failed.
Mar 14 12:36:34 Cubox sudo[14469]: pam_unix(sudo:session): session closed for user root
Mar 14 12:38:11 Cubox sudo[14549]:   musikolo : TTY=pts/0 ; PWD=/var/cache/pacman/pkg ; USER=root ; COMMAND=/usr/bin/pacman -U systemd-244.3-1-armv7h.pkg.tar.xz systemd-libs>
Mar 14 12:38:11 Cubox sudo[14549]: pam_unix(sudo:session): session opened for user root by musikolo(uid=0)
Mar 14 12:38:16 Cubox dbus-daemon[284]: [system] Reloaded configuration
Mar 14 12:38:16 Cubox dbus-daemon[284]: [system] Reloaded configuration
Mar 14 12:38:20 Cubox dbus-daemon[284]: [system] Reloaded configuration
Mar 14 12:38:20 Cubox dbus-daemon[284]: [system] Reloaded configuration
Mar 14 12:38:20 Cubox dbus-daemon[284]: [system] Reloaded configuration
Mar 14 12:38:21 Cubox systemd[1]: Reexecuting.
Mar 14 12:38:22 Cubox systemd[1]: systemd 244.3-1-arch running in system mode. (+PAM +AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +>
Mar 14 12:38:22 Cubox systemd[1]: Detected architecture arm.
Mar 14 12:38:22 Cubox systemd[1]: /etc/systemd/system/netctl@eth0.service:1: .include directives are deprecated, and support for them will be removed in a future version o>
Mar 14 12:38:23 Cubox systemd[1]: systemd-coredump.socket: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
Mar 14 12:38:23 Cubox systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
Mar 14 12:38:24 Cubox systemd[1]: Reloading.
Mar 14 12:38:24 Cubox systemd[1]: /etc/systemd/system/netctl@eth0.service:1: .include directives are deprecated, and support for them will be removed in a future version o>
Mar 14 12:38:27 Cubox systemd-sysctl[14604]: Couldn't write '1' to 'fs/protected_regular', ignoring: No such file or directory
Mar 14 12:38:27 Cubox systemd-sysctl[14604]: Couldn't write '1' to 'fs/protected_fifos', ignoring: No such file or directory
Mar 14 12:38:28 Cubox systemd[1]: Reloading D-Bus System Message Bus.
-- Subject: A reload job for unit dbus.service has begun execution
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A reload job for unit dbus.service has begun execution.
--
-- The job identifier is 373.
Mar 14 12:38:28 Cubox dbus-daemon[284]: [system] Reloaded configuration
Mar 14 12:38:28 Cubox dbus-send[14615]: method return time=1584207508.235294 sender=org.freedesktop.DBus -> destination=:1.61 serial=3 reply_serial=2
Mar 14 12:38:28 Cubox systemd[1]: Reloaded D-Bus System Message Bus.
-- Subject: A reload job for unit dbus.service has finished
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A reload job for unit dbus.service has finished


As a temporary workaround, I changed the configuration of /etc/pacman.conf file to ignore all systemd packages:
Code: Select all
IgnorePkg = systemd systemd-libs systemd-sysvcompat


I hope a solution is found shortly, because it breaks pretty badly the whole thing!

Thank you!
Musikolo
 
Posts: 12
Joined: Fri Jul 25, 2014 3:56 am

Re: systemd-245 fails on ARM7 Cubox

Postby reydecopas » Tue Mar 17, 2020 10:17 pm

same happens in odroid c2

do you know where can I get this packages but for aarch64?
systemd-244.3-1 systemd-libs-244.3-1 systemd-sysvcompat-244.3-1
reydecopas
 
Posts: 3
Joined: Fri Oct 13, 2017 6:17 pm

Re: systemd-245 fails on ARM7 Cubox

Postby Musikolo » Thu Mar 19, 2020 2:47 am

@reydecopas, I don't know whether you already tried this out, but I would suggest checking under /var/cache/pacman/pkg/

There is also a package archive server for Arch Linux for PC at https://archive.archlinux.org/, but I'm not aware of the same thing for ARM devices.

I hope it helps!

Regards.
Musikolo
 
Posts: 12
Joined: Fri Jul 25, 2014 3:56 am

Re: systemd-245 fails on ARM7 Cubox

Postby summers » Thu Mar 19, 2020 6:45 am

From what I can seen systemd 245 needs a very modern kernel to work. So my machines that are on the newest kernel seems to work fine with 245, but those people on an a legacy kernel for one reason or another, seem to be the people having problems. So what is you kernel?
Code: Select all
uname -a
summers
 
Posts: 776
Joined: Sat Sep 06, 2014 12:56 pm

Re: systemd-245 fails on ARM7 Cubox

Postby Musikolo » Fri Mar 20, 2020 3:07 am

@summers, I think what you said makes all sense looking at what I got:
Code: Select all
[musikolo@Cubox ~]$ uname -a
Linux Cubox 3.14.79-3-ARCH #1 SMP Wed May 10 01:50:38 UTC 2017 armv7l GNU/Linux
[musikolo@Cubox ~]$ pacman -Q linux
linux-imx6 3.14.79-3
[musikolo@Cubox ~]$ sudo pacman -Sy linux
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 alarm is up to date
 aur is up to date
warning: linux-imx6-3.14.79-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) linux-imx6-3.14.79-3

Total Installed Size:  33.07 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n]


Unfortunately, it seems that my current linux package hasn't been upgraded for a very long time. Not sure if there is any plan to do it in the near future. Besides, I'm unsure of whether I should replace my current linux-imx6 package with linux-armv7-rc-cubox one.

Thoughts? :roll:

Thank you!
Musikolo
 
Posts: 12
Joined: Fri Jul 25, 2014 3:56 am

Re: systemd-245 fails on ARM7 Cubox

Postby slydder » Thu Mar 26, 2020 11:34 am

Same problem on Odroid-c1.
slydder
 
Posts: 22
Joined: Sat Dec 05, 2015 11:40 am

Re: systemd-245 fails on ARM7 Cubox

Postby slydder » Thu Mar 26, 2020 1:03 pm

So it seems systemd dropped support for kernel < 3.13:
https://github.com/systemd/systemd/issues/15225

Any news about linux-armv7-odroidc1, is it safe to update?
slydder
 
Posts: 22
Joined: Sat Dec 05, 2015 11:40 am

Re: systemd-245 fails on ARM7 Cubox

Postby moonman » Thu Mar 26, 2020 8:29 pm

slydder wrote:So it seems systemd dropped support for kernel < 3.13:
https://github.com/systemd/systemd/issues/15225

They officially dropped the support for < 3.13 a while ago but it worked anyway. If/when they fix the support for 3.16 kernels, it will be fixed for < 3.13 as well.

slydder wrote:Any news about linux-armv7-odroidc1, is it safe to update?

Official odroid-c1 kernel is fixed now (by hardkernel) and is in our repo.
The state of mainline for c1 is still the same: viewtopic.php?f=23&t=14194&p=63131&hilit=odroid+c1#p63090

Musikolo wrote:Hi guys,

I recently noticed that systemd-245 broke my system which is a ARMv7 Cubox (https://archlinuxarm.org/platforms/armv ... le/cubox-i) device. I tried with systemd-245-1 and systemd-245-3 and both break my system. This is what I get either of them:

Waiting for official systemd solution still. For now just use older version of systemd
Also Cubox-i has a really good mainline support. linux-armv7 is the package.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3220
Joined: Sat Jan 15, 2011 3:36 am


Return to Packages

Who is online

Users browsing this forum: No registered users and 1 guest