[Pkg-systemd-maintainers] Bug#745876: Please create /etc/machine-id if it does not exist

Martin Pitt mpitt at debian.org
Sat Apr 26 11:44:10 BST 2014


Santiago Vila [2014-04-26 12:16 +0200]:
> IMHO, such bug is ridiculous: On systems where systemd is the init
> manager, systemd becomes essential and you simply *don't* remove it!

On Debian we support multiple init systems, so in theory a user could
install sysvinit or upstart or openrc etc., and afterwards purge
systemd. In that case I think it would be wrong to remove
/etc/machine-id, as on the next installation you would get a new one
and change the machine's ID. So I see two options:

 * put it in base-files (conceptually it's similar to /etc/os-release)
   and keep it as an unowned file

 * keep it in systemd, and ignore the piuparts report about an unowned
   file after purging (is there a blacklist?)

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)




More information about the Pkg-systemd-maintainers mailing list