[pkg-ntp-maintainers] Bug#665917: Bug#665917: ntp: don't use /home/ for the users homedir

Christoph Anton Mitterer calestyo at scientia.net
Tue Mar 27 20:34:39 UTC 2012


On Tue, 2012-03-27 at 23:14 +0300, Peter Eisentraut wrote:
> We could set it to /var/lib/ntp instead
Sounds good to me.


> but changing it on upgrade
> sounds a bit hairy.
Well if it's really a hassle,.. let it be,...
But IMHO it shouldn't be too much of a problem:

usermod -d /var/lib/ntp

in the configure step.


The code can be dropped in wheezy+1 one,... cause only direct upgrades
are officially supported.


Not to costly, and every user get's the "current" state :)



> I think it's also kind of a bug in adduser that it creates system users
> with a home directory under /home.
Guess you're right,... the question is what other safe value could it
use?
Then only reasonable I can think of is something like /nonexistent/ as a
fallback when nothing is provided.
Falling back to the current /home/<system-user> is ugly, but at least it
should be "safe".


Cheers,
Chris.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5677 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ntp-maintainers/attachments/20120327/2c5b61e4/attachment.bin>


More information about the pkg-ntp-maintainers mailing list