~usarinheininga/ubuntuplasma/+git/systemd:eos-250.4-debian

Last commit made on 2022-07-25
Get this branch:
git clone -b eos-250.4-debian https://git.launchpad.net/~usarinheininga/ubuntuplasma/+git/systemd

Branch merges

Branch information

Name:
eos-250.4-debian
Repository:
lp:~usarinheininga/ubuntuplasma/+git/systemd

Recent commits

cf22629... 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

fe9f883... 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

8cfce44... 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

855921e... 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

e9f49c5... 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

823b583... 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

cd9617c... 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

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

Disable networkd

We use NetworkManager on EOS, since that is what it is integrated with
GNOME.

https://phabricator.endlessm.com/T4900

1dbaf50... by Daniel Drake <email address hidden>

Disable apparmor support

We don't need this in Endless, so we can drop this library.

http://phabricator.endlessm.com/T10823

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

Set rootprefix to /

Some Debian tools do not support a unified /usr. Setting rootprefix=/
works around this problem.

https://phabricator.endlessm.com/T21201#552900