Commit Graph

3267 Commits

Author SHA1 Message Date
Michael Stapelberg
df8137f6ec revert 92c4ef2d35
We don’t have /usr mounted in the initramfs yet in Debian, so let’s
support split usr by copying the file instead of symlinking if
necessary, for now.

Closes: #726256
2013-11-27 23:03:38 +01:00
Guido Günther
4e04639af4 Add systemd-journal group
Users in this group are allowed to see system messages and messages from
other uses.
2013-11-27 21:23:41 +01:00
Michael Stapelberg
c4c50e0c79 allow group adm read access on /var/log/journal
Closes: #717386
2013-11-27 21:22:21 +01:00
Michael Stapelberg
b4151c6a1b update debian/changelog to reflect all changes since 204-5 2013-11-27 19:43:49 +01:00
Martin Pitt
2bcb06e041 debian/extra/rules/75-persistent-net-generator.rules: Add Ravello systems
This is a cloud provider with VMs.

http://hwaddress.com/mac/2CC260-000000.html
https://launchpad.net/bugs/1099278
2013-11-07 10:22:13 +01:00
Martin Pitt
0bf24e9c39 debian/shlibs.local: Drop libudev
This unnecessarily generates overly strict dependencies, the libudev ABI is
stable.
2013-11-07 10:21:40 +01:00
Martin Pitt
5c24e55e8d debian/udev-udeb.install: Add 64-btrfs.rules and 75-probe_mtd.rules
They are potentially useful in a d-i environment.
2013-11-07 10:21:07 +01:00
Martin Pitt
6c90e1b720 debian/udev.upstart: Fix path to udevd
The /sbin/udevd compat symlink should go away at some point.
2013-11-06 15:52:09 +01:00
Tollef Fog Heen
95f6727943 Make 99-systemd.rules check for /run/systemd/systemd instead of the ill-named cgroups directory. 2013-10-28 14:31:37 +01:00
Michael Stapelberg
449d45f17b preinst: only preserve unit files for systems running systemd as PID 1 (Thanks mbiebl) 2013-10-28 08:02:58 +01:00
Michael Stapelberg
75051b6a5a preinst: preserve var-{lock,run}.mount when upgrading from 44 to 204
Closes: #723936
2013-10-27 22:50:51 +01:00
Michael Biebl
fd3b3f724a Release version 204-5 to unstable
urgency=high for the security upload.
2013-09-23 13:27:30 +02:00
Michael Biebl
44a0606351 Update changelog 2013-09-23 13:27:27 +02:00
Michael Biebl
304881a172 Clarify changelog regarding the circular dependency between udeb packages 2013-09-18 11:35:37 +02:00
Michael Biebl
7fda0a74f6 Release version 204-4 to unstable 2013-09-18 00:05:42 +02:00
Michael Biebl
a970518401 Update changelog 2013-09-18 00:05:18 +02:00
Michael Biebl
6b3cc5b26b Use devtmpfs instead of tmpfs
udev now requires devtmpfs, so update the SysV init script and various
other places to use devtmpfs instead of tmpfs.  Closes: #722604
2013-09-18 00:05:18 +02:00
Michael Biebl
11ca826b87 Simplify enable_udev() on initial installation
Since UDEV_ROOT support has been removed upstream, simplify
enable_udev() which is run on initial installation. We now just run
"invoke-rc.d udev start" and restart daemons whose sockets might have
been hidden by the devtmpfs.
2013-09-18 00:05:18 +02:00
Michael Biebl
348ba69de1 Abort udev upgrade if devtmpfs support is missing
Add preinst check to abort udev upgrade if the currently running kernel
lacks devtmpfs support. Since udev 176, devtmpfs is mandatory as udev no
longer creates any device nodes itself. This only affects self-compiled
kernels which now need CONFIG_DEVTMPFS=y.  Closes: #722580
2013-09-18 00:05:18 +02:00
Michael Biebl
799b47d26f Remove pre-squeeze upgrade code 2013-09-18 00:05:18 +02:00
Michael Biebl
b73afffe5e Suppress errors about unknown hwdb builtin
udev 196 introduced a new "hwdb" builtin which is not understood by the
old udev daemon.
2013-09-18 00:05:18 +02:00
Michael Biebl
bf7810deab Re-order upgrade version checks to improve readability
Nesting the upgrade version checks safes us a few
"dpkg --compare-versions" calls, but makes the code unnecessarily hard
to read. Since "dpkg --compare-versions" is rather cheap, re-order the
version checks to improve readability.
2013-09-18 00:05:18 +02:00
Michael Biebl
ca07bb2bc4 Use /dev instead of $udev_root
UDEV_ROOT is no longer configurable, so simply use /dev everywhere.
See also dbad4c2a8d
2013-09-18 00:05:18 +02:00
Michael Biebl
001d346af5 Remove udev-udeb dependency from libudev1-udeb
This dependency was copied over from the old udev-gtk-udeb package and
no longer makes any sense since libudev1-udeb only contains a library
nowadays. It also leads to a circular dependency.
2013-09-18 00:04:57 +02:00
Michael Biebl
6af523c5a1 Use the official field for udebs: Package-Type 2013-09-17 23:49:54 +02:00
Michael Biebl
0c2b16eb89 Add missing udeb line to shlibs.local
This ensures that udev-udeb gets a proper dependency on
libudev1-udeb and not libudev1.  Closes: #722939
2013-09-17 23:49:42 +02:00
Michael Biebl
a8839b94b0 Add a few more bug references 2013-09-12 04:10:33 +02:00
Michael Biebl
735c45441c Release version 204-3 to unstable 2013-09-12 00:13:24 +02:00
Michael Biebl
f361d66168 Update changelog 2013-09-12 00:13:08 +02:00
Michael Biebl
0685ae6099 Don't install kernel-install(8) man page
We don't ship the kernel-install binary so we shouldn't ship its man
page either.  Closes: #722180
2013-09-12 00:00:55 +02:00
Michael Biebl
09e8ede2d1 Drop obsolete Replaces: libudev0
It was added in udev 171-2 where the changelogs and documentation files
in udev were converted to symlinks pointing to libudev0.
2013-09-11 23:56:43 +02:00
Michael Biebl
59d77869d4 Small documentation tweak, add reference to upstream docs 2013-09-11 23:56:43 +02:00
Michael Biebl
a224634178 Generate strict dependencies between the binary packages
Use a shlibs.local file to generate strict inter-package dependencies
and add an explicit versioned dependency on libsystemd-login0 to systemd.
This ensures that e.g. libsystemd-login is always talking to the correct
version of systemd-logind.  Closes: #719444
2013-09-11 23:56:16 +02:00
Michael Biebl
b08062333d Only import net.ifaces cmdline property for network devices
otherwise the property is set for all devices.
2013-08-09 13:48:15 +02:00
Michael Biebl
990b9ab4f2 Use /bin/bash as debug-shell
The /bin/sh symlink typically points to dash, which is a very basic and
not very comfortable shell. Since bash is an essential package and thus
always available, use that as debug-shell instead.
2013-08-09 11:49:53 +02:00
Michael Stapelberg
d151046c20 Don’t mount /tmp as tmpfs by default
…by adding an [Install] section to tmp.mount and removing the
local-fs.target.wants symlink.

Users can use “systemctl enable tmp.mount” to enable mounting /tmp after
the next reboot and “systemctl start tmp.mount” to get /tmp mounted as
tmpfs right now (beware, files currently in /tmp will not be visible
anymore afterwards).
2013-08-08 22:03:37 +02:00
Daniel Schaal
e99de7b9d7 Add bug-script to systemd and udev
This gives the output of systemd-delta, systemctl dump
and the contents of /var/lib/systemd/deb-systemd-helper-enabled.

