At the moment, individual binaries are mentioned specifically in the install file.
When new binaries are added, manual work is needed to get them packaged, which affects
the upstream autopkgtest-based CI.
Change systemd.install to instead pick up everything from usr/bin and bin.
The new systemd-timesyncd package conflicting with other NTP-related
packages resolves the problems arising when installing systemd-timesyncd
and other NTP servers on the same system.
Co-authored-by: Michael Biebl <biebl@debian.org>
LP: #1849156Closes: #805927, #947936
Add a helper script debian/extra/make-sysusers-basic which generates a
sysusers.d(5) file from Debian's static master passwd/group files.
systemd 238 now supports specifying different uid and gid and a
non-default login shell, so this is possible now.
Closes: #888126
This provides a working PAM config for upstream builds as well (spotted by
https://github.com/systemd/systemd/pull/4259). The upstream/Fedora and Debian
one deviate so much that simple seddery would be too complex as well.
No effective change for Debian packages.
Gbp-Dch: Ignore
We need an "early" session target for things like gnome-keyring, openssh's
ssh-agent, session-migration etc. which all need to start before the main
desktop. These export environment variables to systemd/D-Bus such as
SSH_AUTH_SOCK or update the gsettings database.
This will be upstreamed soon once the structure for graphical systemd sessions
settles down.
Gbp-Dch: Short
debian-fixup.service just has one purpose now (make /etc/mtab a symlink), so
drop the debian/extra/debian-fixup shell script and put the ln command directly
into debian-fixup.service. Update the description.
Upstream now calls a /lib/systemd/systemd-sysv-install abstraction. Provide one
for update-rc.d.
This also implements the "is-enabled" command by directly checking for the
presence of rcS or rc5 symlinks.
Closes: #760616
This mostly auto-mounts /sys/firmware/efi/efivars, but also provides a
generator for auto-detecting the root and the /boot/efi partition if they
aren't in /etc/fstab.
Closes: #773533
They are basically a copy from the old udev package.
Also update the systemd.install file.
Two important issues:
- Since we are using dh_installinit --sourcedirectory now (for the
flavours), we can no longer install files from debian/ via .install
and need to do that manually via debian/rules.
- Splitting up systemd and udev is rather cumbersome as they have many
shared directories. Instead of listing each file individually, we
allow that some files are installed twice and remove them later on via
debian/rules.
A lot of packages simply install systemd units but do not enable them.
Running "systemctl enable" in the maintainer scripts is not really an
option since it is not guaranteed that systemd is installed. We
therefore implement a workaround for wheezy which is supposed to go away
in jessie once we have the necessary tools support in debhelper etc.
What the proposed workaround does is:
- Install a dpkg file trigger for /lib/systemd/system which triggers a
script named /lib/systemd/debian-enable-units every time a package
installs a systemd unit.
- Run this script also upon initial installation of systemd and once on
upgrades from earlier releases.
The script in particular does the following:
- Run "systemctl enable" for each service or socket it finds in
/lib/systemd/system but does that only once, so the administrator can
disable them if wanted.
- Record the state and installed symlinks. When a package shipping
systemd units is uninstalled, we remove those symlinks again.
- Use a blacklist for internal services.
- If systemd is not the active init, it will only create a tag file
and next time we boot with systemd, the script will be run early
during boot. For that we install a service named
debian-enable-units.service which is run in basic.target.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692150