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!
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!
FS#67793 - [openssh] drop tmpfiles.d creation of /var/empty
Attached to Project:
Arch Linux
Opened by tinywrkb (tinywrkb) - Tuesday, 01 September 2020, 14:22 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 01 September 2020, 14:39 GMT
Opened by tinywrkb (tinywrkb) - Tuesday, 01 September 2020, 14:22 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 01 September 2020, 14:39 GMT
|
Details/var/empty is not openssh specific dir, this comes from filesystem, so this workaround for stateless system should be added to the filesystem package, if it all.
I'm building a stateless system and the first thing I did is to convert the filesystem packaged /var tree structure creation to tmpfiles.d conf in a custom filesystem package. Having this conflict with openssh own tmpfiles.d conf is unexpected and unwarranted in a vanilla distro. If it's still a requirement to support users who intentionally breaking archlinux directory tree structure then it should be reported as a filesystem package bug and be added to tmpfiles.d/arch.conf. |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Tuesday, 01 September 2020, 14:39 GMT
Reason for closing: Not a bug
Tuesday, 01 September 2020, 14:39 GMT
Reason for closing: Not a bug
Yes, sshd does hardcode this via:
./configure
-----------
PRIVSEP_PATH=/var/empty
Makefile.in
-----------
PRIVSEP_PATH=@PRIVSEP_PATH@
gcc -D_PATH_PRIVSEP_CHROOT_DIR=\"$(PRIVSEP_PATH)\"