Commit Graph

13694 Commits

Author SHA1 Message Date
Michael Biebl
928e4fd7be Drop Breaks for packages shipping rcS init scripts
This transition was completed in stretch.
2017-06-19 16:05:59 +02:00
Michael Biebl
f4dbed4ee5 Drop no longer needed Breaks against usb-modeswitch 2017-06-19 16:05:59 +02:00
Michael Biebl
c39b6018c2 hwdb: Use path_join() to generate the hwdb_bin path
This ensures /lib/udev/hwdb.bin gets the correct SELinux context. Having
double slashes in the path makes selabel_lookup_raw() return the wrong
context.

Closes: #851933
2017-06-01 16:09:31 +02:00
Michael Biebl
731e739c0e Release version 233-8 to experimental 2017-05-29 14:14:32 +02:00
Michael Biebl
9027eabb43 resolved: fix null pointer p->question dereferencing
This fixes a bug which allowed a remote DoS (daemon crash) via a crafted
DNS response with an empty question section.

Closes: #863277
Fixes: CVE-2017-9217
2017-05-29 14:10:53 +02:00
Michael Biebl
a0e7ccccca timesyncd: don't use compiled-in list if FallbackNTP has been configured explicitly
Closes: #861769
2017-05-29 13:34:30 +02:00
Michael Biebl
5471a7bf36 Drop versioned Build-Depends on dpkg-dev
It's no longer necessary as even Jessie ships a new enough version.
2017-05-26 15:38:19 +02:00
Michael Biebl
639a12938b Bump debhelper compatibility level to 10
Drop --with autoreconf and --parallel as those are now enabled by
default.

The systemd sequence is now also enabled by default. We don't strictly
need the additional complexity that comes with init-system-helpers, as
we can just rely on systemctl being available. So use --without systemd
for the time being.

Gbp-Dch: Short
2017-05-26 15:15:23 +02:00
Michael Biebl
b33f8bda39 Release version 233-7 to experimental 2017-05-24 12:26:56 +02:00
Felipe Sateler
1f9f713f59 Specify nobody user and group
Otherwise nss-systemd will translate to group 'nobody', which doesn't
exist on debian systems.
2017-05-22 19:09:56 +02:00
Michael Biebl
e8bb223fa6 seccomp: Add clone syscall definitions for mips
Closes: #861171
2017-05-22 15:48:17 +02:00
Michael Biebl
4ee4c8c119 service: Serialize information about currently executing command
Closes: #861157
2017-05-22 15:40:56 +02:00
Michael Biebl
a73b5e03eb Add Depends: procps to systemd
It's required by /usr/lib/systemd/user/systemd-exit.service which calls
/bin/kill to stop the systemd --user instance.

Closes: #862292
2017-05-22 14:50:51 +02:00
Michael Biebl
443cbc030a ima: Ensure policy exists before asking the kernel to load it
Closes: #863111
2017-05-22 13:35:09 +02:00
Dimitri John Ledkov
baa789362f
ubuntu: disable dnssec on any ubuntu releases
The internet is broken, and debugging the internet with Ubuntu is not
helpful. Too many websites are incorrectly signed with dnssec, and there are
many outstanding bugs upstream and newly reported in Ubuntu as soon as artful
landed with dnssec re-enabled. Ubuntu devel releases are used on day to day
basis and are not experimental enough to break developers'
networking. Re-enabling dnssec should only be considered once existing upstream
and launchpad dnssec bugs are resolved.

