[arch-general] netctl/systemd - permission error in dmesg - need fixing?

David C. Rankin drankinatty at suddenlinkmail.com
Fri May 2 22:19:15 EDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/02/2014 01:22 PM, Leonid Isaev wrote:
> See
> http://lists.freedesktop.org/archives/systemd-devel/2014-February/017146.html :
> 
> * When reading unit files, systemd will now verify
>   the access mode of these files, and warn about certain
>   suspicious combinations. This has been added to make it
>   easier to track down packaging bugs where unit files are
>   marked executable or world-writable.
> 
> Cheers,

Thanks Leonid,

  I guess the issue becomes, "is the /etc/netctl file supposed to be copied into
/etc/systemd/system with 0600 permissions?"

  I'll admit, I have no idea how the details of this get done by netctl (and or
systemd), but it just seems to me that if systemd is now verifying the access
mode of these files, systemd (or netctl -- on 'netctl enable') shouldn't be
copying them with permissions that will generate warning messages on boot.

  Now this isn't a big issue, more of an curiosity really. It just seems to me
like something isn't meshing quite right.

  In my situation, I used and followed the netctl static setup detailed here:

https://wiki.archlinux.org/index.php/Beginners%27_guide#Static_IP

  I'll leave it to you guys that are way smarter on this to decide if this needs
any further action. I will try manually changing the permissions on the
/etc/systemd/system file to avoid the warning, but that just seems like one of
those things that shouldn't need to be done by the user.

- -- 
David C. Rankin, J.D.,P.E.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlNkUiMACgkQZMpuZ8Cyrcg1jwCeKznQ0wPHxd+a2zHHR6G93vt7
xVgAn2tWEhtBiGtYWCOKJEIvqCx8pJLx
=SsY4
-----END PGP SIGNATURE-----


More information about the arch-general mailing list