Hey Zbigniew, hey all, our autopkgtests found a regression in 219; unfortunately only yesterday when we flipped our cloud images to systemd by default, before that the bug was hidden.
As per tmpfiles.d(5), the first match should win if there are several tmpfiles.d lines for the same directory. Our rsyslog package ships a /usr/lib/tmpfiles.d/00rsyslog.conf which sets /var/log to 0775, so that it can write into it as the "syslog" system user. But now the permissions of /var/log are 0755 as /usr/lib/tmpfiles.d/var.conf overwrites it. This can be reproduced with | $ cat ~/test.conf | d /var/log 0775 root syslog - | d /var/log 0755 - - - | | $ sudo SYSTEMD_LOG_LEVEL=debug systemd-tmpfiles --create ~/test.conf | [/home/martin/test.conf:2] Duplicate line for path "/var/log", ignoring. | Running create action for entry d /var/log | Found existing directory "/var/log". | chmod "/var/log" to mode 775 | /var/log created successfully. | Running remove action for entry d /var/log | Running create action for entry d /var/log | Found existing directory "/var/log". | chmod "/var/log" to mode 755 | /var/log created successfully. | Running remove action for entry d /var/log (this command works well right out of the built tree, which is what I used for git bisect run) In 218 this still worked fine, but git bisect shows that http://cgit.freedesktop.org/systemd/systemd/commit/?id=3f93da987961 introduced this regression: i. e. even though it still warns about the duplicate line for /var/log/, the second line is now being processed anyway. Thanks, Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
signature.asc
Description: Digital signature
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel