FS#38354 - [openntpd] /var/lib/ntp not created, causes shadow to complain

Attached to Project: Community Packages
Opened by JoKoT3 (JoKoT3) - Thursday, 02 January 2014, 10:53 GMT
Last edited by Balló György (City-busz) - Wednesday, 08 January 2014, 18:15 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Vesa Kaihlavirta (vegai)
Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

openntpd.install creates a user ntp with home directory /var/lib/ntp, but the later is not created if not present.

It causes the command "pwck -r" to complain about a none existent home directory for user ntp :
"user 'ntp': directory '/var/lib/ntp' does not exist"

Note that the above command is used in the daily cronjob /etc/cron.daily/shadow (owned by the package shadow).

Additional info:
* package version(s)
openntpd: 3.9p1-22
shadow: 4.1.5.1-5

* config and/or log files etc.
NA

* Steps to reproduce:
- install openntpd
- let cron.daily runs
- receive an angry email from cron

* Suggested fix:
Use the parameter "-m" with the command useradd in post_install (openntpd.install)
This task depends upon

Closed by  Balló György (City-busz)
Wednesday, 08 January 2014, 18:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  openntpd 3.9p1-23

Loading...