Commit Graph

12370 Commits

Author SHA1 Message Date
Martin Pitt
cdd04c8a4c Make test suite failures fatal
Disable tests which fail on buildds, presumably due to too old kernels,
misconfigured /etc/hosts, and similar problems. Make failures of the test suite
fatal now.
2014-12-16 08:22:22 +01:00
Martin Pitt
bcdf8f9e46 boot-and-services: Robustify Nspawn tests, and show systemd-nspawn output on failure 2014-12-16 08:01:16 +01:00
Martin Pitt
842cd9138d Prefer-etc-X11-default-display-manager-if-present.patch: Drop wrong copy&paste'd comment, fix log strings
Thanks Adam D. Barratt.
2014-12-16 07:08:55 +01:00
Martin Pitt
0becdf5e3f Fix crash in timedatectl with Etc/UTC
Cherry-picked from upstream.
2014-12-15 14:46:19 +01:00
Martin Pitt
344ae794e5 boot-and-services AppArmor autopkgtest: Stop checking the dmesg log
It is racy as sometimes message bursts are suppressed.
2014-12-15 10:55:02 +01:00
Martin Pitt
0e38591d1c releasing package systemd version 218-1 2014-12-14 13:58:49 +01:00
Martin Pitt
969227f4ed udev-fallback-graphics upstart job: Guard the modprobe with || true
Avoids a failure when vesafb is compiled in.

LP: #1367241
2014-12-14 13:52:36 +01:00
Martin Pitt
b1fb605913 Add Apport hooks for udev and systemd when building on Ubuntu 2014-12-14 13:47:32 +01:00
Martin Pitt
f73debca49 Add epoch to gudev packages when building on Ubuntu
Ubuntu packaged the standalone gudev before it got merged into udev.
2014-12-14 13:47:32 +01:00
Martin Pitt
4f13c3718f Don't symlink udev doc directories when building on Ubuntu
This is a permanent Ubuntu change, thus reduce the delta a bit by using
dpkg-vendor.
2014-12-14 13:47:32 +01:00
Martin Pitt
0638d09c40 Configure with --enable-split-usr 2014-12-12 21:36:55 +02:00
Martin Pitt
db29e83dc2 Add new libmount-dev build dependency 2014-12-12 21:36:54 +02:00
Martin Pitt
4c6443101c New upstream release 218
Drop all cherry-picked patches and port the Debian specific ones.
2014-12-12 21:35:39 +02:00
Martin Pitt
99af892981 Imported Upstream version 218 2014-12-12 21:35:16 +02:00
Martin Pitt
445c7b2810 releasing package systemd version 217-4 2014-12-11 18:07:03 +02:00
Didier Roche
e20b1a1838 Reset display-manager symlink to match /e/X/d-d-m
Do it even if display-manager.service was removed and adapt
the autopkgtests for this.

LP: #1400680
2014-12-10 10:49:10 +02:00
Didier Roche
e3fe7c22e9 Add display managers autopkg tests 2014-12-10 09:21:40 +02:00
Martin Pitt
54b7f68615 Revert "Handle multiple display managers which don't ship a systemd unit, part 2"
This reverts commits 9868be7730 and 2e3f2d06a4.

This is still under dispute, a bit risky, and might get a different
implementation. Also, nodm really needs to be fixed properly, working around it
is both too risky and also too hard to get right.
2014-12-05 10:58:16 +01:00
Martin Pitt
d8bb47fa51 debian/systemd.postinst: Don't always restart journald
This currently can't be done without losing the current journal and breaking
attached processes. So only restart it from upgrades < 215-3 (where the socket
location got moved) as an one-time upgrade path from wheezy.

