Commit Graph

284 Commits

Author SHA1 Message Date
Michael Biebl
9aade294d2 Update changelog 2013-02-15 13:35:34 +01:00
Michael Biebl
e1dabec4d1 Blacklist more services which shouldn't be enabled automatically 2013-02-15 13:22:09 +01: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
8b1dbbaddd Update changelog 2013-02-09 16:41:25 +01:00
Michael Biebl
96b9c5c2a0 Update changelog 2013-02-09 16:27:42 +01:00
Michael Biebl
14d2386990 Release version 44-8 to unstable 2013-01-19 20:05:42 +01:00
Michael Biebl
78266b5917 Don't enable persistent storage of journal log files.
The journal in v44 is not yet mature enough.
2013-01-19 15:40:12 +01:00
Michael Biebl
81b35386de Update changelog 2013-01-19 15:38:55 +01:00
Michael Biebl
b5180ca519 Release version 44-7 to unstable 2012-12-21 00:15:57 +01:00
Michael Biebl
ddd0b7efe4 Fix a regression in the init-functions hook wrt reload handling
that was was introduced when dropping the X-Interactive hack.
Closes: #696355
2012-12-20 02:26:49 +01:00
Michael Biebl
77e933b50e Fix prerm to only err out on remove 2012-12-16 22:24:42 +01:00
Michael Biebl
0210c6cc0f Release version 44-6 to unstable 2012-12-16 21:59:06 +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
c3f5f24967 Prevent the systemd package from being removed if it's the active init system, since that doesn't work. 2012-12-01 18:42:52 +01:00
Michael Biebl
2b6d544e78 Update changelog 2012-11-27 08:26:50 +01:00
Michael Biebl
ad0ce686d8 Run debian-fixup script only once
Converting /var/run, /var/lock and /etc/mtab to symlinks is a one-time
migration so don't try it on every boot.
2012-11-27 08:23:42 +01:00
Michael Biebl
1eea74a636 No longer ship the /sys directory in the systemd package
since it is provided by base-files nowadays.
2012-11-06 22:40:31 +01:00
Michael Biebl
9409f73033 Revert accidental commit
This reverts commit 75daf9e0c2.
2012-10-27 22:13:47 +02:00
Michael Biebl
fb676e109a Fix the bug number for the reload-on-shutdown issue 2012-10-26 07:25:26 +02:00
Michael Biebl
75daf9e0c2 foo 2012-10-25 22:32:24 +02:00
Michael Biebl
176d670a53 Release version 44-5 to unstable 2012-10-25 21:54:48 +02:00
Michael Biebl
b1407b8dac Add watch file to track new upstream releases. 2012-10-24 02:29:36 +02:00
Michael Biebl
82c82cbd35 Update changelog 2012-10-23 01:54:52 +02:00
Michael Biebl
45d5125a82 Update changelog 2012-10-23 01:52:49 +02:00
Michael Biebl
ea12a21634 Avoid reload and (re)start requests during early boot which can lead to deadlocks. Closes: #624599 2012-10-18 10:16:14 +02:00
Michael Biebl
74ac0fef8f Update Vcs-* fields, the Git repository is hosted on alioth now. Set the default branch to "debian". 2012-10-18 09:49:10 +02:00
Tollef Fog Heen
a4ec5ac9b2 Typo 2012-10-16 20:48:38 +02:00
Tollef Fog Heen
906745b2fc Try harder at generating a sane(r) source tree, to keep the ever-moving dpkg happy 2012-10-16 20:38:22 +02:00
Tollef Fog Heen
938929a58b Changelog 2012-10-16 19:03:24 +02:00
Tollef Fog Heen
6ae819ee96 Avoid reloading services when shutting down
Doing so won't work and makes no sense.  Thanks to Michael Stapelberg
for the patch.  Closes: #624599.
2012-10-16 18:39:27 +02:00
Tollef Fog Heen
df3a84e49e disable killing on entering START_PRE, START, thanks to Michael Stapelberg for patch. This avoids killing VMs run through libvirt when restarting libvirtd. Closes: #688635. 2012-10-16 18:09:31 +02:00
Tollef Fog Heen
77c6b0275b Override timestamp when building man pages
Override timestamp for man page building, thereby avoiding skew
between architectures which caused problems for multi-arch.  Closes:
2012-07-21 22:05:17 +02:00
Tollef Fog Heen
1c60037ae1 Changelog for 605a506 2012-07-01 08:39:07 +02:00
Tollef Fog Heen
489afd6639 Typo 2012-07-01 08:37:58 +02:00
Tollef Fog Heen
60f990561e Changelog for 499fb21 2012-07-01 08:37:31 +02:00
Tollef Fog Heen
1394b97d98 Move diversion removal from postinst to preinst. Closes: #679728 2012-07-01 08:23:34 +02:00
Tollef Fog Heen
65f4f7502c Upload to unstable 2012-06-30 20:35:40 +02:00
Tollef Fog Heen
eec7167ea7 Stop sourcing the "original" init-functions script 2012-06-30 20:30:36 +02: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
09b939b54e changelog 2012-06-29 22:43:34 +02:00
Tollef Fog Heen
1950f28084 Convert to Multi-Arch: same where possible. Closes: #676615 2012-06-29 22:35:39 +02:00
Tollef Fog Heen
53771c52a0 Bump to debhelper 9. 2012-06-29 22:34:45 +02:00
Tollef Fog Heen
d651268c4f Upload to unstable 2012-06-05 22:53:44 +02:00
Tollef Fog Heen
cc8cb31d82 We keep the debian units on the Debian branch for now 2012-06-05 22:44:53 +02:00
Tollef Fog Heen
59eb094908 Error when patches are empty 2012-06-05 22:42:31 +02:00
Tollef Fog Heen
b62a2b9481 Add python-dbus and python-cairo to Suggests, for systemd-analyze. Closes: #672965 2012-06-05 22:40:07 +02:00
Tollef Fog Heen
363f2b4085 Make sure /run/sensigs.omit.d exists. 2012-06-05 22:31:19 +02:00
Tollef Fog Heen
31bfeb5fa5 Bring tmpfiles.d/tmp.conf in line with Debian defaults. Closes: #675422 2012-06-05 20:59:36 +02:00
Tollef Fog Heen
95a0f68445 Write up changelog 2012-06-05 20:56:31 +02:00
Michael Biebl
7598935ed4 Don't ignore errores in systemd-sysv postinst
and add a missing #DEBHELPER# stanza.
2012-04-28 11:25:43 +02:00