[ArchLinux] systemd upgrade breaks daemons [SOLVED]

Post Reply
Schrottfresse
Posts: 9
Joined: Tue Jan 27, 2015 2:04 am
languages_spoken: german, english
ODROIDs: C1 and H2
Has thanked: 0
Been thanked: 0
Contact:

[ArchLinux] systemd upgrade breaks daemons [SOLVED]

Unread post by Schrottfresse » Wed Mar 18, 2020 11:27 pm

Hi all,

today I updated the ArchLinux installation on my ODroid-C1. I got a new version of systemd (old: 244.3-1, new: 245-3).
With this new systemd version I wasn't able to start some daemons, e.g. php-fpm:

Code: Select all

% sudo systemctl status php-fpm
● php-fpm.service - The PHP FastCGI Process Manager
     Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Wed 2020-03-18 14:56:54 CET; 6s ago
    Process: 19044 ExecStart=/usr/bin/php-fpm --nodaemonize --fpm-config /etc/php/php-fpm.conf (code=exited, status=218/CAPABILITIES)
   Main PID: 19044 (code=exited, status=218/CAPABILITIES)

Mar 18 14:56:54 myhost systemd[1]: Starting The PHP FastCGI Process Manager...
Mar 18 14:56:54 myhost systemd[19044]: php-fpm.service: Failed to apply ambient capabilities (before UID change): Invalid argument
Mar 18 14:56:54 myhost systemd[19044]: php-fpm.service: Failed at step CAPABILITIES spawning /usr/bin/php-fpm: Invalid argument
Mar 18 14:56:54 myhost systemd[1]: php-fpm.service: Main process exited, code=exited, status=218/CAPABILITIES
Mar 18 14:56:54 myhost systemd[1]: php-fpm.service: Failed with result 'exit-code'.
Mar 18 14:56:54 myhost systemd[1]: Failed to start The PHP FastCGI Process Manager.
After downgrading systemd I was able to start them again. The systemd changelog (https://github.com/systemd/systemd/blob/master/NEWS) was no help to identify the problem.
But as far as I searched the internet it seems it is a problem with the way to old kernel for the C1.

Any ideas how to fix this?

Best regards,
Schrottfresse

User avatar
odroid
Site Admin
Posts: 33698
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 515 times
Been thanked: 507 times
Contact:

Re: [ArchLinux] systemd upgrade breaks daemons

Unread post by odroid » Thu Mar 19, 2020 10:02 am

I think this issue will be solved once this Kernel patch is applied.
viewtopic.php?f=141&t=38171#p286311

Do you run Kernel 3.10 on your C1 ArchLinux?

Schrottfresse
Posts: 9
Joined: Tue Jan 27, 2015 2:04 am
languages_spoken: german, english
ODROIDs: C1 and H2
Has thanked: 0
Been thanked: 0
Contact:

Re: [ArchLinux] systemd upgrade breaks daemons

Unread post by Schrottfresse » Fri Mar 20, 2020 6:09 am

Yes, I run on kernel version 3.10.

Code: Select all

% uname -a
Linux myhost 3.10.107-3-ARCH #1 SMP PREEMPT Sun Sep 22 20:34:04 UTC 2019 armv7l GNU/Linux
I wasn't aware that there is a newer kernel for the C1. But searching the repo I found "linux-armv7-odroidc1".
This fixed my systemd issue, but introduced two new problems:
  • I got the flapping NIC problem (the interface goes up and down, setting it to 100 MBit/s "fixes" it) and
  • my MAC address changed
So for now I fell back to the original 3.10 kernel .

Has anyone any idea why those two errors happen?

mdrjr
Site Admin
Posts: 11742
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 20 times
Contact:

Re: [ArchLinux] systemd upgrade breaks daemons

Unread post by mdrjr » Fri Mar 20, 2020 11:27 pm

The 3.10 kernel issue with systemd is now fixed.
https://github.com/hardkernel/linux/com ... 79aeecf321

The upstream kernel still have some issues to be ironed out.

Schrottfresse
Posts: 9
Joined: Tue Jan 27, 2015 2:04 am
languages_spoken: german, english
ODROIDs: C1 and H2
Has thanked: 0
Been thanked: 0
Contact:

Re: [ArchLinux] systemd upgrade breaks daemons

Unread post by Schrottfresse » Fri Mar 27, 2020 7:26 pm

Yes, I can confirm that this resolves my issue. Thanks for that.

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 6 guests