Closes: #771122
2014-12-04 15:32:47 +01:00
Martin Pitt
565eb746c3 Add userspace firmware loader stub
Reinstate a debian/extra/rules/50-firmware.rules which immediately tells the
kernel that userspace firmware loading failed. Otherwise it tries for a minute
to call the userspace helper (if CONFIG_FW_LOADER_USER_HELPER is enabled) in
vain, which causes long delays with devices which have a range of possible
firmware versions. (LP: #1398458)
2014-12-02 18:53:08 +01:00
Martin Pitt
cd5fa00ee4 releasing package systemd version 217-3 2014-12-02 16:53:51 +01:00
Didier Roche
11852d5615 Fix some sysv init only units not starting if /e/X/d-d-m doesn't match anything
if /etc/X11/default-display-manager doesn't match a systemd unit
(or doesn't exist), be less agressive about what to mask: we let
all sysvinit-only display-manager units enabled to fallback to previous
behavior and let them starting.

Closes: #771739
2014-12-02 16:50:21 +01:00
Martin Pitt
20bd9ec265 boot-and-services autopkgtest: Give test apparmor job some time to actually finish 2014-12-01 17:04:32 +01:00
Martin Pitt
faa757a0ee systemd.bug-script: Really capture stderr of systemd-delta
Closes: #771498
2014-12-01 17:01:57 +01:00
Martin Pitt
a786360907 releasing package systemd version 217-2 2014-12-01 15:09:39 +01:00
Martin Pitt
2df5e68eca systemd.bug-script: Capture stderr of systemd-{delta,analyze}
Closes: #771498
2014-12-01 15:01:15 +01:00
Martin Pitt
48375254b3 Disable AppArmor again
This first requires moving libapparmor to /lib (see #771667)

Closes: #771652
2014-12-01 13:50:45 +01:00
Martin Pitt
a6cd05a818 Import v217-stable patches
up to commit bfb4c47 from 2014-11-07
2014-12-01 13:19:31 +01:00
Martin Pitt
f2c2e1a7a4 Fix "diff failed with error code 1" patch
Properly backport delta-diff-returns-1-when-files-differ-ignore-this.patch.
2014-12-01 13:02:08 +01:00
Martin Pitt
0bebba1f40 Re-enable systemd-resolved
This wasn't meant to break the entire networkd, just disable the new NSS
module. Remove that one manually instead.

Closes: #771423
LP: #1397361
2014-12-01 12:49:32 +01:00
Martin Pitt
e3f8bf9464 Fix "diff failed with error code 1" spew with systemd-delta
Patch cherry-picked from trunk.

Closes: #771397
2014-11-30 15:11:27 +01:00
Martin Pitt
687130a626 hostnamectl-Exit-with-zero-on-success.patch committed upstream, move in series 2014-11-29 08:30:20 +01:00
Martin Pitt
fa66685c67 Fix hostnamectl exit code on success
Regression in 217, spotted by our autopkgtest.
2014-11-28 15:57:45 +01:00
Martin Pitt
cc95242b3f Re-enable journal forwarding to syslog
This needs to be kept until Debian's sysloggers can/do all read from the
journal directly, or at least can enable it by themselves by dropping a
journal.conf.d/ snippet (once that feature exists).
2014-11-28 14:47:24 +01:00
Martin Pitt
80ba24ea78 releasing package systemd version 217-1 2014-11-28 10:54:04 +01:00
Martin Pitt
85f68c6ea1 Create new "systemd-journal-remote" system group
Needed by systemd-tmpfiles-setup.service, otherwise it fails to start up.
2014-11-28 10:52:32 +01:00
Martin Pitt
99fa4f227e boot-and-services autopkgtest: Test AppArmor confined units
Test case for LP #1396270
2014-11-28 10:52:32 +01:00
Martin Pitt
be2d291d8b Build-depend on libapparmor-dev to enable AppArmor support
LP: #1396270
2014-11-28 10:52:32 +01:00
Didier Roche
cb1ef963d2 Cherry-pick shared-add-readlink_value.patch as using that function in the generator 2014-11-28 10:52:32 +01:00
Didier Roche
0953387b97 Mask sysvinit-only dms if not default.
Modify insserv generator to mask of sysvinit-only dms with insserv
$x-display-manager tag if they don't match /etc/X11/default-display-manager.
This avoids starting multiple dms at boot.
2014-11-28 10:52:32 +01:00
Didier Roche
e23e8f53a6 Handle display-manager transitions
Add a generator to ensure /etc/X11/default-display-manager is controlling
which display-manager is started.
2014-11-28 10:52:32 +01:00
Martin Pitt
066296d523 Don't install libnss_mymachines
We currently disable machined, so don't ship the NSS module either for now.
2014-11-28 10:52:32 +01:00
Martin Pitt
fdfea9768d debian/rules: Call dpkg-gensymbols with -c4
With that we immediately spot changed/missing symbols during build.
2014-11-28 10:52:32 +01:00
Martin Pitt
48007b4a3b debian/libsystemd0.symbols: Add new symbols from this release 2014-11-28 10:52:32 +01:00
Martin Pitt
5cd02b75ee Ship new networkctl CLI tool 2014-11-28 10:52:32 +01:00
Martin Pitt
9b2994037e Don't install systemd-firstboot
Don't ship systemd-firstboot for now. We rather want debconf, and this needs to
be adjusted to Debian config files.
2014-11-28 10:52:32 +01:00
Martin Pitt
038fc58bd4 Don't install /usr/share/factory
We don't want the upstream files there; once we use this, use the
Debian PAM/NSS config.
2014-11-28 10:52:32 +01:00
Martin Pitt
01dd876967 Drop installation of readahead related services and code
Readahead got dropped in this version.
2014-11-28 10:52:32 +01:00
Martin Pitt
ae8da05b79 Drop installation of 50-firmware.rules
Not shipped upstream any more. Firmware loading is now exclusively done by the
kernel.
2014-11-28 10:52:32 +01:00
Martin Pitt
f1bd9cb4f7 Bump util-linux dependency to >= 2.25
As per NEWS:

   * This version reenables support for fsck's -l switch. This
     means at least version v2.25 of util-linux is required for
     operation, otherwise dead-locks on device nodes may
     occur. Again: you need to update util-linux to at least
     v2.25 when updating systemd to v217.
2014-11-28 10:52:32 +01:00