Bug#228692: User/group creation/removal in package maintainer scripts
On Tue, Jul 31, 2018 at 07:37:46PM +0100, Simon McVittie wrote:
> dh-sysuser encapsulates maintainer script code into a single command,
> although imperative rather than declarative. It uses useradd directly,
> so it might be NIHing adduser(8).
Augh!
Seeing this saddens me deply.
The history is that, one and a half decades ago, I came to the debhelper
maintainer asking for a possibility to easily create system users from
maintainer scripts without having to write actual code aside from a
single call or a configuration file. I got a stern reply back that this
is not debhelper's domain to solve.
I went around spent a lot of time on adduser to reduce the code needed
in maintainer scripts by handling a lot of Debianisms in adduser proper.
And now, I not only see my original request implemented, negating the
work I did on adduser, I also see debhelper NIHing my work, negiating
it a second time.
Day spoiled.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421
Reply to: