]> git.proxmox.com Git - systemd.git/log
systemd.git
9 years agoCopy all .link interface naming definitions to initramfs
Julian Wollrath [Sun, 26 Jul 2015 13:17:05 +0000 (15:17 +0200)]
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
9 years agoifup@.service: Drop "oneshot" to run ifup in the background during boot
Martin Pitt [Mon, 27 Jul 2015 05:03:46 +0000 (07:03 +0200)]
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

9 years agochangelog: Add LP bug ref
Martin Pitt [Mon, 27 Jul 2015 04:39:51 +0000 (06:39 +0200)]
changelog: Add LP bug ref

9 years agonetworkd autopkgtest: More robust/forceful killing of dnsmasq
Martin Pitt [Sun, 26 Jul 2015 12:57:38 +0000 (14:57 +0200)]
networkd autopkgtest: More robust/forceful killing of dnsmasq

9 years agoEnable GNU EFI support and add gnu-efi build dep
Martin Pitt [Sun, 26 Jul 2015 10:39:04 +0000 (12:39 +0200)]
Enable GNU EFI support and add gnu-efi build dep

This enables/ships the systemd EFI boot loader.

Closes: #787720
9 years agoRevert-VT-reuse-patches.patch: Fixed properly in trunk, move to "upstreamed patches"
Martin Pitt [Fri, 24 Jul 2015 14:35:44 +0000 (16:35 +0200)]
Revert-VT-reuse-patches.patch: Fixed properly in trunk, move to "upstreamed patches"

9 years agosystemd: Remove obsolete conffile clean up from pre-wheezy
Michael Biebl [Tue, 21 Jul 2015 20:30:56 +0000 (22:30 +0200)]
systemd: Remove obsolete conffile clean up from pre-wheezy

9 years agoudev: Remove obsolete rm_conffile/mv_conffile functions from udev.preinst
Michael Biebl [Tue, 21 Jul 2015 20:26:54 +0000 (22:26 +0200)]
udev: Remove obsolete rm_conffile/mv_conffile functions from udev.preinst

The udev package is using dpkg-maintscripts-helper now to remove
obsolete conffiles.

9 years agoRevert "systemd/udev postinst: Avoid "The group [...] already exists as a system...
Martin Pitt [Thu, 16 Jul 2015 13:31:09 +0000 (15:31 +0200)]
Revert "systemd/udev postinst: Avoid "The group [...] already exists as a system group. Exiting." warnings"

This reverts commit daf17c27661c02c8cbdfba0021e6995628da4c83.

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).

9 years agosystemd/udev postinst: Avoid "The group [...] already exists as a system group. Exiti...
Martin Pitt [Thu, 16 Jul 2015 05:25:59 +0000 (07:25 +0200)]
systemd/udev postinst: Avoid "The group [...] already exists as a system group. Exiting." warnings

LP: #1475094

9 years agoRelease version 222-2 to unstable
Michael Biebl [Wed, 15 Jul 2015 21:51:28 +0000 (23:51 +0200)]
Release version 222-2 to unstable

9 years agoDrop libsystemd-journald-dev and libsystemd-id128-dev
Michael Biebl [Tue, 14 Jul 2015 13:47:29 +0000 (15:47 +0200)]
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.

9 years agoDrop scsi_wait_scan hack from the udev initramfs-tools script
Michael Biebl [Wed, 15 Jul 2015 21:35:50 +0000 (23:35 +0200)]
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
9 years agoBump priority of systemd and systemd-sysv to important
Michael Biebl [Mon, 13 Jul 2015 14:44:05 +0000 (16:44 +0200)]
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.

9 years agoAdd "networkd" autopkgtest
Martin Pitt [Mon, 13 Jul 2015 11:19:12 +0000 (13:19 +0200)]
Add "networkd" autopkgtest

This covers basic DHCP on IPv4 and IPv4+6 on a veth device for now.

9 years agoemergency.service: Wait for plymouth to shut down
Martin Pitt [Mon, 13 Jul 2015 07:32:07 +0000 (09:32 +0200)]
emergency.service: Wait for plymouth to shut down

Fixes invisible emergency shell with plymouth running endlessly.

