[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: init system policy



>>>>> "Russ" == Russ Allbery <rra@debian.org> writes:

    >>> A second option is to migrate on upgrade the uid/gid information
    >>> into an override in /etc/systemd/system.  Requires dealing with
    >>> a dynamically generated config file in preinst/postinst, though,
    >>> which means the tools that help proper config file handling in
    >>> maintainer scripts (ucf, and sometimes dpkg-maintscript-helper)
    >>> will be of limited help.

    >> I think I'd be inclined to do this, as a one-time migration,

    Russ> Yeah, this seems like the right solution to me too.  Drop a
    Russ> configuration fragment in /etc/systemd that overrides the user
    Russ> and group and then don't touch it again.

well, debconf seems like a win here.
There's no reasonable default so it's desirable to make it easy for the
admin to specify and so you'd probably want to use normal best practice
for debconf updates.


Reply to: