FS#16929 - [openntpd] user 'ntp': directory '/var/empty' does not exist
Attached to Project:
Community Packages
Opened by David Spicer (azleifel) - Friday, 30 October 2009, 19:22 GMT
Last edited by Dan Griffiths (Ghost1227) - Saturday, 07 November 2009, 07:08 GMT
Opened by David Spicer (azleifel) - Friday, 30 October 2009, 19:22 GMT
Last edited by Dan Griffiths (Ghost1227) - Saturday, 07 November 2009, 07:08 GMT
|
Details
Description:
Since the update from openntpd 3.9p1-7 to 3.9p1-8 I have been getting the error message in the Summary line above each time the openntp daemon is started. I've created /var/empty, chowned it to root and chmod'd it to 700, and I'm hoping that this will fix the problem. Additional info: * openntpd 3.9p1-8 x86_64 Steps to reproduce: N/A |
This task depends upon
Closed by Dan Griffiths (Ghost1227)
Saturday, 07 November 2009, 07:08 GMT
Reason for closing: Not a bug
Additional comments about closing: This is being moved to a feature request on the filesystems package
Saturday, 07 November 2009, 07:08 GMT
Reason for closing: Not a bug
Additional comments about closing: This is being moved to a feature request on the filesystems package
user 'ntp': directory '/var/empty' does not exist
pwck: no changes
Creating /var/empty with the permissions I mentioned makes the emails stop.
http://repos.archlinux.org/wsvn/community/openntpd/repos/community-i686/openntpd.install
The install scriptlet creates the group and the directory.
I have just installed the package and it worked as designed.
Thus I believe there is something wrong on your system.
/var/empty is not created by filesystem package,
but openntpd does not create it either.
However it is created by the latest version of openssh package, so that's why I could not reproduce the problem on my machine.
@ Vesa: please take a look how openssh creates /var/empty and do the same in openntpd.
-m, --create-home
Create the user's home directory if it does not exist. The files
and directories contained in the skeleton directory (which can be
defined with the -k option) will be copied to the home directory.
By default, no home directories are created.
Currently the install does NOT create the directory:
-d, --home HOME_DIR
The new user will be created using HOME_DIR as the value for the
user's login directory. The default is to append the LOGIN name to
BASE_DIR and use that as the login directory name. The directory
HOME_DIR does not have to exist but will not be created if it is
missing.
I believe the most correct solution would be to have /var/empty in the filesystems package. Having the possibility that *any package* could accidentally remove /var/empty/ and thus render openssh broken is not good, I would think.