FS#12679 - openssh owns but doesn't create /var/empty

Attached to Project: Arch Linux
Opened by Brad Conte (B-Con) - Monday, 05 January 2009, 04:42 GMT
Last edited by Allan McRae (Allan) - Monday, 05 January 2009, 12:26 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
If the directory /var/empty does not exist, then starting sshd will fail with error message "Missing priviledge separation directory: /var/empty". pacman -Ql openssh confirms that openssh owns the /var/empty directory, however, the openssh package does not contain the /var/empty directory, so /var/empty is never reliably created. The solution is to create /var/empty/ as root.

Additional info:
- Package version: 5.1p1-2

Steps to reproduce:
- If /var/empty exists, remove it.
- # /etc/rc.d/sshd start
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 05 January 2009, 12:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  Was fixed in 5.1p1-2
Comment by Allan McRae (Allan) - Monday, 05 January 2009, 06:44 GMT
I have tried to replicate this but openssh always installs /var/empty for me.
Comment by Greg (dolby) - Monday, 05 January 2009, 07:50 GMT
tar tf /var/cache/pacman/pkg/openssh-5.1p1-2-x86_64.pkg.tar.gz |grep empty
56:var/empty/
Comment by Brad Conte (B-Con) - Monday, 05 January 2009, 12:18 GMT
I made a mistake in my original bug report. It was actually in version 5.1p1-1, not -2. It appears that the second Arch package release fixed the problem -- I hadn't updated yet.
Comment by Andrea Scarpino (BaSh) - Monday, 05 January 2009, 12:22 GMT
$ pacman -Ql openssh | grep empty
openssh /var/empty/

Loading...