Re: Detecting the init system in use

2017-12-13 Thread Jamie Strandboge
On Wed, 2017-12-13 at 22:03 +0100, Martin Pitt wrote: > Robie Basak [2017-12-13 17:57 +]: > > 1) Fix systemd on Trusty so that testing for /run/systemd/system > > works > > again. This will probably need to remove /run/systemd/system > > correctly > > on postinst as part of the fix. This will u

Re: Detecting the init system in use

2017-12-13 Thread Martin Pitt
Robie Basak [2017-12-13 17:57 +]: > 1) Fix systemd on Trusty so that testing for /run/systemd/system works > again. This will probably need to remove /run/systemd/system correctly > on postinst as part of the fix. This will unbreak MAAS and snapd working > together. It may work to adjust the

Detecting the init system in use

2017-12-13 Thread Robie Basak
The "official" way to detect if systemd is running appears to be to check if the directory /run/systemd/system exists (from sd_booted(3)). Our init-system-helpers package uses this test for example, and the test correctly handles edge cases where one init system is installed but another is in use s

Re: Road to new openssl

2017-12-13 Thread Dimitri John Ledkov
On 12 December 2017 at 23:15, Marc Deslauriers wrote: > On 2017-12-12 10:59 AM, Dimitri John Ledkov wrote: >> openssl has changed api/abi. Currently Ubuntu ships 1.0.2 LTS series >> openssl. Newer api/abi is available as a non-lts 1.1.0 series. Both >> 1.0.2 and 1.1.0 series will go end of life up