[systemd-devel] Permissions problems with systemd-networkd and others.
Murrell, Robert A.
Robert.Murrell at sbdinc.com
Tue Feb 6 21:44:22 UTC 2024
Greetings,
I’m attempting to update one of our products from Debian Stretch with Linux kernel 4.14 to Debian Bullseye with Linux kernel 6.2.0. The target system is an ARM iMX6QP. I’ve managed to build the kernel from the old .config file. The image is built using ELBE builder and reprepro for local packages (not my choice). This has been a very steep learning experience and I’m sure I have more tweaking to do.
I’m having a problem with systemd on startup. System-networkd fails to run with the following error:
● systemd-networkd.service - Network Service
Loaded: loaded (/lib/systemd/system/systemd-networkd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2023-06-18 14:56:02 UTC; 2h 42min ago
TriggeredBy: ● systemd-networkd.socket
Docs: man:systemd-networkd.service(8)
Process: 233 ExecStart=/lib/systemd/systemd-networkd (code=exited, status=203/EXEC)
Main PID: 233 (code=exited, status=203/EXEC)
CPU: 109ms
Jun 18 14:56:02 mspmbsat systemd[1]: systemd-networkd.service: Scheduled restart job, restart counter is at 5.
Jun 18 14:56:02 mspmbsat systemd[1]: Stopped Network Service.
Jun 18 14:56:02 mspmbsat systemd[1]: systemd-networkd.service: Start request repeated too quickly.
Jun 18 14:56:02 mspmbsat systemd[1]: systemd-networkd.service: Failed with result 'exit-code'.
Jun 18 14:56:02 mspmbsat systemd[1]: Failed to start Network Service.
Systemd-resolvd and named have similar problems. Running the program manually (from root) gives me this error:
~# /lib/systemd/systemd-networkd
Failed to open configuration file '/etc/systemd/networkd.conf': Permission denied
Failed to parse configuration file: Permission denied
Enumeration completed
Networkd.conf has 644 permissions. I have noticed that systemd-networkd now has its own group systemd-network. I’ve tried doing several things like adding systemd-network to root group and vise-versa, setting permissions on all affected files and paths to 777 (undesirable), but I still can’t get it to run. I get a little farther, but ultimately end up wit a Permission denied error somewhere.
1. What do I need to do to get this working?
2. Why didn’t apt install properly configure it?
I can supply the elbe build log if that might help. It is 2MB long.
Robert Murrell
Embedded Software Engineer
STANLEY Assembly Technologies
2500 Meijer Dr., Troy, MI 48084
T 248-677-9740
Robert.Murrell at sbdinc.com<mailto:Robert.Murrell at sbdinc.com> | www.StanleyEngineeredFastening.com<http://www.stanleyengineeredfastening.com/>
[http://esignature.stanleyblackanddecker.com/images/stanleyengineeredfastening.png]
This email, including any attached files, is intended only for the person to whom or the entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
This message and any attachments may contain Stanley Black & Decker confidential information. Any unauthorized review, use, disclosure or distribution of any such information is prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
Este mensaje y los archivos adjuntos pueden contener informacion confidencial de Stanley Black & Decker. Se prohibe cualquier revision, uso, divulgacion o distribucion no autorizados de dicha informacion. Si no es el destinatario previsto, comuniquese con el remitente y elimine todas las copias.
本?件及其附件可能包含史丹利百得公司的保密信息。非?授?,任何人不得??、使用、披露或?播??信息。若?不是收件人,???系?件人并?除所有内容。??。
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240206/25eda766/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 1754 bytes
Desc: image001.png
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240206/25eda766/attachment-0001.png>
More information about the systemd-devel
mailing list