Source: owfs
Version: 3.2p4+dfsg1-6
Severity: normal

Hi,

the owfs uses adduser in preinst. This includes the need to support 
running with old adduser, which in turn comes with the requirement of 
using all that scaffolding around adduser that is there today.

Adduser in preinst is a very unusual way, as the adduser maintainer I 
can come up with an idea why that would be needed. I am interesting in 
hearing an explanation why you are causing yourself this kind of pain.

Please consider moving your adduser call to postinst. That way you can 
get rid of the Pre-depends AND lose the need for all that scaffolding. 
In postinst, it should be enough to just use

adduser --system --comment "Debian OWFS system account" --home /var/lib/owfs

without any scaffolding, group creation and else and you should be just 
fine. Anything else is probably a bug in adduser, let mek now about your 
needs. Do you NEED the home directory? Maybe you can just omit that and 
get /nonexistent as home directory.

Greetings
Marc

Reply via email to