Patch cherry-picked from upstream trunk.

LP: #1471258

9 years agoAlso put old 70-persistent-net.rules into initramfs
Martin Pitt [Mon, 13 Jul 2015 07:02:27 +0000 (09:02 +0200)]
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!

9 years agoFix udeb an initramfs for net.ifnames
Martin Pitt [Sat, 11 Jul 2015 09:56:42 +0000 (11:56 +0200)]
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

9 years agoRelease version 222-1 to unstable
Michael Biebl [Wed, 8 Jul 2015 16:56:19 +0000 (18:56 +0200)]
Release version 222-1 to unstable

9 years agoFix cleanup rule for Python byte code files
Michael Biebl [Wed, 8 Jul 2015 16:55:45 +0000 (18:55 +0200)]
Fix cleanup rule for Python byte code files

9 years agoDrop rules which remove pre-generated files before build
Michael Biebl [Wed, 8 Jul 2015 16:53:15 +0000 (18:53 +0200)]
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.

9 years agoMove a few files into their correct packages
Michael Biebl [Tue, 30 Jun 2015 17:14:28 +0000 (19:14 +0200)]
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
9 years agoRemove obsolete --disable-chkconfig configure option
Michael Biebl [Tue, 7 Jul 2015 23:12:48 +0000 (01:12 +0200)]
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.

9 years agoStop building the Python 3 bindings
Michael Biebl [Tue, 7 Jul 2015 23:07:53 +0000 (01:07 +0200)]
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.

9 years agoDrop dsl-modem.agent
Martin Pitt [Wed, 8 Jul 2015 09:12:55 +0000 (11:12 +0200)]
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.

9 years agodebian/libsystemd0.symbols: Add new symbols from this release
Martin Pitt [Wed, 8 Jul 2015 05:54:37 +0000 (07:54 +0200)]
debian/libsystemd0.symbols: Add new symbols from this release

9 years agoAdd Revert-VT-reuse-patches.patch
Martin Pitt [Wed, 8 Jul 2015 05:32:32 +0000 (07:32 +0200)]
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

9 years agoNew upstream release 222
Martin Pitt [Wed, 8 Jul 2015 05:11:15 +0000 (07:11 +0200)]
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.

9 years agoMerge tag 'upstream/222'
Martin Pitt [Wed, 8 Jul 2015 05:08:33 +0000 (07:08 +0200)]
Merge tag 'upstream/222'

Upstream version 222

9 years agoImported Upstream version 222
Martin Pitt [Wed, 8 Jul 2015 05:08:31 +0000 (07:08 +0200)]
Imported Upstream version 222

9 years agodebian/watch: Adjust to new upstream release model of only providing the github tag...
Martin Pitt [Wed, 8 Jul 2015 05:06:30 +0000 (07:06 +0200)]
debian/watch: Adjust to new upstream release model of only providing the github tag tarballs

9 years agosystemd-fsckd autopkgtest: Stop using/asserting on lightdm
Martin Pitt [Wed, 1 Jul 2015 10:05:57 +0000 (12:05 +0200)]
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.

9 years agoboot-and-services, display-managers autopkgtests: Install and configure dummy X.org...
Martin Pitt [Wed, 1 Jul 2015 08:22:36 +0000 (10:22 +0200)]
boot-and-services, display-managers autopkgtests: Install and configure dummy X.org driver

So that these work in headless machines/VMs.

9 years agodebian/rules: Entirely ignore $LD_PRELOAD instead of just libfakeroot in the link...
Martin Pitt [Tue, 30 Jun 2015 04:46:28 +0000 (06:46 +0200)]
debian/rules: Entirely ignore $LD_PRELOAD instead of just libfakeroot in the link check

To also avoid libeatmydata.

Closes: #790546
9 years agolibudev-dev: Transition doc symlink -> dir too
Martin Pitt [Mon, 29 Jun 2015 15:32:06 +0000 (17:32 +0200)]
libudev-dev: Transition doc symlink -> dir too

9 years agoudev: Drop doc dir symlinking
Martin Pitt [Mon, 29 Jun 2015 15:06:24 +0000 (17:06 +0200)]
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.

