sshd fails to load, due to missing directory /var/empty
|Reported by:||mmadia||Owned by:||stippi|
|Has a Patch:||no||Platform:||All|
Description (last modified by )
/boot/common/bin/sshd -D . However, on a cleanly installed partition,
/var/empty does not exist, thus sshd fails to start :
~/Desktop> /boot/common/bin/sshd -D Missing privilege separation directory: /var/empty
browser:haiku/trunk/build/jam/OptionalPackages:1225 , specifies the /var/empty directory.
AddUserToHaikuImage sshd : 1001 : 100 : /var/empty : /bin/true : "sshd user" ;
It appears that common/var/empty is indeed added to the image file, as specifed by HaikuImage, but Installer ignores var and thus /var/empty goes missing on the installed partition.
The mechanism for copying/ignoring var in CopyEngine::_ShouldCopyEntry() may need revising, to specifically ignore var/swap and other possible entries.
Change History (5)
comment:1 by , 9 years ago
|Component:||- General → Applications/Installer|
|Milestone:||R1 → R1/alpha3|
|Status:||new → assigned|