Bug#900366: postinst creation of /etc/machine-id breaks CustomFirstBoot unit parameter

2018-05-29 Thread Matthew Richardson
I spotted this when trying to use the ConditionFirstBoot option writing out and enabling a new systemd service in the installer, and wondering why it was never firing on the first 'real' boot. While I appreciate that removing machine-id or playing around with it are options, they aren't general

Bug#900366: postinst creation of /etc/machine-id breaks CustomFirstBoot unit parameter

2018-05-29 Thread Michael Biebl
Am 29.05.2018 um 16:53 schrieb Matthew Richardson: > Package: systemd > Version: 238-5 > > The postinst for the systemd deb pkg contains the following: > > # Create /etc/machine-id > systemd-machine-id-setup > > This generates /etc/machine-id as the package is installed. > > However the

Bug#900366: postinst creation of /etc/machine-id breaks CustomFirstBoot unit parameter

2018-05-29 Thread Matthew Richardson
Package: systemd Version: 238-5 The postinst for the systemd deb pkg contains the following: # Create /etc/machine-id systemd-machine-id-setup This generates /etc/machine-id as the package is installed. However the systemd unit option ConditionFirstBoot uses the presence or absence of this