Print the udev database for udev.

Closes: #711245
2013-08-03 11:54:30 +02:00
Michael Biebl
410f6ca973 Remove outdated ifupdown problem from README.Debian
The /lib/init/rw directory is gone since wheezy, so talking about that
in README.Debian is likely to be more confusing then helpful.
2013-07-30 22:01:56 +02:00
Michael Biebl
3334c9bd77 Remove Python byte code files on dh_auto_clean 2013-07-30 21:58:22 +02:00
Michael Stapelberg
6ae0edf68c Remove outdated known problem from README.Debian (Thanks joeyh) 2013-07-28 22:02:25 +02:00
Michael Biebl
8447689fef Set debug-shell to /bin/sh
Debian doesn't have /sbin/sushell, so use /bin/sh in
debug-shell.service.
2013-07-25 07:29:43 +02:00
Michael Biebl
e7736214dd Release version 204-2 to experimental 2013-07-25 00:46:23 +02:00
Michael Biebl
d7f4b978c1 Update changelog 2013-07-25 00:46:23 +02:00
Michael Biebl
e14b697bbe Restart systemd-logind.service on upgrades
The CreateSession D-Bus API of systemd-logind changed between v44 and
v204 [1]. As result, newer versions of libpam-systemd fail to register a
new session if they talk to the old systemd-logind process.
Restarting systemd-logind.service when upgrading from v44 means we will
lose existing sessions, but as wheezy still has ConsoleKit as default,
this shouldn't matter that much.  Closes: #717403

[1] https://bugs.freedesktop.org/show_bug.cgi?id=67131
2013-07-25 00:46:10 +02:00
Michael Biebl
e7408c3c00 Adjust package priorities
Since other packages now depend on the systemd packages, make all
packages Priority: optional, with the exception of udev and libudev1,
which remain Priority: important, and systemd-sysv, which remains
Priority: extra due to the conflict with sysvinit.  Closes: #717365
2013-07-25 00:46:10 +02:00
Michael Biebl
8646caae71 Add Breaks against consolekit (<< 0.4.6-1) for udev-acl
The udev-acl tool was removed from udev in version 182 and added to
consolekit. The Breaks ensures that a recent enough version of
consolekit is installed which is shipping this tool. While we will
switch to logind for dynamic device ACLs, this will ensure a smooth
upgrade path in the mean time.  Closes: #717385
2013-07-25 00:46:10 +02:00
Michael Biebl
36e53cb53f Bump Standards-Version to 3.9.4
No further changes.
2013-07-25 00:46:10 +02:00
Michael Biebl
e6a954ff04 Bind ifup@.service to the network device
This ensures that ifdown is run when the device is removed and the
service is stopped.  Closes: #660861, #703033

We eventually should rework that and instead of calling systemctl in
net.agent, start the service directly from the udev rule via
ENV{SYSTEMD_WANTS}.
2013-07-25 00:46:10 +02:00
Michael Biebl
5049dbeef9 Remove obsolete support for configurable udev root
Upstream has removed support for a configurable UDEV_ROOT in udev 176
when devtmpfs became mandatory. We already removed this from the SysV
init script in commit dbad4c2a8d.
2013-07-25 00:46:06 +02:00
Michael Biebl
bf0c1602dd Remove "exit 0" from udev.postrm
Since we are using "set -e", adding "exit 0" at the end of the script
is superfluous.
2013-07-24 22:16:16 +02:00
Michael Stapelberg
ce5b4ea89b Install 50-firmware.rules in the initramfs and udeb
In commit 6a1547f157 we switched from our
own firmware agent to the upstream one, but forgot to install
50-firmware.rules in the initramfs and the udev-udeb package.
2013-07-23 18:33:24 +02:00
Michael Biebl
97705351a3 Switch the hwdb trigger to interest-noawait 2013-07-21 15:33:42 +02:00
Daniel Schaal
5c31508eef Remove leftover symlink to debian-enable-units 2013-07-21 15:33:08 +02:00
Michael Biebl
8c331b989d Don't pass static start priorities to dh_installinit anymore
They haven't been used by update-rc.d for a while and generate a warning now.
2013-07-21 15:30:07 +02:00
Daniel Schaal
6853903fe2 Add handling of Message Catalog files.
This compiles the files from /usr/lib/systemd/catalog into a
binary database, which is used by journalctl to provide
additional information for log entries. journalctl only uses
the binary database in /var/lib/systemd/catalog/database.

Call journalctl --update-catalog in systemd.postinst and when
triggered by dpkg to update the Message Catalog database.
Also add systemd.postrm to remove the database on purge.

See http://www.freedesktop.org/wiki/Software/systemd/catalog/
2013-07-21 12:10:48 +02:00
Daniel Schaal
c07a22c15a Enable verbose build logs by passing --disable-silent-rules to configure.
See https://wiki.debian.org/ReleaseGoals/VerboseBuildLogs
2013-07-21 11:54:03 +02:00
Michael Biebl
2d2246f0d1 Release version 204-1 to experimental 2013-07-19 00:33:18 +02:00
Michael Biebl
76c82a9db3 Update changelog 2013-07-19 00:32:22 +02:00
Michael Stapelberg
e5206e9751 Skip 75-persistent-net-generator.rules if net.ifnames==1 2013-07-19 00:03:12 +02:00
Michael Stapelberg
729f06f073 Fix RUNDIR to be /run/udev, udevadm info --run does not exist anymore 2013-07-19 00:03:12 +02:00
Michael Stapelberg
0bcf5c0126 fix udev.service → systemd-udevd.service renaming issue
See the commit contents for a comment.
2013-07-18 23:13:35 +02:00
Michael Biebl
faacffefa2 Restart the journal service on upgrades 2013-07-18 21:31:50 +02:00
Michael Biebl
fc0c2cfb83 Install a dpkg file trigger for /lib/udev/hwdb.d
Run udevadm hwdb --update automatically whenever a packages drops a
file in that directory.
2013-07-18 21:22:01 +02:00
Michael Biebl
1e8cf451fc Run udevadm hwdb --update on install/upgrades
and cleanup the hwdb.bin file on purge.
2013-07-18 21:15:25 +02:00
Michael Biebl
0e51dddd36 Merge patch(es) from upstream-fixes branch 2013-07-18 21:02:01 +02:00
Michael Biebl
e8aef519f6 Launch logind via a shell wrapper
We need to setup the cgroupfs mount and the runtime directory before
starting logind. Use a shell script which is triggered by the D-Bus
service.
2013-07-18 20:52:43 +02:00
Michael Stapelberg
c1c1ca9146 Remove obsolete debian/udev*.dirs entries 2013-07-18 20:34:39 +02:00
Michael Stapelberg
d451c9084b udev: install rules files and extras
This makes the debdiff file lists approximately identical, minus
expected differences.
2013-07-18 20:09:04 +02:00
Michael Biebl
3ad456c7a1 Re-add write_cd_rules and write_net_rules from udev 175
Upstream dropped those generators. Since the debian specific rules
(75-cd-aliases-generator.rules and 75-persistent-net-generator.rules)
still use them, we copy them from the udev 175 source package along with
rule_generator.functions which is used by those generators.
2013-07-18 19:41:21 +02:00
Michael Stapelberg
a3e8371ea0 drop udev.udev-mtab.init, /etc/mtab is a symlink to /proc/mounts
Call rm_conffile and update-rc.d remove to make it go away.
2013-07-18 19:29:19 +02:00
Michael Stapelberg
1862d150b3 remove edd_id, not shipped upstream anymore
removed upstream with commit 4774868cca
2013-07-18 19:29:19 +02:00
Michael Biebl
c6217ab865 udev-udeb: use new, absolute path for udevd 2013-07-18 19:29:19 +02:00
Michael Biebl
c71dcd81b9 initramfs: copy compat symlink for udevadm
We don't want to break existing initramfs scripts which use the old,
absolute path /sbin/udevadm.
2013-07-18 19:29:19 +02:00
Michael Stapelberg
11cd7b5449 initramfs: use new paths when installing udevadm and udevd 2013-07-18 19:29:19 +02:00
Michael Stapelberg
b0277324ad s/udev.service/systemd-udevd.service/g 2013-07-18 19:29:19 +02:00
Michael Stapelberg
d1364fa9f9 net.agent: update check to work for systems with standalone logind 2013-07-18 19:29:19 +02:00
Michael Stapelberg
dbad4c2a8d udev.init: drop experimental support for "$udev_root" != "/dev" 2013-07-18 19:29:19 +02:00
Michael Stapelberg
c4671ce831 drop debian/extra/write_dev_root_rule (discouraged upstream for a long time)
This file created /dev/root, but programs should not rely on that
anyway. If this breaks anything, we need to fix it in that particular
program.