LP: #1690605
Gbp-Dch: Short
2017-05-17 17:05:44 +01:00
Michael Biebl
060f8e5705 basic/journal-importer: Fix unaligned access in get_data_size()
Closes: #862062
2017-05-08 15:00:27 +02:00
Michael Biebl
4a47a2e0e6 Release version 233-6 to experimental 2017-04-28 21:49:33 +02:00
Martin Pitt
b744f71282 debian/extra/checkout-upstream: Rebase PR against master
With this, what we test will be much closer to what we will actually
merge. It also avoids older PRs to now suddenly fail because they are
based against an older HEAD without the meson patches.
2017-04-26 08:56:21 +02:00
Sjoerd Simons
f713edf4a4 init-functions Only call daemon-reload when planning to redirect
systemctl daemon-reload is a quite a heavy operation, it will re-parse
all configuration and re-run all generators. This should only be done
when strictly needed.

The init-function helpers try to cope with an lsb init script being
called *before* the sysv generator has run. Unfortunately that always got
triggered when other script sourced the helpers as there won't be a
service matching them.

Resolve this by only potentially reloading the daemon when preparing to
redirect.

Closes: #861158
2017-04-25 10:04:45 +02:00
Michael Biebl
6731a761fe Get PACKAGE_VERSION from config.h
This also works with meson and is not autotools specific.
2017-04-14 00:12:43 +02:00
Michael Biebl
beb9813840 Please lintian and fix description-is-pkg-name
Gbp-Dch: Ignore
2017-04-14 00:12:04 +02:00
Michael Biebl
9cdf886b5b Move the lintian overrides to the systemd-tests package as well
Follow-up fix for commit db8bd967bf.

Gbp-Dch: Ignore
2017-04-14 00:11:47 +02:00
Michael Biebl
db8bd967bf Split upstream tests into systemd-tests binary package
Closes: #859152
2017-04-08 11:40:37 +02:00
Michael Biebl
fecac1bc0d journal: fix up syslog facility when forwarding native messages
Native journal messages (_TRANSPORT=journal) typically don't have a
syslog facility attached to it. As a result when forwarding the
messages to syslog they ended up with facility 0 (LOG_KERN).
Apply syslog_fixup_facility() so we use LOG_USER instead.

Closes: #837893
2017-04-05 00:56:31 +02:00
Michael Biebl
c4173d2672 Drop systemd-ui Suggests
systemd-ui is unmaintained upstream and not particularly useful anymore.
2017-04-05 00:48:31 +02:00
Michael Biebl
24505f7156 Add Conflicts against hal
Since v183, udev no longer supports RUN+="socket:". This feature is
still used by hal, but now generates vast amounts of errors in the
journal. Thus force the removal of hal by adding a Conflicts to the udev
package. This is safe, as hal is long dead and no longer useful.
2017-03-26 04:00:14 +02:00
Martin Pitt
2bcd47a7d6 resolved: Disable DNSSEC by default on stretch and zesty
Both Debian stretch and Ubuntu zesty are close to releasing, switch to
DNSSEC=off by default for those. Users can still turn it back on with
DNSSEC=allow-downgrade (or even "yes").
2017-03-23 16:30:21 +01:00
Martin Pitt
1e5aced377 debian/rules: Clarify comment about disabling DNSSEC support on stable Ubuntu releases
Gbp-Dch: Ignore
2017-03-23 15:51:21 +01:00
Felipe Sateler
9bf0e3f7c8 Backport upstream PR #5531
This delays opening the mdns and llmnr sockets until a network has enabled them.
This silences annoying messages when networkd receives such packets without
expecting them:

  Got mDNS UDP packet on unknown scope.
2017-03-22 16:58:56 -03:00
Michael Biebl
a2d4231c56 Release version 233-5 to experimental 2017-03-21 21:00:29 +01:00
Michael Biebl
9f4680af6a rules: Allow SPARC vdisk devices when identifying CD drives
Closes: #858014
2017-03-21 20:59:48 +01:00
Michael Biebl
e4426d85c1 Do not throw a warning in emergency and rescue mode if plymouth is not installed
Ideally, plymouth should only be referenced via dependencies, not
ExecStartPre. This at least avoids the confusing error message on
minimal installations that do not carry plymouth.
2017-03-21 20:58:43 +01:00
Michael Biebl
bcec31a2da Release version 233-4 to experimental 2017-03-16 18:40:43 +01:00
Michael Biebl
392f57904d Avoid strict DM API versioning
Compiling against the dm-ioctl.h header as provided by the Linux kernel
will embed the DM interface version number. Running an older kernel can
lead to errors on shutdown when trying to detach DM devices.
As a workaround, build against a local copy of dm-ioctl.h based on 3.13,
which is the minimum required version to support DM_DEFERRED_REMOVE.

