Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#42510 - [systemd] Configuration file system/ctrl-alt-del.target is marked executable and world-writtable

Attached to Project: Arch Linux
Opened by Pablo Lezaeta (Jristz) - Thursday, 23 October 2014, 12:30 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 09 November 2014, 22:04 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
systemd[1]: Configuration file /usr/lib/systemd/system/ctrl-alt-del.target is marked executable. Please remove executable permission bits.
systemd[1]: Configuration file /usr/lib/systemd/system/ctrl-alt-del.target is marked world-writable. Please remove world writability permission.

This is a trivial fix, is more for correctlenes and keep our init system happy.


Additional info:
* systemd 216-3


Steps to reproduce:
start systemd and look this in the journal.
for the record no change has ben done
This task depends upon

Closed by  Dave Reisner (falconindy)
Sunday, 09 November 2014, 22:04 GMT
Reason for closing:  Fixed
Additional comments about closing:  systemd-217-6
Comment by Doug Newgard (Scimmia) - Thursday, 23 October 2014, 12:52 GMT
That seems to be a symlink to reboot.target. Is it not on your system?
Comment by Dave Reisner (falconindy) - Thursday, 23 October 2014, 13:01 GMT
If you look at the package, you'll see that this plainly untrue.

$ bsdtar tvf /pkg/bin/systemd-216-3-x86_64.pkg.tar.xz | grep -E '/reboot|ctrl-alt'
-rw-r--r-- 0 root root 493 Sep 1 13:41 usr/lib/systemd/system/reboot.target
lrwxrwxrwx 0 root root 0 Sep 1 13:41 usr/lib/systemd/system/ctrl-alt-del.target -> reboot.target

This is no packaging bug. The code says symlinks are followed, so on a normal system, ctrl-alt-del.target has permissions of 644 (that of reboot.target).
Comment by Dave Reisner (falconindy) - Sunday, 09 November 2014, 20:52 GMT
Hrm, so I found this to be a bug in the initramfs, not the real system. I'll have a fix for the next version of systemd.

Loading...