See also http://bugs.debian.org/670146
2013-07-18 19:29:19 +02:00
Michael Stapelberg
6a1547f157 drop custom firmware.agent, we use the upstream builtin now
The upstream one is called in 50-firmware.rules
2013-07-18 19:29:19 +02:00
Michael Biebl
8929a2ff30 Add changes from 175-7.2 NMU (Remove blacklisting of lxfb)
Patch courtesy of Ben Hutchings <ben@decadent.org.uk>
2013-07-18 19:29:19 +02:00
Michael Biebl
6ab50b03cf Add changes from 175-7.1 NMU (upstart support)
Patch courtesy of Steve Langasek <steve.langasek@ubuntu.com>
2013-07-18 19:29:15 +02:00
Michael Biebl
b56f8637a1 Merge remaining files from udev 175-7
The patches from udev were either merged upstream, applied directly,
added as files to debian/extra/ or dropped:

- debian/patches/commit-4b50a3d
  Applied upstream in 4b50a3d004
- debian/patches/fix_gtkdoc_oot
  Fixed upstream
- debian/patches/libudevpc_no_librt
  Fixed upstream in e712ffcce6
- debian/patches/vio_type
  Dropped for now.
- debian/patches/debian_rules
  Added as debian/extra/rules/*
- debian/patches/extra_agents
  Added as debian/extra/*.agent and debian/extra/hotplug.functions
- debian/patches/extra_initramfs
  Added as debian/extra/initramfs.*
- debian/patches/extra_installer
  Added as debian/extra/udev.*
- debian/patches/extra_modprobeconf
  Added as debian/extra/fbdev-blacklist.conf and
  debian/extra/make-fbdev-blacklist
- debian/patches/extra_misc
  Added as debian/extra/links.conf and debian/extra/create_static_nodes
- debian/patches/dont-build-some-helpers
  Dropped, since we will use the upstream firmware agent now
- debian/patches/libgudev_in_usr
  Applied as 418b0a2d41
- debian/patches/rules_compat_qemu
  Dropped, only needed for kernel versions <= 2.6.32
- debian/patches/use_run_tmpfs
  Dropped, since wheezy /run is mandatory
- debian/patches/dev_root_rule
  Dropped, discouraged upstream
- debian/patches/udevd_in_sbin
  Dropped, we will use the $libexec path now in the .service file and
  provide compat symlinks
- udev_conf_comments
  Applied as c82d84e916
2013-07-18 18:57:39 +02:00
Michael Biebl
60deb48806 Update debian/copyright using the machine-readable copyright format 1.0. 2013-07-18 18:25:36 +02:00
Michael Biebl
8096c0cbbb Don't pull any patches from upstream-fixes branch for now
Otherwise gitpkg refuses to build. Once we have any fixes, we'll add
them to upstream-fixes-experimental.
2013-07-18 17:12:53 +02:00
Michael Biebl
845db5deec Don't install unused files
We don't really need the RPM macros and we currently don't ship the
kernel-install tool, so remove those two directories.
2013-07-18 17:12:48 +02:00
Michael Biebl
84a01447b7 Revert "Don't hard-code Pre-Depends in udev but use ${misc:Pre-Depends} instead"
This partially reverts commit 238dae120d.

We are using debconf in preinst, so we need the debconf dependency in
Pre-Depends, but dh_installdebconf only adds it to ${misc:Depends}.
Which means we have to specify it manually.
2013-07-18 16:54:22 +02:00
Michael Biebl
0d1c65bd60 Create /sbin/udevadm compat symlink for udev-udeb
Avoid breaking the installer by creating a compat symlink for udevadm.
Can be removed once we have checked (and updated) d-i and all related
udebs.
2013-07-18 16:54:22 +02:00
Michael Biebl
47d2341620 Remove the dpkg-triggered debian-enable-units script
This was a temporary workaround for wheezy. Packages should use dh-systemd
now to properly integrate service files with systemd.
Remove the state files on upgrades.
2013-07-18 16:54:22 +02:00
Michael Biebl
1fb48b3157 Install Debian specific files for systemd 2013-07-18 16:54:22 +02:00
Michael Biebl
69a9a18e17 Add udeb reference to the libudev1 shlibs file 2013-07-18 16:54:22 +02:00
Michael Biebl
860de8ae3c Upstream provides a native rc-local.service now
so create an Alias for the rc.local SysV init script.
2013-07-18 16:54:22 +02:00
Michael Biebl
7e331807dd Upstream renamed remount-rootfs.service → systemd-remount-fs.service 2013-07-18 16:54:22 +02:00
Michael Biebl
5ff97674be Create a few compat symlinks for the udev package
most notably /sbin/udevadm and /sbin/udevd.
2013-07-18 16:54:15 +02:00
Michael Biebl
61cb016e70 Use symlinked doc directories for the udev pacakges as the old udev package did 2013-07-18 16:54:15 +02:00
Michael Biebl
b3b5b90529 Remove duplicate files 2013-07-18 16:54:15 +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
b49fe705a3 Build two flavours
a regular build and one for the udev udebs with reduced dependencies.
2013-07-18 15:28:03 +02:00
Michael Biebl
15758c3bd8 Rename udev-gtk-udeb → libudev1-udeb
to better reflect its actual contents
2013-07-17 20:24:08 +02:00
Michael Biebl
9d0e1d84f4 Rename conffiles for logind and journald 2013-07-17 20:24:08 +02:00
Michael Biebl
8af0f8a1f5 Remove obsolete bash-completion scripts on upgrades
Nowadays they are installed in /usr/share/bash-completion/completions.
2013-07-17 20:24:08 +02:00
Michael Biebl
b64e2e5e38 Tighten Depends on libsystemd-id128-dev for libsystemd-journal-dev as per libsystemd-journal.pc. 2013-07-17 20:24:08 +02:00
Michael Biebl
1e86aae107 Enable python bindings for the systemd libraries
and ship them in a new package named python-systemd.
2013-07-17 20:23:51 +02:00
Michael Biebl
4871634c6a Run gtkdocize on autoreconf.
This is now required since we are building gtk-doc based documentation.
2013-07-17 20:20:34 +02:00
Michael Biebl
ff6205062c Update symbols files
libudev now uses symbols versioning as the other libsystemd libraries.
The libgudev-1.0-0 symbols file has been copied from the old udev package.
2013-07-17 20:20:34 +02:00
Michael Biebl
292ed6dbac Rename libudev0 → libudev1 for the SONAME bump. 2013-07-17 20:20:34 +02:00
Michael Biebl
a2b8cfa13c Use gir dh addon to ensure ${gir:Depends} is properly set. 2013-07-17 20:20:33 +02:00
Michael Biebl
b8edca7465 Update Build-Depends
- Drop libudev-dev, no longer required.
- Add gtk-doc-tools and libglib2.0-doc for the API documentation in
  libudev and libgudev.
- Add libgirepository1.0-dev and gobject-introspection for GObject
  introspection support in libgudev.
- Add libgcrypt11-dev for encryption support in the journal.
- Add libblkid-dev for the blkid udev builtin.
2013-07-17 20:20:33 +02:00
Michael Biebl
d943c214d7 Explicitly set Section and Priority for the udev binary package. 2013-07-17 20:20:33 +02:00
Michael Biebl
bfda5c156f Add Depends on libpam-runtime (>= 1.0.1-6) to libpam-systemd
as we are using pam-auth-update.

https://wiki.ubuntu.com/PAMConfigFrameworkSpec#module_package_implementation
2013-07-17 20:20:33 +02:00
Michael Biebl
57395a9947 Drop our faketime hack
Upstream uses a custom xsl style sheet now to generate the man pages
which no longer embeds the build date.
2013-07-17 20:20:33 +02:00
Michael Biebl
6f61866a96 The hwdb builtin has replaced pci-db and usb-db in udev
Drop the Recommends on pciutils and usbutils accordingly.
2013-07-17 20:20:33 +02:00
Michael Biebl
cd3f2c02ce Make libgudev-1.0-dev depend on gir1.2-gudev-1.0
as per GObject introspection mini-policy.  Closes: #691313
2013-07-17 20:20:33 +02:00
Michael Biebl
7ffbf10c80 Drop old Conflicts, Replaces and Breaks, which are no longer necessary. 2013-07-17 20:20:33 +02:00
Michael Biebl
238dae120d Don't hard-code Pre-Depends in udev but use ${misc:Pre-Depends} instead
Also drop the hard-coded Depends on libglib2.0-0 from gir1.2-gudev-1.0.
2013-07-17 20:20:33 +02:00
Michael Biebl
2ede64711e Wrap dependencies for better readability. 2013-07-17 20:20:33 +02:00
Michael Biebl
a74a316769 Add binary packages as found in the udev 175-7.2 source package. 2013-07-17 20:20:33 +02:00
Michael Biebl
ffd5b9a0e7 Drop Suggests on the various python packages from systemd
The systemd-analyze tool has been reimplemented in C.
2013-07-17 20:20:33 +02:00
Michael Biebl
0961d9284e Add Marco to Uploaders. 2013-07-17 20:20:29 +02:00
Michael Biebl
a980748924 New upstream release
New upstream release.  Closes: #675175, #675177
- In v183 the udev sources have been merged into the systemd source tree.
  As a result, the udev binary packages will now be built from the systemd
  source package.
2013-07-17 17:00:21 +02:00
Michael Biebl
bb7d767053 Release version 44-12 to unstable 2013-06-20 01:32:36 +02:00
Michael Biebl
193016badc Stop building the GUI bits.
They have been split into a separate source package called systemd-ui.
2013-06-20 01:31:37 +02:00
Michael Biebl
389037ee07 Set Maintainer to pkg-systemd-maintainers@lists.alioth.debian.org.
Add Tollef and myself as Uploaders.
2013-06-20 01:19:38 +02:00
Michael Biebl
10952c547d Update the checks which test if systemd is the active init.
The recommended check is [ -d /run/systemd/system ] as this will also
work with a standalone systemd-logind.
2013-06-20 01:17:00 +02:00
Michael Biebl
445f8dfd5b If the new init-system-helpers package is installed, make the debian-enable-units script a no-op.
The auto-enabler was meant as a temporary workaround and will be
removed once all packages use the new helper.
2013-06-20 01:17:00 +02:00
Michael Biebl
7741086a26 Update changelog 2013-06-20 01:16:55 +02:00
Michael Biebl
f6e97c22b0 Release version 44-11 to unstable 2013-03-13 08:05:11 +01:00
Michael Biebl
c8b9df6d6a Do not fail on purge if /var/lib/systemd is empty and has been removed by dpkg. 2013-03-13 08:05:01 +01:00
Michael Biebl
18f7c29919 Remove mountoverflowtmp.service from remount-rootfs.service
The mountoverflowtmp SysV init script no longer exists so remove that
service from remount-rootfs.service to avoid an unnecessary diff to
upstream.
2013-03-13 08:00:13 +01:00
Michael Biebl
0d5295a1b0 Run debian-enable-units.service after sysinit.target
to ensure our tmp files aren't nuked by systemd-tmpfiles.
2013-03-13 07:57:11 +01:00
Michael Biebl
ac80848d82 Release version 44-10 to unstable 2013-02-15 17:01:41 +01:00
Michael Biebl
961bfb6494 Update changelog 2013-02-15 17:00:58 +01:00
Michael Biebl
ca27164258 Don't try to enable masked services
Using the return code of "systemctl is-enabled" to determine whether we
enable a service or not is unreliable since it also returns a non-zero
exit code for masked services. As we don't want to enable masked services,
grep for the string "disabled" instead.
2013-02-15 17:00:07 +01:00
Michael Biebl
34b3c2b709 Release version 44-9 to unstable 2013-02-15 13:36:37 +01:00
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
Michael Biebl
3880e0d185 Mask checkroot-bootclean
checkroot-bootclean cleans up directories before mounting a tmpfs
over it. As systemd handles mounts differently, mask this service.
Closes: #670591
2012-04-28 10:57:09 +02:00
Michael Biebl
c3eea2b909 Re-add workaround for non-interactive PAM sessions
sudo is still broken if pam_loginuid.so is not enabled (which is the
default). So re-add the workaround to disable pam_systemd.so for
non-interactive sessions. Closes: #667470
2012-04-28 10:51:13 +02:00
Michael Biebl
a51b708402 Ship the /sys directory in the package
and don't rely on initscripts providing that directory. Closes: #670090
2012-04-28 10:49:35 +02:00
Michael Biebl
96e84054c9 Tighten the versions in the maintscript file
so the conffiles are correctly cleaned up when upgrading from the
37-1.1 NMU. Closes: #669951
2012-04-28 10:49:26 +02:00
Tollef Fog Heen
12545cadf4 Prepare for upload to unstable 2012-04-03 20:00:12 +02:00
Tollef Fog Heen
41060f5ad5 Always restart the initctl socket on upgrades, to mask sysvinit removing it. 2012-04-03 19:59:14 +02:00
Tollef Fog Heen
6b63e588d6 Note backported fixes from upstream 2012-04-02 21:59:30 +02:00
Michael Biebl
12d445f191 Build-Depend on valac (>= 0.12) instead of valac-0.12. Closes: #663323 2012-04-02 20:45:24 +02:00
Michael Biebl
023bd5b5e2 Install new man pages. 2012-04-02 20:25:55 +02:00
Michael Biebl
63ff3eef32 Create compat /dev/initctl symlink
in case we are upgrading from a system running a newer version of sysvinit
(using /run/initctl) and sysvinit is replaced with systemd-sysv during the
upgrade. Closes: #663219
2012-04-02 20:21:23 +02:00
Michael Biebl
6de6107d4f Remove workaround for non-interactive sessions from pam config again. 2012-04-02 20:19:51 +02:00
Tollef Fog Heen
c8985bd63a Drop output message from init-functions hook, it's pointless. 2012-04-02 20:17:27 +02:00
Tollef Fog Heen
c17ec9082b New upstream version (v44) 2012-04-02 20:16:43 +02:00
Tollef Fog Heen
d9fba37bd5 Explicitly order debian-fixup before sysinit.target 2012-03-13 17:46:54 +01:00
Tollef Fog Heen
762ad44ffd Only rmdir /lib/init/rw if it exists. 2012-03-09 14:10:49 +01:00
Tollef Fog Heen
29d07fd41e Output "reloading systemd message" to stderr, to prevent confusing debconf. 2012-03-08 15:16:27 +01:00
Tollef Fog Heen
9367214292 More bugs closed by the new upstream 2012-03-07 08:51:57 +01:00
Tollef Fog Heen
e194a7a7ba Don't migrate /var/run to a symlink if /run is a symlink 2012-03-07 08:50:15 +01:00
Tollef Fog Heen
06ac2c4763 Mention CVE fixed in new upstream version 2012-03-07 08:33:45 +01:00
Tollef Fog Heen
71ae35327d Put upstream-fixes into its own branch too 2012-03-07 08:19:35 +01:00
Tollef Fog Heen
3eb8d4cf52 Disable coredump handling as it's not ready yet. 2012-03-06 22:51:24 +01:00
Tollef Fog Heen
8a01161639 Add patch to series too 2012-03-06 18:20:37 +01:00
Tollef Fog Heen
b5aa13e601 Fix up source hook 2012-03-06 18:19:49 +01:00
Tollef Fog Heen
e483fa0dde Create initctl symlink on upgrades too 2012-03-06 18:09:20 +01:00
Tollef Fog Heen
02e249ec4a Only restart systemd-initctl.socket when running under systemd 2012-03-06 18:08:07 +01:00
Michael Biebl
a6711ae34d Update /sbin/init symlink. The systemd binary was moved to $pkglibdir. 2012-03-06 18:07:25 +01:00
Michael Biebl
37f538ffa8 Remove outdated comment 2012-03-06 18:05:04 +01:00
Michael Biebl
c4d908daf6 Install ifup@.service via systemd.install 2012-03-06 18:03:54 +01:00
Michael Biebl
532b0d80be Add changes from NMU 2012-03-06 18:00:49 +01:00
Tollef Fog Heen
1f60b5b0d1 Add ref to debian version in git-patches 2012-03-06 17:56:38 +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
63924b6be9 Target upload at experimental due to kmod dep 2012-03-01 08:19:26 +01:00
Tollef Fog Heen
0b47074216 Add new symbols for libsystemd-login0 to symbols file. 2012-02-29 22:49:33 +01:00
Tollef Fog Heen
a1926860c0 Add --with-distro=debian to configure flags, due to no /etc/os-release yet. 2012-02-29 22:45:00 +01:00
Tollef Fog Heen
db96561e5a Add symlink from /bin/systemd to /lib/systemd/systemd. 2012-02-29 22:44:53 +01:00
Tollef Fog Heen
442a5b8678 Add libkmod-dev to build-depends 2012-02-28 22:15:31 +01:00
Michael Biebl
024780c1ab Add alias for kmod, the successor of module-init-tools 2012-02-28 07:58:12 +01:00
Michael Biebl
ab6bd81e80 Rename bash completion file systemctl-bash-completion.sh → systemd-bash-completion.sh. 2012-02-28 07:57:50 +01:00
Michael Biebl
e3c0434f4a Use new dh_installdeb maintscript facility to handle obsolete conffiles.
Bump Build-Depends on debhelper accordingly.

Conflicts:

	debian/changelog
2012-02-28 07:57:19 +01:00
Michael Biebl
2f5b2d81f0 Tweak description for ifup@.service a little
The boot and shutdown messages just looked weird:
 Starting Start ifup for %I
 ...
 Stopping Start ifup for %I
2012-02-28 07:51:53 +01:00
Michael Biebl
bebec9f9a7 Remove lib-init-rw symlinks
Was missed in cce644d34bd5015b4caf1756a1db827c167e51c9
2012-02-27 22:51:45 +01:00
Michael Biebl
2e750a4ad4 Disable pam_systemd for non-interactive sessions to work around an issue with sudo.
Conflicts:

	debian/changelog
2012-02-27 22:50:56 +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
655aeebaa5 Avoid error messages from systemctl in postinst
if systemd is not running by checking for /sys/fs/cgroup/systemd before
executing systemctl. Closes: #642749

Conflicts:

	debian/changelog
2012-02-27 22:48:23 +01:00
Michael Biebl
824df6f4e7 Changelog 2012-02-27 22:47:51 +01:00
Tollef Fog Heen
ed3a7e3316 Expand source hook to use git diff over git format-patch 2012-02-27 22:37:02 +01:00
Tollef Fog Heen
bcd41944eb Fix up systemd-hack-up-the-source.hook 2012-02-20 16:25:06 +01:00
Tollef Fog Heen
24be62f696 Update to v43 2012-02-20 16:02:06 +01:00
Michael Biebl
72d2611481 Install /var/log/journal directory where the journal files are stored persistently. 2012-02-11 19:58:29 +01:00
Michael Biebl
9075b0bcc2 Install /var/lib/systemd directory. 2012-02-11 19:58:11 +01:00
Michael Biebl
acfbd4637e Install new systemd-journalctl, systemd-cat and systemd-cgtop binaries. 2012-02-11 19:51:57 +01:00
Michael Biebl
92bd9fd30d Remove workarounds for services using X-Interactive.
The LSB X-Interactive support turned out to be broken and has been
removed upstream so we no longer need any special handling for those
type of services.
2012-02-11 19:51:07 +01:00
Michael Biebl
7d6d6e3953 Re-indent init-functions script. 2012-02-11 19:50:48 +01:00
Michael Biebl
afbc324da7 Copy intltool files instead of symlinking them. 2012-02-11 19:50:16 +01:00
Michael Biebl
1dbcb8bf07 Update configure flags, use rootprefix instead of rootdir. 2012-02-11 19:49:58 +01:00
Michael Biebl
8b8fe5494e Update symbols file for libsystemd-login. 2012-02-11 19:49:42 +01:00
Michael Biebl
29e8f7a38b Add packages for libsystemd-journal and libsystemd-id128. 2012-02-11 19:49:24 +01:00
Michael Biebl
196e31e750 Add versioned Build-Depends on automake and autoconf
to ensure we have recent enough versions. Closes: #657284
2012-02-11 19:48:32 +01:00
Michael Biebl
d6caa6ed2a Bump Standards-Version to 3.9.2. No further changes. 2012-02-11 19:48:08 +01:00
Tollef Fog Heen
764e8a2f93 Attribute changes correctly in changelog 2012-02-11 19:46:50 +01:00
Michael Biebl
2d8e8fb4eb Update Build-Depends
* Add Build-Depends on liblzma-dev for journal log compression.
* Add Build-Depends on libgee-dev, required to build systemadm.
2012-02-11 19:45:57 +01:00
Michael Biebl
61c75202f5 Update comment regarding hwclock 2012-02-11 19:45:12 +01:00
Tollef Fog Heen
ee7edbb887 Close bash-completion bug which is fixed upstream 2012-02-07 21:39:14 +01:00
Tollef Fog Heen
1b28d811f1 Start v40 2012-02-07 21:36:45 +01:00
Tollef Fog Heen
c05dad99f9 Install kbd-model-map too 2011-10-12 08:57:21 +02:00
Tollef Fog Heen
fc07729675 New upstream release 2011-10-12 08:44:53 +02:00
Tollef Fog Heen
b7c778bd9a Update README.Debian slightly for /run rather than /lib/init/rw 2011-10-12 08:44:34 +02:00
Josh Triplett
14fe596381 Automatically migrate TMPTIME settings from /etc/default/rcS 2011-10-12 07:53:22 +02:00
Tollef Fog Heen
55fd299eb4 Blacklist fuse init script 2011-10-12 07:15:02 +02:00
Tollef Fog Heen
9870b64840 Drop rcN.d runlevels from SysV services that also exist in rcS.d
Fixes Debian bug #637037
2011-10-12 06:56:37 +02:00
Tollef Fog Heen
263797dc0b Add ConditionPathIsDirectory to lib-init-rw.{,auto}mount 2011-10-11 20:17:40 +02:00
Tollef Fog Heen
2ddf2dc307 Change the type of the debian-fixup service to oneshot. 2011-09-28 20:08:25 +02:00
Tollef Fog Heen
850f7e23d9 Upload to unstable 2011-09-24 09:21:18 +02:00
Tollef Fog Heen
4c286f6475 Add single-debian-patch to work around brain damage in newer dpkg versions 2011-09-24 09:21:01 +02:00
Tollef Fog Heen
e2bb42e1de Use remount-rootfs.service instead of var.mount as dependency for debian.fixup 2011-09-23 20:20:49 +02:00
Tollef Fog Heen
ab21b55fd5 Bump version number to v36 2011-09-23 19:28:26 +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
Tollef Fog Heen
dfba5ef7c4 Hack up source so it resembles what a distcheck gives us 2011-09-20 16:02:50 +02:00
Tollef Fog Heen
6a32a76e7e Properly attribute Michael's changes to him 2011-09-14 08:39:40 +02:00
Michael Biebl
007e78b1df Add Build-Depends on gperf. 2011-09-14 08:38:48 +02:00
Michael Biebl
0cdfffda1e Use printf instead of echo
echo "\n" is not posix shell compliant.
2011-09-14 08:38:26 +02:00
Michael Biebl
62bf1988af Add more safety checks
In case /etc/default/rcS is missing or UTC not set.
2011-09-14 08:38:18 +02:00
Michael Biebl
4e2d2d07b4 Remove /cgroup cleanup code from postinst. 2011-09-14 08:38:05 +02:00
Michael Biebl
fc05c6ec8c Run the local time migration on new install, too 2011-09-14 08:38:00 +02:00
Michael Biebl
1ede7fbbb0 Fix the format of the /etc/adjtime file 2011-09-14 08:37:54 +02:00
Michael Biebl
a9e6e45305 Fix echo call in last commit 2011-09-14 08:37:44 +02:00
Michael Biebl
718d8bde9b Re-add --with autoreconf which got accidentally deleted by last commit 2011-09-14 08:35:38 +02:00
Michael Biebl
99b0d95dbc Migrate hwclock configuration.
Do a one-time migration of the hwclock configuration. If UTC is set to "no" in
/etc/default/rcS, create /etc/adjtime and add the "LOCAL" setting.
2011-09-14 08:31:49 +02:00
Michael Biebl
a1f4d70385 Add Build-Depends on intltool. 2011-09-14 08:31:10 +02:00
Michael Biebl
2f80a58830 Override dh_autoreconf
As autoreconf doesn't like intltool, override dh_autoreconf and call
intltoolize and autoreconf ourselves.
2011-09-14 08:30:52 +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
6a777f3e23 Add Build-Depends on libacl1-dev. Required for building systemd-logind with ACL support. 2011-09-14 08:29:11 +02:00
Michael Biebl
c0e31db8ff Bump Build-Depends on libudev to (>= 172). 2011-09-14 08:28:31 +02:00
Michael Biebl
efd7059153 Build for libnotify 0.7. 2011-09-14 08:27:09 +02:00
Michael Biebl
7cede7aab7 Wrap build dependencies for easier readability. 2011-09-14 08:27:03 +02:00
Tollef Fog Heen
78636ae2c1 New upstream release; close bugs 2011-09-14 08:25:32 +02:00
Tollef Fog Heen
4d66b41e0f Target unstable 2011-07-07 13:25:43 +02:00
Tollef Fog Heen
6f7d8a3229 Close one more bug 2011-07-07 13:25:21 +02:00
Tollef Fog Heen
8f8ecb1aca Fix syntax error 2011-07-07 12:49:21 +02:00
Michael Biebl
bf3ddb404d Update changelog for the last commit 2011-07-07 12:28:15 +02:00
Michael Biebl
49c56c32a5 Update changelog for the last commit 2011-07-07 12:27:06 +02:00
Michael Biebl
4953794fb2 Revert "Ignore unknown capabilities when dropping them"
This reverts commit 05039b037a.

We will use the upstream fix for that.
2011-07-07 12:25:55 +02:00
Michael Biebl
c85dc49b03 Depend on util-linux (>= 2.19.1-2) which provides whole-disk locking support in fsck and remove our revert patch. 2011-06-29 14:00:16 +02:00
Michael Biebl
5db9a9988c Remove obsolete conffiles from /etc/tmpfiles.d on upgrades. Those files are installed in /usr/lib/tmpfiles.d now. 2011-06-29 14:00:03 +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
Michael Biebl
b1fcd56fdb hwclock-load.service is no longer installed, so we don't need to remove it anymore in debian/rules. 2011-06-29 13:59:18 +02:00
Tollef Fog Heen
4e3bf0967d Syntax fixes in init-functions 2011-06-29 13:58:55 +02:00
Michael Biebl
6cd758edc2 Update to v29 2011-06-29 13:53:36 +02:00
Tollef Fog Heen
3c79e6d220 Close documentation typofix bug 2011-06-08 17:02:20 +02:00
Tollef Fog Heen
54ebdb7e11 Add hard dependency on udev 2011-06-08 16:52:14 +02:00
Tollef Fog Heen
05039b037a Ignore unknown capabilities when dropping them 2011-06-08 16:51:29 +02:00
Tollef Fog Heen
e505319b86 Fall back to init script based reload if the .service file doesn't support it. 2011-06-08 16:23:22 +02:00
Tollef Fog Heen
b1fae33fd4 Open changelog 2011-06-08 16:14:57 +02:00
Tollef Fog Heen
84bd7c6052 Prepare for upload 2011-04-27 22:20:21 +02:00
Tollef Fog Heen
12b3a6d711 Remove "local" in non-function context in init-functions wrapper. 2011-04-27 21:59:11 +02:00
Tollef Fog Heen
12e1abdedc Changelog 2011-04-27 21:57:09 +02:00
Tollef Fog Heen
a3328de25b Remove diversion of init-functions on downgrade 2011-04-26 21:54:07 +02:00
Tollef Fog Heen
c75d2ccee9 Backport 3a90ae0482 from master 2011-04-25 08:58:14 +02:00
Tollef Fog Heen
9c85b75f3d Move sourcing of init-functions to the start 2011-04-22 15:36:29 +02:00
Tollef Fog Heen
44b765a9e8 Divert lsb init-functions instead of abusing logging hook 2011-04-21 17:19:33 +02:00
Tollef Fog Heen
91d02107fb Add suggests on Python for systemd-analyze. 2011-04-21 17:18:18 +02:00
Tollef Fog Heen
168fe699a4 Add conflicts on klogd 2011-04-21 17:17:48 +02:00
Tollef Fog Heen
26364f2e60 Depend on initscripts >= 2.88dsf-13.4 for /run transition. 2011-04-21 17:17:11 +02:00
Tollef Fog Heen
acb7d0ffd9 New upstream version 2011-04-21 17:15:48 +02:00
Tollef Fog Heen
0ca6e8a1a5 Target upload 2011-03-20 21:39:01 +01:00
Tollef Fog Heen
7b8636c5fc Make getty start after Apache2 and OpenVPN (which are the only two known users of X-Interactive: yes). Closes: #618419 2011-03-20 20:49:53 +01:00
Tollef Fog Heen
abd2305248 Enable SELinux support. Closes: #618412 2011-03-20 20:46:34 +01:00
Tollef Fog Heen
aef2a93f2c Enable TCP wrapper support. Closes: #618409 2011-03-20 20:45:26 +01:00
Tollef Fog Heen
af152c208c Changelog 2011-03-11 20:17:17 +01:00
Tollef Fog Heen
cb96145cfc Call systemd-machine-id-setup in postinst 2011-03-11 19:47:49 +01:00
Tollef Fog Heen
463c8b573c Install systemd-machine-id-setup 2011-03-11 19:44:00 +01:00
Tollef Fog Heen
9117084541 New upstream release 2011-03-11 19:15:09 +01:00
Tollef Fog Heen
f48fd51212 Target upload 2011-03-11 19:11:00 +01:00
Tollef Fog Heen
a2a836eb04 Add breaks on lvm2 (<< 2.02.84-1) 2011-03-02 21:32:03 +01:00
Tollef Fog Heen
d98944c8cc Mask mtab.service and udev-mtab.service
They are useless
2011-03-02 21:04:36 +01:00
Tollef Fog Heen
864482d672 Add ifup@.service for handling hotplugged interfaces from udev.
Closes: #610871

Thanks to Michael Biebl for the implementation
2011-03-02 21:03:53 +01:00
Tollef Fog Heen
0bb07ce24d Add systemd-tmpfiles to systemd package. 2011-03-02 18:26:12 +01:00
Tollef Fog Heen
f7c132cfe6 New upstream release 2011-03-01 17:10:16 +01:00
Tollef Fog Heen
be6e0fb535 New upstream release 2011-02-17 07:36:30 +01:00
Tollef Fog Heen
860ce4af64 Fix typo when removing systemd-vconsole.target 2011-02-16 21:13:23 +01:00
Tollef Fog Heen
99f27f6f25 Upload to experimental 2011-02-16 21:06:25 +01:00
Tollef Fog Heen
a704d2d40f Disable systemd-vconsole-setup.service for now. 2011-02-16 21:06:04 +01:00
Tollef Fog Heen
1a37238dde Close a few bugs 2011-02-16 20:53:39 +01:00
Tollef Fog Heen
b9e96974e7 Make build-dep on valac be valac-0.10 2011-02-16 19:42:53 +01:00
Tollef Fog Heen
1913a3fbb8 Skip masked services in lsb-base-logging.sh
Silently skip masked services in lsb-base-logging.sh instead of
failing.  Initial implementation by Michael Biebl.  Closes: #612551
2011-02-13 16:37:22 +01:00
Tollef Fog Heen
815484f410 Improve regex in lsb-base-logging.sh for X-Interactive scripts. 2011-02-13 08:39:20 +01:00
Tollef Fog Heen
eed848f729 Bump build dependency on valac to (>= 0.10.3) 2011-02-13 08:36:45 +01:00
Tollef Fog Heen
c93ec8f92f New upstream release 2011-02-13 08:35:00 +01:00
Tollef Fog Heen
3332c0a9dc Clarify ifupdown instructions in README.Debian somewhat. 2011-01-18 20:38:10 +01:00
Tollef Fog Heen
5285c995c9 Drop debian revision from libcryptsetup-dev build-dep to make lintian happy 2011-01-18 08:18:36 +01:00
Tollef Fog Heen
74a342c140 Close bug in -15 changelog 2011-01-18 08:18:11 +01:00
Tollef Fog Heen
e90f41744c Tighten libcryptsetup-dev build-dep 2011-01-18 07:12:20 +01:00
Tollef Fog Heen
810aee92ff Don't use systemctl redirect for init scripts with X-Interactive: true 2011-01-16 12:25:46 +01:00
Tollef Fog Heen
d05395d7fe Set 11-2 to unreleased as it was never uploaded 2011-01-16 11:25:04 +01:00
Tollef Fog Heen
4e4783a0ea Set 15-1 to unreleased as it was never uploaded 2011-01-16 11:22:04 +01:00
Tollef Fog Heen
97376e617f Update changelog 2011-01-16 11:19:31 +01:00
Michael Biebl
60b9d86fe5 Fix hwclock
Since we mask hwclock and hwclockfirst, we need to run hwclock-save.service
on shutdown now.
To avoid running hwclock twice during boot, we remove
sysinit.target.wants/hwclock-load.service. hwclock is already triggered
by /lib/udev/rules.d/85-hwclock.rules. This needs further coordination
with udev.
2011-01-16 10:06:21 +01:00
Tollef Fog Heen
4d8e8e97b0 Close new upstream bug 2011-01-16 10:05:28 +01:00
Michael Biebl
b8a4186cf3 Fix single user mode 2011-01-16 10:04:58 +01:00
Michael Biebl
2ed148b903 Fix a small typo 2011-01-16 10:04:21 +01:00
Michael Biebl
f6a81384db Use syntax compatible with debhelper v8 2011-01-16 10:01:30 +01:00
Michael Biebl
b2e8a3611c Update package description
Update short package description based on the upstream homepage.
Lennart wants the description to no longer mention "session manager".
2011-01-16 10:00:20 +01:00
Tollef Fog Heen
e4a35aa806 Use the built-in cryptsetup support in systemd 2011-01-16 09:56:30 +01:00
Tollef Fog Heen
14af0a64e5 New upstream version 2011-01-16 09:55:43 +01:00
Tollef Fog Heen
4ad09fb0bc Adjust for upstream path name changes 2010-12-26 20:31:49 +01:00
Tollef Fog Heen
8558f7bfe9 Use native mount, mask services done by systemd 2010-12-26 20:31:33 +01:00
Tollef Fog Heen
bd75970241 Document that /etc/network/run should be a symlink 2010-12-26 20:30:16 +01:00
Michael Biebl
a7432c147c Remove autogenerated man pages and vala C sources, so they are rebuilt. 2010-12-26 13:33:11 +01:00
Michael Biebl
848cbb1b4b Disable cryptsetup support
Explicitly disable cryptsetup support to not accidentally pick up a
libcryptsetup dependency in a tainted build environment, as the
library is currently installed in /usr/lib.
2010-12-26 13:31:28 +01:00
Tollef Fog Heen
c01f17796f Document dropping of lock group for Debian 2010-12-26 13:23:43 +01:00
Tollef Fog Heen
e12634df0d Revert upstream commit which uses fsck -l (needs a newer version of util-linux). 2010-12-26 13:02:12 +01:00
Tollef Fog Heen
c9661edaca Add dependency on new util-linux to make sure /sbin/agetty exists 2010-12-26 12:58:17 +01:00
Tollef Fog Heen
aaf3284296 Update changelog for new upstream version 2010-12-26 12:56:56 +01:00
Tollef Fog Heen
36fd3304eb Remove -s from getty invocation
getty from util-linux doesn't support -s yet, so drop that for now.
2010-12-26 12:56:19 +01:00
Michael Biebl
c04d0f711f Try to catch direct init script invocations and redirect to systemctl
Install lsb-base hook which redirects calls to SysV init scripts to
systemctl: /etc/init.d/<foo> <action> → systemctl <action> <foo.service>
2010-12-26 12:53:08 +01:00
Tollef Fog Heen
f07be1bf45 Install a (auto)mount unit to mount /lib/init/rw early during boot. 2010-12-26 12:43:15 +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
6ce35d6eaa Use dh-autoreconf for updating the build system. 2010-11-20 09:38:44 +01:00
Tollef Fog Heen
10edb11620 Revert upstream change which requires libnotify 0.7 2010-11-20 09:35:57 +01:00
Tollef Fog Heen
692c506e1b Add libaudit-dev to build-depends 2010-11-20 09:34:15 +01:00
Tollef Fog Heen
f7685bf450 New upstream version 2010-11-20 09:33:49 +01:00
Tollef Fog Heen
2225ad2fc2 Add missing DEBHELPER token 2010-11-04 17:20:00 +01:00
Tollef Fog Heen
879cdb6ec9 Move rules around to get more logical progression in debian/rules 2010-11-02 21:48:27 +01:00
Tollef Fog Heen
209f415820 Document last change in changelog 2010-11-02 21:47:48 +01:00
Michael Biebl
7213fd1055 Properly cleanup /cgroup on upgrades 2010-11-02 21:45:42 +01:00
Tollef Fog Heen
8cdfa50e1e Add postinst 2010-11-02 21:45:34 +01:00
Michael Biebl
73baac4bc7 Don't install hwclock-save.service and remount-rootfs.service
Both conflict with existing SysV init scripts.

Running both results in "super block is in future" error messages when
mounting ext[34] partitions.

Until the hwclock and mount handling is sorted out, use only
the scripts provided by initscripts/util-linux.
2010-11-02 21:44:19 +01:00
Tollef Fog Heen
24def64852 Ship password agent 2010-11-02 21:44:05 +01:00
Tollef Fog Heen
dc03359dbf Make sure to enable GTK bits. 2010-11-02 21:43:34 +01:00
Tollef Fog Heen
8059ca9c79 Remove tmpwatch services, Debian doesn't have or use tmpwatch. 2010-11-02 21:42:38 +01:00
Tollef Fog Heen
a9e2e5b534 Stop shipping /cgroup in the package 2010-11-02 21:39:46 +01:00
Tollef Fog Heen
fa416c2ec4 Stop messing with runlevel5/multi-user.target symlink
This is handled correctly upstream, so remove local hack.
2010-11-02 21:37:29 +01:00
Tollef Fog Heen
80edfaee0d Add missing #DEBHELPER# token to libpam-systemd 2010-11-02 21:34:28 +01:00
Tollef Fog Heen
dad1e1d44b Tighten dependency between systemd packages
Ensure the packages are updated in lockstep
2010-11-02 21:31:50 +01:00
Tollef Fog Heen
03ed4018b8 Add libnotify-dev to build-depends 2010-10-27 12:58:03 +02:00
Tollef Fog Heen
14e03c1da9 cgroupfs mounted in /sys; close bug 2010-10-07 21:52:28 +02:00
Tollef Fog Heen
eefaae54a6 Add Depends on systemd from systemd-sysv 2010-10-07 21:49:12 +02:00
Tollef Fog Heen
f80984d6ab New upstream version 2010-10-07 21:48:50 +02:00
Tollef Fog Heen
65469da22f Add pam-auth-update calls to libpam-systemd's postinst and prerm 2010-09-01 21:10:41 +02:00
Tollef Fog Heen
ae7f031cab Add pam-config file 2010-08-30 21:53:26 +02:00
Tollef Fog Heen
49159ec2af Release 8-2
Record changes in v8-2
2010-08-30 21:48:55 +02:00
Tollef Fog Heen
bc7860afab Hard-code path to udev rules dir in configure call 2010-08-30 21:43:29 +02:00
Tollef Fog Heen
40aa0111e8 Get rid of obsolete README.source 2010-08-30 21:42:55 +02:00
Tollef Fog Heen
3e8fca871d Target experimental 2010-08-29 14:44:05 +02:00
Tollef Fog Heen
76aeaaf733 Update for v8 2010-08-29 14:05:58 +02: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
9d9cb1e081 Update Conflicts for systemd-sysv 2010-08-29 14:00:12 +02:00
Tollef Fog Heen
56586a6b91 Update build-depends for v8 2010-08-29 13:58:56 +02:00
Tollef Fog Heen
fcb2fa86d0 Update standards-version 2010-08-29 13:58:05 +02:00
Tollef Fog Heen
aee0a6e3f1 Update README.Debian to explain how to use systemd. 2010-08-29 13:55:25 +02:00
Tollef Fog Heen
a40b75f648 Get rid of our own targets; use the ones from upstream instead 2010-08-29 12:18:30 +02:00
Tollef Fog Heen
ee78d133eb Update version number in changelog 2010-08-17 10:45:37 +02:00
Tollef Fog Heen
7bcde2163d Adjust build-deps 2010-08-17 10:44:33 +02:00
Tollef Fog Heen
0a352f5c58 Update changelog for new upstream version 2010-08-07 07:31:47 +02:00
Tollef Fog Heen
062e9a1a34 Make this a 3.0 (quilt) package 2010-07-29 14:30:34 +02:00
Tollef Fog Heen
c7bfe89ad9 Update standards-version, build-deps, add Vcs-* fields 2010-07-29 14:30:19 +02:00
Tollef Fog Heen
e8894ee241 Fix up changelog 2010-07-29 14:29:50 +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
bf7f9181cf Pass --with-rootdir= to configure 2010-07-07 22:00:55 +02:00
Tollef Fog Heen
238fbed977 Only ship /cgroup, not all the subdirs 2010-07-07 21:59:30 +02:00
Tollef Fog Heen
7ddf066629 Add missing build-deps 2010-06-05 21:33:35 +02:00
Tollef Fog Heen
71c8ab24a7 Add missing build-deps 2010-06-05 20:49:38 +02:00
Tollef Fog Heen
ec42efa542 Update a few gotchas 2010-06-05 18:47:10 +02:00
Tollef Fog Heen
8cc2af0172 More debian/rules cleanups 2010-06-05 08:59:19 +02:00
Tollef Fog Heen
f275ec5797 Write up a real debian/copyright file 2010-06-05 08:59:03 +02:00
Tollef Fog Heen
4651a3effb Bump cgroup build-dep, remove hard-coding 2010-06-05 08:51:06 +02:00
Tollef Fog Heen
e4cd12f9db Clean up rules file wrt newer configure.ac and get rid of old stuff 2010-06-05 08:44:01 +02:00
Tollef Fog Heen
28898d20b4 Add some notes regarding the package 2010-06-05 08:43:05 +02:00
Tollef Fog Heen
89764c0d9f New upstream snapshot 2010-06-05 08:04:58 +02:00
Tollef Fog Heen
80d60d1922 Somewhat newer upstream snapshot, still not released 2010-06-05 08:01:20 +02:00
Tollef Fog Heen
e09161b707 make this a 3.0 native package until we have tarball releases. 2010-05-16 10:30:41 +02:00
Tollef Fog Heen
40f72a8aa3 ship /cgroup in the deb 2010-05-16 10:30:10 +02:00
Tollef Fog Heen
87041ed408 Add systemd-services package 2010-05-16 10:28:54 +02:00
Tollef Fog Heen
979df9158c Initial packaging 2010-05-16 10:26:57 +02:00