Commit Graph

1299 Commits

Author SHA1 Message Date
Martin Pitt
6bd4a3e1ff Fix networkd-wait-online -i to properly wait for the given interfaces only
Patches taken from https://github.com/systemd/systemd/pull/761, will go
upstream soon.
2015-07-29 15:43:05 +02:00
Martin Pitt
338ed8207e New upstream release 223
- Fix systemd-bootchart crash. (Closes: #792403)
  - Trim list of files in /usr/share/doc/systemd/. (Closes: #791839)
  - Fix "Invalid argument" failure with some  journal files.
    (Closes: #792090)
  - tmpfiles: Don't recursively descend into journal directories in /var.
    (Closes: #791897)
  - Don't frequently wake up on disabled TimeoutIdleSec=, in particular in
    automount timers. (LP: #1470845)

Adjust patches to new upstream version.
2015-07-29 15:21:53 +02:00
Martin Pitt
5e9b2e2d99 Restrict gnu-efi to available architectures
gnu-efi is only available on a handful of architectures, so adjust the build
dependency. Drop the --enable-gnuefi configure option and rely on
auto-detection on these architectures.
2015-07-28 05:44:34 +02:00
Martin Pitt
a8bb8caf9c debian/extra/initramfs-tools/hooks/udev: Drop some redundant code
We now always copy 70-persistent-net.rules.
2015-07-28 05:44:13 +02:00
Felipe Sateler
7da95fd9f9 nss-my*.postinst: configure at the end of the hosts line, not before files.
Closes: #789006
2015-07-27 15:06:21 +02:00
Martin Pitt
c1f6db6f9a systemd.postinst: Avoid confusing error message about /run/systemd/was-enabled not existing on reconfiguring 2015-07-27 08:39:17 +02:00
Jon Severinsson
dbf1afb218 Note that 7123268 closes #755062 2015-07-27 08:14:27 +02:00
Julian Wollrath
e7c2c9b507 Copy all .link interface naming definitions to initramfs
Currently, only the default .link files from /lib/systemd/network are
copied to the initramfs, meaning, that additional (local) .link naming
definitions will be ignored when the system is still controlled by the
initramfs and interfaces might get wrong names.

Fix this by copying all .link files from /lib/systemd/network and
/etc/systemd/network into the initramfs, with the files from
/etc/systemd/network taking precedence over files with the same name
from /lib/systemd/network, as stated in the systemd.link manpage.

Closes: #793374
2015-07-27 07:18:27 +02:00
Martin Pitt
7f563b59ef ifup@.service: Drop "oneshot" to run ifup in the background during boot
This avoids blocking network.target on boot with unavailable hotplug interfaces
in /etc/network/interfaces. The main purpose of the Before=network.target is to
ensure a robust shutdown order, not to block the boot on ifup'ing every
interface; services which want that need to depend on network-online.target.

Closes: #790669
LP: #1425376
2015-07-27 07:03:46 +02:00
Martin Pitt
cd4eee29cf changelog: Add LP bug ref 2015-07-27 06:39:51 +02:00
Martin Pitt
ed80dff0bb networkd autopkgtest: More robust/forceful killing of dnsmasq 2015-07-26 14:57:38 +02:00
Martin Pitt
378a828a0a Enable GNU EFI support and add gnu-efi build dep
This enables/ships the systemd EFI boot loader.

Closes: #787720
2015-07-26 12:39:04 +02:00
Martin Pitt
951742fddf Revert-VT-reuse-patches.patch: Fixed properly in trunk, move to "upstreamed patches" 2015-07-24 16:35:44 +02:00
Michael Biebl
cfaafb0773 systemd: Remove obsolete conffile clean up from pre-wheezy 2015-07-21 22:30:59 +02:00
Michael Biebl
0586789233 udev: Remove obsolete rm_conffile/mv_conffile functions from udev.preinst
The udev package is using dpkg-maintscripts-helper now to remove
obsolete conffiles.
2015-07-21 22:29:08 +02:00
Martin Pitt
21739fdb05 Revert "systemd/udev postinst: Avoid "The group [...] already exists as a system group. Exiting." warnings"
This reverts commit daf17c2766.

This would cause errors like "already exists as a non-system group" to go
unnoticed. We really should go back to --quiet and fix adduser (#763055).
2015-07-16 15:31:09 +02:00
Martin Pitt
daf17c2766 systemd/udev postinst: Avoid "The group [...] already exists as a system group. Exiting." warnings
LP: #1475094
2015-07-16 07:25:59 +02:00
Michael Biebl
9cbbd30da9 Release version 222-2 to unstable 2015-07-15 23:51:28 +02:00
Michael Biebl
a0d5a61155 Drop libsystemd-journald-dev and libsystemd-id128-dev
There are no reverse dependencies left and we want to avoid new packages
picking up a build dependency on those obsolete transitional packages.
2015-07-15 23:49:55 +02:00
Michael Biebl
52d12b880b Drop scsi_wait_scan hack from the udev initramfs-tools script
This Linux kernel module has been broken since 2.6.30 and as a result
was removed in 3.5. The Debian Jessie kernel no longer ships this
module.

Closes: #752775
2015-07-15 23:35:52 +02:00
Michael Biebl
b3fa9f0825 Bump priority of systemd and systemd-sysv to important
Update package priorities of systemd and systemd-sysv to important to
match what has been used in the Debian archive since Jessie.
2015-07-13 16:45:14 +02:00
Martin Pitt
961dd059d2 Add "networkd" autopkgtest
This covers basic DHCP on IPv4 and IPv4+6 on a veth device for now.
2015-07-13 13:28:26 +02:00
Martin Pitt
9b365b720c emergency.service: Wait for plymouth to shut down
Fixes invisible emergency shell with plymouth running endlessly.

Patch cherry-picked from upstream trunk.

LP: #1471258
2015-07-13 09:32:18 +02:00
Martin Pitt
b8fdd6f8f1 Also put old 70-persistent-net.rules into initramfs
The previous commit added the new net.ifnames machinery to initramfs, to get
consistent names in initramfs and the real system. However, we also need to
copy the legacy 70-persistent-net.rules to avoid getting different names in
both places. Thanks Adam Conrad!
2015-07-13 09:02:27 +02:00
Martin Pitt
7b5eb265bb Fix udeb an initramfs for net.ifnames
- debian/udev-udeb.install: Install new bits for net.ifnames.
 - debian/extra/initramfs-tools/hooks/udev: Do the same for initramfs-tools.

LP: #1473542
2015-07-11 11:56:42 +02:00
Michael Biebl
2531719a05 Release version 222-1 to unstable 2015-07-08 18:56:19 +02:00
Michael Biebl
4657486420 Fix cleanup rule for Python byte code files 2015-07-08 18:55:49 +02:00
Michael Biebl
4690933cd6 Drop rules which remove pre-generated files before build
The upstream tarball no longer ships any pre-generated files so this is
no longer necessary.
2015-07-08 18:53:18 +02:00
Michael Biebl
d0dc85fce8 Move a few files into their correct packages
Move the man pages for libnss-myhostname, libnss-mymachines and
udev.conf from systemd into the correct package. Move the zsh completion
file for udevadm into the udev package as well. Add Breaks/Replaces
accordingly.

Closes: #790879
2015-07-08 18:49:15 +02:00
Michael Biebl
4d51c12c6f Remove obsolete --disable-chkconfig configure option
chkconfig support was dropped in v221 in favour of calling an
abstraction tool /lib/systemd/systemd-sysv-install which distros need to
implement.
2015-07-08 17:24:56 +02:00
Michael Biebl
3eabc6e726 Stop building the Python 3 bindings
They were split into a separate source package upstream and are now
built from src:python-systemd. See
http://lists.freedesktop.org/archives/systemd-devel/2015-July/033443.html

We keep a Build-Depends on python3 which is required to build the
documentation.
2015-07-08 17:21:51 +02:00
Martin Pitt
4e853c368a Drop dsl-modem.agent
It hasn't been maintained/tested for many years, few if any people actually use
this, and this doesn't belong into udev.
2015-07-08 11:14:23 +02:00
Martin Pitt
2e7cd963f0 debian/libsystemd0.symbols: Add new symbols from this release 2015-07-08 07:54:37 +02:00
Martin Pitt
5e85abde94 Add Revert-VT-reuse-patches.patch
Revert a couple of logind VT reuse patches which alternately broke lightdm and
gdm. See

   https://launchpad.net/bugs/1472259
   http://lists.freedesktop.org/archives/systemd-devel/2015-July/033464.html
   https://github.com/systemd/systemd/issues/513
2015-07-08 07:32:32 +02:00
Martin Pitt
7144835b22 New upstream release 222
- Fix reload killing BusName= units. (Closes: #746151)
 - sysv-generator: detect invalid names and escape them. (Closes: #677075)
 - Document removal of PIDFile on daemon shutdown. (Closes: #734006)
 - Drop Revert-rules-fix-tests-for-removable-state.patch, the auto-suspend
   rules now got dropped entirely.
 - Unfuzz fsckd-daemon-for-inter-fsckd-communication.patch.
 - Some gbp pq patch noise.
2015-07-08 07:15:26 +02:00
Martin Pitt
e074ceac6b debian/watch: Adjust to new upstream release model of only providing the github tag tarballs 2015-07-08 07:06:30 +02:00
Martin Pitt
a0b8043597 systemd-fsckd autopkgtest: Stop using/asserting on lightdm
Just check that default.target is active. lightdm is prone to fail in test
environments, and fiddling with it in two other autopkgtests is sufficient.
2015-07-01 12:05:57 +02:00
Martin Pitt
aa27188d1f boot-and-services, display-managers autopkgtests: Install and configure dummy X.org driver
So that these work in headless machines/VMs.
2015-07-01 10:22:36 +02:00
Martin Pitt
39c2fc412d debian/rules: Entirely ignore $LD_PRELOAD instead of just libfakeroot in the link check
To also avoid libeatmydata.

Closes: #790546
2015-06-30 06:46:28 +02:00
Martin Pitt
4955cf66c4 libudev-dev: Transition doc symlink -> dir too 2015-06-29 17:32:06 +02:00
Martin Pitt
71ce671632 udev: Drop doc dir symlinking
It has caused too much trouble and only marginally helps to avoid duplication.
Such duplication should be dealt with at the distro, not package level.
2015-06-29 17:18:48 +02:00
Martin Pitt
062f460f97 systemd.postinst: Drop the --quiet from the addgroup calls as well
Same reason as above.

Closes: #762275
2015-06-29 17:01:01 +02:00
Martin Pitt
db9de34f32 udev.postinst: Fail verbosely if "input" group already exists as a non-system group
Change the previous commit to actually do fail the package upgrade again, but
drop --quiet to get a sensible error message.

Closes: #769948
2015-06-29 16:58:48 +02:00
Martin Pitt
afb79c4b90 udev.postinst: Don't fail if "input" group already exists as a non-system group
Some broken tutorials forget the --system option.

LP: #1455956
2015-06-29 09:13:53 +02:00
Martin Pitt
b97c1dcabe Disable test-netlink during package build
Fails on some buildds:

Assertion 'sd_netlink_call(rtnl, m, -1, &r) == 1' failed at ../src/libsystemd/sd-netlink/test-netlink.c:102, function test_link_get().  Aborting.
2015-06-29 07:43:14 +02:00
Martin Pitt
7b8bfc90cf releasing package systemd version 221-1 2015-06-28 12:05:49 +02:00
Martin Pitt
2e817ad015 debian/rules: Install udev.NEWS into libudev1
To get along with Debian's udev -> libudev1 doc dir symlinking.

Closes: #790042
2015-06-28 12:05:08 +02:00
Martin Pitt
7cdf9f651a Have rc-local.service output also go to the console
/etc/rc.local often contains status messages which users expect to see during boot.

Rename debian/extra/units/rc-local.service.d/wait-online.conf to debian.conf
and add the Standard{Output,Error} settings there.

LP: #1468102
2015-06-26 15:08:36 +02:00
Martin Pitt
fd29e6c41f Revert overly aggressive USB autosuspend udev rules change
This broke various USB keyboards.

https://github.com/systemd/systemd/issues/340
Closes: #789723
2015-06-24 22:13:36 +02:00
Martin Pitt
8fbf6c7e67 Drop Accept-mountall-specific-fstab-options.patch
Replaced with systemd.postinst migration code in Ubuntu.
2015-06-23 10:59:57 +02:00