Commit Graph

12833 Commits

Author SHA1 Message Date
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
Martin Pitt
f264323c54 debian/patches/series: Add back dropped comments 2015-06-23 08:54:05 +02:00
Michael Biebl
874b775784 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.
2015-06-23 00:59:22 +02:00
Michael Biebl
b0c21250e7 Martin is persistent in his usage of "persistant"
But since lintian keeps yelling at me, fix the typo once again.
2015-06-23 00:45:08 +02:00
Martin Pitt
d45a2cb8f9 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.
2015-06-22 19:22:22 +02:00
Martin Pitt
dd7f47ddf1 libsystemd0.symbols: Add new symbols for this release 2015-06-22 18:14:03 +02:00
Martin Pitt
3c1af5155c libudev-dev.install: Drop gtk-doc files
Not built by upstream any more and replaced with manpages.
2015-06-22 17:46:05 +02:00
Martin Pitt
045815f336 Drop obsolete gtk-doc-tools build dependency, gtkdocize autoreconfig, and ./configure options 2015-06-22 17:46:05 +02:00
Martin Pitt
c7cbabe2b6 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.
2015-06-22 17:46:05 +02:00
Martin Pitt
bc0e30187a Merge tag 'upstream/221'
Upstream version 221
2015-06-22 17:17:40 +02:00
Martin Pitt
86f210e9c9 Imported Upstream version 221 2015-06-22 17:16:03 +02:00
Martin Pitt
9380efd9ee 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.
2015-06-19 06:05:28 +02:00
Michael Biebl
cb976c0abb 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.
2015-06-18 16:40:43 +02:00
Michael Biebl
ab077aa604 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.
2015-06-18 15:47:05 +02:00
Michael Biebl
e05826cb0b Fix typo: persistant → persistent, thanks lintian 2015-06-18 15:36:21 +02:00
Martin Pitt
311def2f06 releasing package systemd version 220-7 2015-06-17 22:49:18 +02:00
Martin Pitt
cf65a16b97 Restore udev watches on block device changes
Patch cherry-picked from upstream git.

Closes: #789060
LP: #1466081
2015-06-17 18:59:54 +02:00
Martin Pitt
47d7095cbd 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.
2015-06-17 14:42:49 +02:00
Martin Pitt
f02c90c827 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.
2015-06-17 12:16:04 +02:00
Martin Pitt
66439fe3ea Link check: test "systemd" binary as well, show binaries 2015-06-17 11:42:03 +02:00
Martin Pitt
c992598b78 Don't run link check with nocheck build option to avoid breaking cross-builds 2015-06-17 11:21:29 +02:00
Martin Pitt
5a33d4b966 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.
2015-06-17 10:02:05 +02:00
Martin Pitt
24b267b53c 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.
2015-06-17 08:00:45 +02:00
Martin Pitt
77fca23cb9 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.
2015-06-16 17:46:56 +02:00
Martin Pitt
d7b6c14d26 Revert "Automate building packages for upstream trunk"
This reverts commit e394c1c056.

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
2015-06-16 15:33:53 +02:00
Martin Pitt
65a48a85fa 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.
2015-06-16 15:16:34 +02:00
Michael Biebl
e56b6ae7a2 Whitespace police 2015-06-16 14:29:39 +02:00
Martin Pitt
616101286a ifupdown-hotplug: Fix cleanup
We can't have more than one trap in a shell script.
2015-06-16 12:41:02 +02:00
Martin Pitt
775ec4755b 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.
2015-06-16 12:35:34 +02:00
Martin Pitt
e394c1c056 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.
2015-06-16 10:24:46 +02:00
Martin Pitt
9f00032d92 fsckd-daemon-for-inter-fsckd-communication.patch: Add fsckd.c to POTFILES.in
This fixes "make check" for current upstream git master.
2015-06-16 09:01:17 +02:00
Martin Pitt
1066a14684 path-util-Fix-path_is_mount_point-for-files.patch is upstream, adjust patch series 2015-06-16 07:54:38 +02:00
Martin Pitt
f0877bf545 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.
2015-06-16 07:48:33 +02:00
Martin Pitt
972bbc8e26 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
2015-06-15 20:09:57 +02:00
Martin Pitt
fe5330d76a fix bug ref in changelog for "Ignore comments in /etc/hostname" 2015-06-15 14:30:30 +02:00
Michael Biebl
134c6ce3d8 Replace the remainder of Fix-paths-in-man-pages.patch with an upstream provided patch 2015-06-13 11:00:24 +02:00
Michael Biebl
702a751c5c Enable seccomp support on arm64 as well 2015-06-12 08:06:15 +02:00
Martin Pitt
5c05a7026c gbp pq patch noise 2015-06-11 10:04:37 +02:00
Martin Pitt
e480b40c01 releasing package systemd version 220-6 2015-06-11 09:25:54 +02:00
Martin Pitt
5a9a0e7d25 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
2015-06-11 09:13:34 +02:00
Martin Pitt
de81054914 Bump libcap-dev build dep to the version that provides libcap2-udeb
Closes: #787542
2015-06-11 00:05:05 +02:00
Martin Pitt
92bc4b1755 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.
2015-06-10 13:59:15 +02:00
Martin Pitt
1c84a61814 Drop "RequiresMountsFor=/tmp" from basic.target again
This avoids mounting tmp.mount by default, which we accidentally started doing
with 220.
2015-06-10 13:11:06 +02:00
Martin Pitt
cdea89592a debian/tests/boot-and-services: PEP-8 fixes 2015-06-10 12:59:35 +02:00
Martin Pitt
0ce4e05abc 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.
2015-06-10 12:27:36 +02:00
Martin Pitt
cf875f3ec0 boot-and-services autopkgtest: Add SeccompTest
This verifies that SystemCallFilter works.
2015-06-10 08:21:33 +02:00
Martin Pitt
d2504c4c4d 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
2015-06-10 07:55:43 +02:00
Martin Pitt
c74ff346e2 releasing package systemd version 220-5 2015-06-07 16:52:36 +02:00
Martin Pitt
34f4915b62 Refine detection of touch screen devices
Patches cherry-picked from upstream git.
2015-06-07 16:52:22 +02:00
Martin Pitt
812293bee7 Disable EFI support for udeb build 2015-06-06 16:00:40 +02:00