9 years agosystemd.postinst: Drop the --quiet from the addgroup calls as well
Martin Pitt [Mon, 29 Jun 2015 15:01:01 +0000 (17:01 +0200)]
systemd.postinst: Drop the --quiet from the addgroup calls as well

Same reason as above.

Closes: #762275
9 years agoudev.postinst: Fail verbosely if "input" group already exists as a non-system group
Martin Pitt [Mon, 29 Jun 2015 14:58:01 +0000 (16:58 +0200)]
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
9 years agoudev.postinst: Don't fail if "input" group already exists as a non-system group
Martin Pitt [Mon, 29 Jun 2015 07:13:53 +0000 (09:13 +0200)]
udev.postinst: Don't fail if "input" group already exists as a non-system group

Some broken tutorials forget the --system option.

LP: #1455956

9 years agoDisable test-netlink during package build
Martin Pitt [Mon, 29 Jun 2015 05:43:11 +0000 (07:43 +0200)]
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.

9 years agoreleasing package systemd version 221-1
Martin Pitt [Sun, 28 Jun 2015 10:05:49 +0000 (12:05 +0200)]
releasing package systemd version 221-1

9 years agodebian/rules: Install udev.NEWS into libudev1
Martin Pitt [Sun, 28 Jun 2015 10:04:55 +0000 (12:04 +0200)]
debian/rules: Install udev.NEWS into libudev1

To get along with Debian's udev -> libudev1 doc dir symlinking.

Closes: #790042
9 years agoHave rc-local.service output also go to the console
Martin Pitt [Fri, 26 Jun 2015 13:08:27 +0000 (15:08 +0200)]
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

9 years agoRevert overly aggressive USB autosuspend udev rules change
Martin Pitt [Wed, 24 Jun 2015 20:13:27 +0000 (22:13 +0200)]
Revert overly aggressive USB autosuspend udev rules change

This broke various USB keyboards.

https://github.com/systemd/systemd/issues/340
Closes: #789723
9 years agoDrop Accept-mountall-specific-fstab-options.patch
Martin Pitt [Tue, 23 Jun 2015 08:59:21 +0000 (10:59 +0200)]
Drop Accept-mountall-specific-fstab-options.patch

Replaced with systemd.postinst migration code in Ubuntu.

9 years agodebian/patches/series: Add back dropped comments
Martin Pitt [Tue, 23 Jun 2015 06:54:05 +0000 (08:54 +0200)]
debian/patches/series: Add back dropped comments

9 years agoInstall API documentation for libudev and libsystemd in their respective packages
Michael Biebl [Mon, 22 Jun 2015 22:59:19 +0000 (00:59 +0200)]
Install API documentation for libudev and libsystemd in their respective packages

Both libraries use man pages now, so we need to be explicit about what
is installed where.

9 years agoMartin is persistent in his usage of "persistant"
Michael Biebl [Mon, 22 Jun 2015 22:45:08 +0000 (00:45 +0200)]
Martin is persistent in his usage of "persistant"

But since lintian keeps yelling at me, fix the typo once again.

9 years agodebian/rules: Fix paths in manpages
Martin Pitt [Mon, 22 Jun 2015 16:52:16 +0000 (18:52 +0200)]
debian/rules: Fix paths in manpages

We don't currently have a merged /usr in Debian but have most systemd things in
/lib. This replaces the previous huge and maintenance-intense patch.

9 years agolibsystemd0.symbols: Add new symbols for this release
Martin Pitt [Mon, 22 Jun 2015 16:14:03 +0000 (18:14 +0200)]
libsystemd0.symbols: Add new symbols for this release

9 years agolibudev-dev.install: Drop gtk-doc files
Martin Pitt [Mon, 22 Jun 2015 15:40:37 +0000 (17:40 +0200)]
libudev-dev.install: Drop gtk-doc files

Not built by upstream any more and replaced with manpages.

9 years agoDrop obsolete gtk-doc-tools build dependency, gtkdocize autoreconfig, and ./configure...
Martin Pitt [Mon, 22 Jun 2015 15:39:09 +0000 (17:39 +0200)]
Drop obsolete gtk-doc-tools build dependency, gtkdocize autoreconfig, and ./configure options

