~usarinheininga/ubuntuplasma/+git/systemd:debian-eos3.8

Last commit made on 2020-02-05
Get this branch:
git clone -b debian-eos3.8 https://git.launchpad.net/~usarinheininga/ubuntuplasma/+git/systemd

Branch merges

Branch information

Name:
debian-eos3.8
Repository:
lp:~usarinheininga/ubuntuplasma/+git/systemd

Recent commits

38bb19e... by Dan Nicholson

Ensure only systemd-boot or systemd-boot-signed can be installed

The signed version of the package replaces files from the unsigned
version, so add a Replaces and Conflicts on the signed version.

https://phabricator.endlessm.com/T27442

ff2323c... by Dan Nicholson

Split out systemd-boot to separate package

We want to replace the systemd-boot EFI loader with a signed version,
and our normal way of doing that is to replace the package with a signed
version. However, that would be problematic for a core package like
systemd. Not only are there many reverse dependencies on systemd that
would have to be satisfied by the signed version, but the package is
Priority: important, which means that our apt-bootstrap tool would have
to resolve the conflicts during OS bootstrapping.

Instead, move the few files into a separate package. Nothing directly
depends on systemd-boot, so it should be straightforward to manage it
this way. The built architectures matches those for which gnu-efi is a
build dependency. Without that, systemd-boot is not built.

https://phabricator.endlessm.com/T27442

fe84775... by Robert McQueen <email address hidden>

pam.d/systemd-user: add pam_keyinit to link session and user keyrings

Apply a version of the change in
https://github.com/systemd/systemd/commit/ab79099d so that the user
keyring is available in systemd-user sessions, which allows keys to be
configured for accessing encrypted filesystems. See
https://github.com/google/fscrypt/issues/100 and
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1754270 for more
details.

https://phabricator.endlessm.com/T27032

f9a5aec... by =?utf-8?q?Jo=C3=A3o_Paulo_Rechi_Vita?= <email address hidden>

Do not create kvm group

We set /dev/kvm access mode to 0666, so we don't need a kvm user or
group.

https://phabricator.endlessm.com/T23373

a4620ae... by =?utf-8?q?Jo=C3=A3o_Paulo_Rechi_Vita?= <email address hidden>

Set dev-kvm-mode to 0666

We want to have /dev/kvm accessible by any user.

https://phabricator.endlessm.com/T22718

ee46f96... by =?utf-8?q?Jo=C3=A3o_Paulo_Rechi_Vita?= <email address hidden>

Enable systemd-readahead

0c4f235... by =?utf-8?q?Jo=C3=A3o_Paulo_Rechi_Vita?= <email address hidden>

Rebuild initrd when updating systemd or udev

Our initrd uses systemd and udev, so we need to rebuild the initrd when
updating either of these packages to make sure the initrd has the latest
code.

https://phabricator.endlessm.com/T18563

77d5ae9... by Will Thompson <email address hidden>

Unconditionally enable tmp.mount

Previously, we depended on the "one-time migration" block in postinst to
read /etc/default/tmpfs and enable tmp.mount by copying it into /etc.
This behaviour is inherited from Debian where tmpfs-on-/tmp is not the
default. /etc/default/tmpfs is provided by the initscripts package,
which is no longer a required package and so is not included in the
first phase of debootstrap where the systemd package is installed.

Since we always want /tmp to be a tmpfs in Endless OS, we can just
remove this Debian-specific logic and follow upstream, where tmp.mount
is installed to /lib/systemd/system and symlinked into
/lib/systemd/system/local-fs.target.wants/. Assuming that users have not
modified either /etc/systemd/system/tmp.mount or
the /etc/systemd/system/local-fs.target.wants/tmp.mount symlink,
on an ostree upgrade these files in /etc should be removed, and the
copies in /lib will be used instead. On converted systems, we can just
leave them harmlessly in place.

https://phabricator.endlessm.com/T17850

2e7e0ce... by =?utf-8?q?Jo=C3=A3o_Paulo_Rechi_Vita?= <email address hidden>

Disable systemd-resolved

We are not using systemd-resolved on EOS. Last time we checked it only
worked in conjuction with systemd-networkd.

Also remove the libnss-resolve package, which provides name resolution
through systemd-resolved as a NSS plugin

https://phabricator.endlessm.com/T4900

70d5f61... by =?utf-8?q?Jo=C3=A3o_Paulo_Rechi_Vita?= <email address hidden>

Disable timesyncd

Sounds perfect for Endless, but lets wait for it to mature first, before
we replace ntp. Searching around, there are many bug reports for this.

It only seems to integrate well with networkd; ntp may do a better job
of watching network connectivity here (need to check/compare).

https://phabricator.endlessm.com/T4900