Closes: #856337
2017-03-16 18:39:59 +01:00
Martin Pitt
ce372791da Update changelog 2017-03-12 12:32:01 +01:00
Martin Pitt
17011b6747 Move systemd.link(5) to udev package
.link files are being handled by udev, so it should ship the
corresponding manpage. Bump Breaks/Replaces accordingly.

Closes: #857270
2017-03-12 12:32:01 +01:00
Felipe Sateler
c7dae0083e git-cherry-pick: Actually use cherry-pick for picking
Use git cherry-pick for picking instead of rebase.
This allows using -x flag and thus record the upstream commit that is
being picked.
2017-03-08 11:05:54 -03:00
Martin Pitt
cbde5426c7 Add libpolkit-gobject-1-dev build dep for polkit version detection
https://github.com/systemd/systemd/pull/5555 will introduce a version
check to determine whether we build for a polkit version which only
supoprts *.pkla files. Make polkit-gobject-1.pc available during build
to ensure that we continue to ship the *.pkla policies.
2017-03-08 09:23:53 +01:00
Michael Biebl
75c7beacfd Restart journald on upgrades
This should be safe with v233:
http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/2017-March/014434.html

Closes: #851438

Gbp-Dch: Short
2017-03-06 01:04:20 +01:00
Martin Pitt
34e105def9 Update upstreamed khash patch
Gbp-Dch: Ignore
2017-03-05 21:07:29 +01:00
Martin Pitt
c09b438cf0 root-unittest: Drop obsolete FIXME
We actually do want to run "udev" as a separate test, as that needs
machine isolation while all the others only require container isolation.
2017-03-05 14:30:47 +01:00
Martin Pitt
a2cc9d4459 udev autopkgtest: Drop obsolete sys.tar.xz fallback
This was only necessary for supporting 232 as well.
2017-03-05 14:30:47 +01:00
Michael Biebl
7c83f604ff Release version 233-3 to experimental 2017-03-03 19:52:17 +01:00
Michael Biebl
a76837fb80 Don't ship any symlinks in /etc/systemd/system
Those should be created dynamically via "systemctl enable".
2017-03-03 19:36:59 +01:00
Michael Biebl
d1935521fa Override package-name-doesnt-match-sonames lintian warning for libnss-* 2017-03-03 18:48:14 +01:00
Michael Biebl
b691eb8cd6 Fix location of installed tests 2017-03-03 17:51:42 +01:00
Martin Pitt
639184fc39 root-unittests autopkgtest: Skip test-udev
It has its own autopkgtest and needs some special preparation. At some
point that should be merged into root-unittests, but let's quickfix this
to unbreak upstream CI.
2017-03-03 16:58:29 +01:00
Michael Biebl
d8fe964444 console-shell.service got removed upstream in v233 2017-03-03 15:33:54 +01:00
Michael Biebl
9945bfe553 Simplify version checks for save_is_enabled
Stop testing for specific versions. This is no longer necessary as even
the versions in jessie satisfy those requirements.

Also, run the code on upgrades only. Trying to do that on new installs
(even if there is state from a removed but not purged systemd package)
is rather pointless, as systemctl will not be available at this point.
2017-03-03 15:32:57 +01:00
Michael Biebl
0611c836ec Drop version checks which always evaluate to false on upgrades
Instead run the code only on new installations. There might still be
cases where users migrate from sysvinit to systemd, so we don't want to
drop it yet.
2017-03-03 14:06:16 +01:00