Commit Graph

76 Commits

Author SHA1 Message Date
Michael Biebl
33ee4358d7 Install new files and remove the ones we don't use
Install zsh completion files.

Closes: #717540
2014-04-27 14:35:36 +02:00
Michael Biebl
c3873876ac Add .install files for the udev packages
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.
2013-07-18 16:54:10 +02:00
Michael Biebl
d7e5781795 Use a file trigger to automatically enable service and socket units
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
2013-02-09 16:42:15 +01:00
Michael Biebl
332acbef7a Use a separate tmpfs for /run/lock (size 5M) and /run/user (size 100M).
Those directories are user-writable which could lead to DoS by filling up
/run.  Closes: #635131
2012-12-16 21:58:23 +01:00
Tollef Fog Heen
27bb26a30a Ship lsb init script override/integration in /lib/lsb/init-functions.d
Do this rather than diverting /lib/lsb/init-functions itself.  Add
appropriate Breaks to ensure upgrades happen.
2012-06-30 20:25:16 +02:00
Tollef Fog Heen
1950f28084 Convert to Multi-Arch: same where possible. Closes: #676615 2012-06-29 22:35:39 +02:00
Michael Biebl
023bd5b5e2 Install new man pages. 2012-04-02 20:25:55 +02:00
Michael Biebl
c4d908daf6 Install ifup@.service via systemd.install 2012-03-06 18:03:54 +01:00
Tollef Fog Heen
55a5aa023b Install a tmpfiles.d file for the /dev/initctl → /run/initctl migration. Closes: #657979 2012-03-01 09:11:27 +01:00
Tollef Fog Heen
db96561e5a Add symlink from /bin/systemd to /lib/systemd/systemd. 2012-02-29 22:44:53 +01:00
Michael Biebl
2b8f4caf73 Stop installing lib-init-rw (auto)mount units
and try to cleanup /lib/init/rw in postinst. Bump dependency on
initscripts accordingly. Closes: #643699
2012-02-27 22:49:13 +01:00
Michael Biebl
acfbd4637e Install new systemd-journalctl, systemd-cat and systemd-cgtop binaries. 2012-02-11 19:51:57 +01:00
Tollef Fog Heen
c05dad99f9 Install kbd-model-map too 2011-10-12 08:57:21 +02:00
Tollef Fog Heen
762763bd1f Add debian-fixup service that symlinks mtab to /proc/mounts and migrates /var/run and /var/lock to symlinks to /run 2011-09-23 19:27:41 +02:00
Michael Biebl
827b5b11db Split libsystemd-login and libsystemd-daemon into separate binary packages. 2011-09-14 08:30:08 +02:00
Michael Biebl
863520095e Install /usr/lib directory for binfmt.d, modules-load.d, tmpfiles.d and sysctl.d. 2011-06-29 13:59:31 +02:00
Tollef Fog Heen
acb7d0ffd9 New upstream version 2011-04-21 17:15:48 +02:00
Tollef Fog Heen
463c8b573c Install systemd-machine-id-setup 2011-03-11 19:44:00 +01:00
Tollef Fog Heen
0bb07ce24d Add systemd-tmpfiles to systemd package. 2011-03-02 18:26:12 +01:00
Tollef Fog Heen
4ad09fb0bc Adjust for upstream path name changes 2010-12-26 20:31:49 +01:00
Tollef Fog Heen
49221189a3 Rename session to user in .install file
Reflect upstream change of what the session/user dir is called.
2010-11-20 09:48:44 +01:00
Tollef Fog Heen
24def64852 Ship password agent 2010-11-02 21:44:05 +01:00
Tollef Fog Heen
427f9beaee Split package; move systemadm and pam module to own packages 2010-08-29 14:03:42 +02:00
Tollef Fog Heen
092d3cb47e Add systemd-sysv package which ships the symlinks that replaces sysvinit 2010-07-07 22:01:32 +02:00
Tollef Fog Heen
80d60d1922 Somewhat newer upstream snapshot, still not released 2010-06-05 08:01:20 +02:00
Tollef Fog Heen
87041ed408 Add systemd-services package 2010-05-16 10:28:54 +02:00