9 years agoNew upstream release 221
Martin Pitt [Mon, 22 Jun 2015 15:24:34 +0000 (17:24 +0200)]
New upstream release 221

 - Fix persistant storage links for Xen devices. (LP: #1467151)
 - Drop all backported patches and port the others to new upstream release.
 - debian/rules: Drop workarounds for broken 220 tarball, 221 is fine.

9 years agoMerge tag 'upstream/221'
Martin Pitt [Mon, 22 Jun 2015 15:17:40 +0000 (17:17 +0200)]
Merge tag 'upstream/221'

Upstream version 221

9 years agoImported Upstream version 221
Martin Pitt [Mon, 22 Jun 2015 15:16:03 +0000 (17:16 +0200)]
Imported Upstream version 221

9 years agoifupdown-hotplug autopkgtest: Fix interfaces.d config file name
Martin Pitt [Fri, 19 Jun 2015 04:05:28 +0000 (06:05 +0200)]
ifupdown-hotplug autopkgtest: Fix interfaces.d config file name

Different cloud/desktop environments have different ways of including
/etc/network/interfaces.d/, try to get along wit either and skip the test if
interfaces.d/ does not get included at all.

9 years agoMake it possible to skip building udeb packages via DEB_BUILD_OPTIONS="noudeb"
Michael Biebl [Thu, 18 Jun 2015 12:11:18 +0000 (14:11 +0200)]
Make it possible to skip building udeb packages via DEB_BUILD_OPTIONS="noudeb"

This allows quicker builds for local testing and is benefical for
derivatives that don't use d-i.

Thanks Simon McVittie for the idea.

9 years agoinitramfs hooks: Stop installing rules files for mdadm, lvm2 and dmsetup
Michael Biebl [Thu, 18 Jun 2015 13:47:02 +0000 (15:47 +0200)]
initramfs hooks: Stop installing rules files for mdadm, lvm2 and dmsetup

Stop installing 55-dm.rules, 64-md-raid.rules,
60-persistent-storage-lvm.rules and 60-persistent-storage-dm.rules.
The mdadm, lvm2 and dmsetup package provide their own udev hooks
nowadays to make sure their udev rules files are installed into the
initramfs.  Having the copy rules at two places is confusing and makes
debugging harder.

9 years agoFix typo: persistant → persistent, thanks lintian
Michael Biebl [Thu, 18 Jun 2015 13:36:21 +0000 (15:36 +0200)]
Fix typo: persistant → persistent, thanks lintian

9 years agoreleasing package systemd version 220-7
Martin Pitt [Wed, 17 Jun 2015 20:49:18 +0000 (22:49 +0200)]
releasing package systemd version 220-7

9 years agoRestore udev watches on block device changes
Martin Pitt [Wed, 17 Jun 2015 16:21:31 +0000 (18:21 +0200)]
Restore udev watches on block device changes

Patch cherry-picked from upstream git.

Closes: #789060
LP: #1466081

9 years ago80-networking.rules: Only call agents for add|remove
Martin Pitt [Wed, 17 Jun 2015 12:42:49 +0000 (14:42 +0200)]
80-networking.rules: Only call agents for add|remove

They don't handle other events, and net.agent just logs an error message. Avoid
wasted cycles on calling these scripts for change|move.

9 years agoDrop Skip-99-systemd.rules-when-not-running-systemd-as-in.patch
Martin Pitt [Wed, 17 Jun 2015 10:16:04 +0000 (12:16 +0200)]
Drop Skip-99-systemd.rules-when-not-running-systemd-as-in.patch

The rules mostly just attach tags systemd specific properties which are
harmless under other init systems, and systemd-sysctl also works there.

9 years agoLink check: test "systemd" binary as well, show binaries
Martin Pitt [Wed, 17 Jun 2015 09:42:03 +0000 (11:42 +0200)]
Link check: test "systemd" binary as well, show binaries

9 years agoDon't run link check with nocheck build option to avoid breaking cross-builds
Martin Pitt [Wed, 17 Jun 2015 09:21:29 +0000 (11:21 +0200)]
Don't run link check with nocheck build option to avoid breaking cross-builds

9 years agoAlso check during build that other binaries do not link against /usr
Martin Pitt [Wed, 17 Jun 2015 07:59:41 +0000 (09:59 +0200)]
Also check during build that other binaries do not link against /usr

This is particularly important for udev. It's not required for e. g. logind or
machined, but as currently none of these link against /usr let's keep this
strict for now and adjust it once we need it.

9 years agoCheck during build that systemd and systemd-journald don't link against anything...
Martin Pitt [Wed, 17 Jun 2015 05:28:00 +0000 (07:28 +0200)]
Check during build that systemd and systemd-journald don't link against anything in /usr

This prevents bugs like #771652 and #788913 in the future.

9 years agoifupdown-hotplug autopkgtest: Put back alternative *.cfg suffix
Martin Pitt [Tue, 16 Jun 2015 15:46:56 +0000 (17:46 +0200)]
ifupdown-hotplug autopkgtest: Put back alternative *.cfg suffix

Older ifupdown versions apparently require a suffix, so provide a symlink for
it. Follow-up fix for 775ec4755.

9 years agoRevert "Automate building packages for upstream trunk"
Martin Pitt [Tue, 16 Jun 2015 13:33:53 +0000 (15:33 +0200)]
Revert "Automate building packages for upstream trunk"

This reverts commit e394c1c0567dddbf2a9ed3cfc15c2aff7fb56ca3.

Maintaining the upstream patches in master creates too much noise. We'll
maintain this separately here:

  http://anonscm.debian.org/cgit/pkg-systemd/trunk-ci.git

9 years agonet.agent: When running under systemd, run everything in the foreground
Martin Pitt [Tue, 16 Jun 2015 13:16:15 +0000 (15:16 +0200)]
net.agent: When running under systemd, run everything in the foreground

This avoids killing the forked child in the middle of its operation under
systemd when the parent exits. Up to systemd 220 forked children still survived
for several seconds, but under 221 they get cleaned up right away.

9 years agoWhitespace police
Michael Biebl [Tue, 16 Jun 2015 12:29:39 +0000 (14:29 +0200)]
Whitespace police

9 years agoifupdown-hotplug: Fix cleanup
Martin Pitt [Tue, 16 Jun 2015 10:41:02 +0000 (12:41 +0200)]
ifupdown-hotplug: Fix cleanup

We can't have more than one trap in a shell script.

9 years agoifupdown-hotplug autopkgtest: Fix config name in interfaces.d/
Martin Pitt [Tue, 16 Jun 2015 10:35:34 +0000 (12:35 +0200)]
ifupdown-hotplug autopkgtest: Fix config name in interfaces.d/

It must not have a suffix in Debian. Also clean up the file after the test.

9 years agoAutomate building packages for upstream trunk
Martin Pitt [Tue, 16 Jun 2015 08:24:14 +0000 (10:24 +0200)]
Automate building packages for upstream trunk

  - Add debian/extra/build-upstream-master-dsc script. This checks
    out upstream git, applies debian/, applies some packaging modifications,
    applies most of our Debian patches (ignoring the backported upstream
    ones and ignoring fuzz), and builds a dsc.
 - Add debian/patches/upstream-master/: These patches override the ones in
   debian/patches/ for trunk builds, in order to apply.

9 years agofsckd-daemon-for-inter-fsckd-communication.patch: Add fsckd.c to POTFILES.in
Martin Pitt [Tue, 16 Jun 2015 07:01:09 +0000 (09:01 +0200)]
fsckd-daemon-for-inter-fsckd-communication.patch: Add fsckd.c to POTFILES.in

This fixes "make check" for current upstream git master.

9 years agopath-util-Fix-path_is_mount_point-for-files.patch is upstream, adjust patch series
Martin Pitt [Tue, 16 Jun 2015 05:54:38 +0000 (07:54 +0200)]
path-util-Fix-path_is_mount_point-for-files.patch is upstream, adjust patch series

9 years agoAdd-support-for-rcS.d-init-scripts-to-the-sysv-gener.patch: Drop unnecessary hunk
Martin Pitt [Tue, 16 Jun 2015 05:48:33 +0000 (07:48 +0200)]
Add-support-for-rcS.d-init-scripts-to-the-sysv-gener.patch: Drop unnecessary hunk

This doesn't change behaviour and doesn't apply cleanly to current trunk.

9 years agoSwitch to net.ifnames persistant network interfaces
Martin Pitt [Mon, 15 Jun 2015 13:40:30 +0000 (15:40 +0200)]
Switch to net.ifnames persistant network interfaces

Deprecate the old 75-persistent-net-generator.rules.

See the ML discussion for details:
     https://lists.debian.org/debian-devel/2015/05/msg00170.html
     https://lists.debian.org/debian-devel/2015/06/msg00018.html

  - Drop Make-net.ifnames-opt-in-instead-of-opt-out.patch, to use
    net.ifnames by default.
  - Revert-udev-network-device-renaming-immediately-give.patch: Adjust
    patch comment.
  - Drop 75-persistent-net-generator.rules, write_net_rules helper and
    rule_generator.functions.
  - Adjust udev's README.Debian accordingly, and describe the migration.
    This needs to happen manually as there is no robust way of doing this
    automatically.
  - Add udev NEWS file for announcing this change and pointing to udev's
    README.
  - udev.postinst: Drop write_interfaces_rules().
  - udev.postinst: Disable net.ifnames on systems which did not support
    75-persistent-net-generator.rules (most importantly, virtualized guests)
    to avoid changing network interface names on upgrade.

LP: #1454254

9 years agofix bug ref in changelog for "Ignore comments in /etc/hostname"
Martin Pitt [Mon, 15 Jun 2015 12:30:30 +0000 (14:30 +0200)]
fix bug ref in changelog for "Ignore comments in /etc/hostname"

9 years agoReplace the remainder of Fix-paths-in-man-pages.patch with an upstream provided patch
Michael Biebl [Sat, 13 Jun 2015 09:00:20 +0000 (11:00 +0200)]
Replace the remainder of Fix-paths-in-man-pages.patch with an upstream provided patch

9 years agoEnable seccomp support on arm64 as well
Michael Biebl [Fri, 12 Jun 2015 06:06:13 +0000 (08:06 +0200)]
Enable seccomp support on arm64 as well

9 years agogbp pq patch noise
Martin Pitt [Thu, 11 Jun 2015 08:04:37 +0000 (10:04 +0200)]
gbp pq patch noise

9 years agoreleasing package systemd version 220-6
Martin Pitt [Thu, 11 Jun 2015 07:25:54 +0000 (09:25 +0200)]
releasing package systemd version 220-6

9 years agoStop installing tmp.mount by default
Martin Pitt [Thu, 11 Jun 2015 06:21:14 +0000 (08:21 +0200)]
Stop installing tmp.mount by default

There are still situations where it becomes active through dependencies from
other units, which is surprising, hides existing data in /tmp during runtime,
and it isn't safe to have a tmpfs /tmp on every install scenario.

  - d/rules: Ship tmp.mount in /usr/share/systemd/ instead of
    /lib/systemd/systemd.
  - systemd.postinst: When tmp.mount already was enabled, install tmp.mount
    into /etc and keep it enabled.
  - systemd.postinst: When enabling tmp.mount because of RAMTMP=yes, copy it
    from /usr/share.
  - Drop Don-t-mount-tmp-as-tmpfs-by-default.patch and
    PrivateTmp-shouldn-t-require-tmpfs.patch, not necessary any more.

Closes: #783509
9 years agoBump libcap-dev build dep to the version that provides libcap2-udeb
Martin Pitt [Wed, 10 Jun 2015 22:05:05 +0000 (00:05 +0200)]
Bump libcap-dev build dep to the version that provides libcap2-udeb

Closes: #787542
9 years agoboot-and-services autopkgtest: Fix SeccompTest.test_failing
Martin Pitt [Wed, 10 Jun 2015 11:59:15 +0000 (13:59 +0200)]
boot-and-services autopkgtest: Fix SeccompTest.test_failing

We need to reset scfail.service which we expect to fail. Otherwise
ServicesTest.test_no_failed fails on that when it runs later on.

9 years agoDrop "RequiresMountsFor=/tmp" from basic.target again
Martin Pitt [Wed, 10 Jun 2015 11:11:06 +0000 (13:11 +0200)]
Drop "RequiresMountsFor=/tmp" from basic.target again

This avoids mounting tmp.mount by default, which we accidentally started doing
with 220.

9 years agodebian/tests/boot-and-services: PEP-8 fixes
Martin Pitt [Wed, 10 Jun 2015 10:59:35 +0000 (12:59 +0200)]
debian/tests/boot-and-services: PEP-8 fixes

9 years agoboot-and-services autopkgtest: Check that we don't get an unwanted tmp.mount
Martin Pitt [Wed, 10 Jun 2015 10:27:36 +0000 (12:27 +0200)]
boot-and-services autopkgtest: Check that we don't get an unwanted tmp.mount

Unless /etc/fstab explicitly specifies it. This reproduces the regression of
220 to mount tmp.mount automatically.

9 years agoboot-and-services autopkgtest: Add SeccompTest
Martin Pitt [Wed, 10 Jun 2015 06:21:33 +0000 (08:21 +0200)]
boot-and-services autopkgtest: Add SeccompTest

This verifies that SystemCallFilter works.

9 years agoEnable seccomp support
Martin Pitt [Wed, 10 Jun 2015 05:55:43 +0000 (07:55 +0200)]
Enable seccomp support

Restrict the build dep on the architectures that provide libseccomp. This is
also why we can't configure with --enable-seccomp explicitly but rely on
auto-detection.

Closes: #760299
9 years agoreleasing package systemd version 220-5
Martin Pitt [Sun, 7 Jun 2015 14:52:36 +0000 (16:52 +0200)]
releasing package systemd version 220-5

9 years agoRefine detection of touch screen devices
Martin Pitt [Sun, 7 Jun 2015 14:52:22 +0000 (16:52 +0200)]
Refine detection of touch screen devices

Patches cherry-picked from upstream git.

9 years agoDisable EFI support for udeb build
Martin Pitt [Sat, 6 Jun 2015 14:00:40 +0000 (16:00 +0200)]
Disable EFI support for udeb build

9 years agoFix another escape parsing regression in Exec*= lines
Martin Pitt [Thu, 4 Jun 2015 10:25:52 +0000 (12:25 +0200)]
Fix another escape parsing regression in Exec*= lines

Patches cherry-picked from upstream git.

Closes: #787256
9 years agoAdd debian/extra/01-mac-for-usb.link: Use MAC based names for network interfaces...
Martin Pitt [Wed, 3 Jun 2015 10:48:42 +0000 (12:48 +0200)]
Add debian/extra/01-mac-for-usb.link: Use MAC based names for network interfaces which are (directly or indirectly) on USB

Path based names are inadequate for dynamic buses like USB.

See discussion on

  https://lists.debian.org/debian-devel/2015/05/msg00170.html

and revised proposal on

  https://lists.debian.org/debian-devel/2015/06/msg00018.html

9 years agodebian/udev.README.Debian: Document net.ifnames, and how to write udev rules for...
Martin Pitt [Thu, 4 Jun 2015 10:13:03 +0000 (12:13 +0200)]
debian/udev.README.Debian: Document net.ifnames, and how to write udev rules for custom network names

9 years agodebian/udev.README.Debian updates
Martin Pitt [Wed, 3 Jun 2015 10:52:35 +0000 (12:52 +0200)]
debian/udev.README.Debian updates

Move network interface hotplug documentation into separate section.

Point out that "lo" does not need to be configured in ifupdown under systemd.

9 years agoIgnore test failures during build if /etc/machine-id is missing
Martin Pitt [Wed, 3 Jun 2015 06:42:47 +0000 (08:42 +0200)]
Ignore test failures during build if /etc/machine-id is missing

This is the case in a few buildd chroots still.

Closes: #787258
9 years agogbp pq patch noise after previous cherry-pick
Martin Pitt [Wed, 3 Jun 2015 06:34:00 +0000 (08:34 +0200)]
gbp pq patch noise after previous cherry-pick