Martin Pitt
2493e4e89e
Kill /etc/udev/links.conf, create_static_nodes, and associated code.
...
It's obsolete with devtmpfs (which is required now), and doesn't run with
systemd or upstart anyway.
2014-04-26 20:25:56 +02:00
Martin Pitt
b3020807bf
Merge mbiebl's changelog records
2014-04-26 20:12:01 +02:00
Michael Biebl
05e5a59af0
Also drop misleading comment when fixing up tmp.conf
2014-04-26 20:09:43 +02:00
Michael Biebl
ec5e27ce8f
Do not accidentally re-enable /var/tmp cleaning
...
when migrating the TMPTIME setting from /etc/default/rcS.
Fix up existing broken configurations.
Closes : #738862
2014-04-26 19:55:31 +02:00
Marco d'Itri
a807b97631
Add the bug number to the last changelog entry
2014-04-26 19:47:20 +02:00
Marco d'Itri
ce7be9b190
Add more CD/DVD aliases to 60-cdrom_id.rules
2014-04-26 19:43:49 +02:00
Michael Biebl
0a8c29c13a
Add support for LSB facilities defined by insserv
...
Parse /etc/insserv.conf.d content and /etc/insserv.conf and generate systemd
unit drop-in files to add corresponding dependencies. Also ship targets for
the Debian specific $x-display-manager and $mail-transport-agent system
facilities.
Closes : #690892
2014-04-26 18:58:57 +02:00
Marco d'Itri
10c0c17542
Do not blacklist viafb
2014-04-26 18:40:59 +02:00
Michael Stapelberg
c6f16d171f
Make libpam-systemd depend on systemd-sysv | systemd-shim
...
Packages that need logind functionality should depend on libpam-systemd.
2014-04-26 18:10:09 +02:00
Michael Stapelberg
5b42170e0e
Add systemd-dbg package, thanks Daniel Schaal
...
Closes : #742724
2014-04-26 18:03:26 +02:00
Marco d'Itri
61f3b6ef03
Document in the changelog a fixed bug
...
The rule which set group floppy for all removable devices has been removed
in the cleanup.
2014-04-26 17:46:33 +02:00
Marco d'Itri
d475104781
Check in preinst for accept4(2) too
...
Some architectures like arm and ia64 added the system call later than in
2.6.32 when it was actually implemented.
2014-04-26 17:38:41 +02:00
Martin Pitt
9bce49eb4a
Fix polkit permissions for rebooting with multiple sessions
...
Cherry-picked from upstream.
2014-04-26 17:15:02 +02:00
Martin Pitt
11d77f5969
Make sd_login_monitor_new() work for logind without systemd
2014-04-26 17:07:06 +02:00
Martin Pitt
be2d9a2128
Set default polling interval on removable devices as well
...
This is for kernels which have "block" built in instead of being a module.
Closes : #713877
2014-04-26 16:39:42 +02:00
Marco d'Itri
aa9ec4cdf2
Check in preinst for the new system calls needed
...
We choose to not explicitly raise the required kernel version because
functional tests appear to be enough to validate real world kernels.
2014-04-26 16:39:09 +02:00
Martin Pitt
9640b34d06
Add reference to #739018 to changelog
2014-04-26 16:29:31 +02:00
Martin Pitt
4ce5b1f1e4
Drop our Debian specific 50-udev-default.rules and 91-permissions.rules
...
Use the upstream rules with a patch for the remaining Debian specific default
device permissions. Many thanks to Marco d'Itri for researching which
Debian-specific rules are obsolete!
Amongst other things, this now also reads the hwdb info for USB devices and
gets rid of some syntax errors.
Closes : #717405
Closes : #706221
2014-04-26 16:26:43 +02:00
Martin Pitt
5284b53b9d
Drop our Debian specific 80-drivers.rules
...
Use the upstream rules with a patch for the sg module (see #657948 ). These now
stop calling modprobe and use the kmod builtin, giving some nice boot speed
improvement.
Closes : #717404
2014-04-26 14:32:15 +02:00
Martin Pitt
c114f9af15
Drop our Debian specific 60-persistent-storage{,-tape}.rules
...
Move to using the upstream rules. They are compatible and do a superset of the
functionality.
In our 60-persistent-storage.rules:
- hd* rules are obsolete (only using PATA drivers these days with SCSI)
- id_dasd is obsolete (not in any package on any arch in any release)
- id_edd in Debian seems to not exist. Dell's edd package ships these rules by
itself
- ID_SCSI_COMPAT isn't set by id_scsi any more, thus rules are obsolete
2014-04-26 13:56:36 +02:00
Martin Pitt
9ba585861f
Add new block of Windows Azure ethernet hardware address to 75-persistent-net-generator.rules
...
LP: #1274348
2014-04-26 13:39:17 +02:00
Martin Pitt
728337b60c
Mount /dev/pts with the correct permissions in the udev
...
This avoids needing pt_chown (not available on all architectures).
Thanks Adam Conrad.
2014-04-26 13:34:08 +02:00
Martin Pitt
1a425de3cb
Run dh_install with --fail-missing
...
To avoid forgetting files when we move to new versions.
2014-04-26 13:20:05 +02:00
Martin Pitt
d2a5cc4969
Ship sd-shutdown.h in libsystemd-daemon-dev
2014-04-26 13:19:23 +02:00
Martin Pitt
ca7e3cf554
rules: Remove the kernel-install bits
...
we don't want that in Debian and thus it shouldn't appear in dh_install
--list-missing output.
2014-04-26 13:13:24 +02:00
Martin Pitt
a88d6fbf1d
debian/udev.udev-finish.upstart: Fix path to tmp-rules
...
debian/extra/rule_generator.functions creates them in /run/udev/.
2014-04-26 12:57:02 +02:00
Michael Biebl
23cb06f10a
Do proper refcounting of the PAM module package on prerm
...
so that we don't drop the module from the PAM config when uninstalling
a foreign-arch package. Related to Ubuntu bug #1295521 .
2014-04-26 12:38:03 +02:00
Michael Biebl
2737d22947
Switch from gitpkg to git-buildpackage. Update README.source accordingly.
2014-04-26 11:08:35 +02:00
Michael Biebl
ad25dcba4d
Do not send potentially private fstab information without prior user confirmation
...
Closes : #743158
2014-04-26 10:42:37 +02:00
Michael Biebl
83fc6fa5f5
No longer necessary with gbp
2014-04-26 10:25:11 +02:00
Michael Biebl
c4c250e39b
Import patches
2014-04-26 10:23:52 +02:00
Michael Stapelberg
cdd39f044e
Delete obsolete debian/source/options (not necessary with gbp).
2014-04-26 10:18:23 +02:00
Michael Stapelberg
0f559ca481
Update README.source with git-buildpackage instructions.
2014-04-26 10:18:08 +02:00
Michael Stapelberg
bc8afc3505
Add debian/gbp.conf with pristine-tar = True.
2014-04-26 10:17:35 +02:00
Michael Stapelberg
ba573a3afc
Use orig tarball systemd-204.tar.xz.
...
Instead of tracking git upstream directly, the upstream branch now
contains the contents of the orig tarball available at
http://www.freedesktop.org/software/systemd/
2014-04-26 10:16:11 +02:00
Michael Stapelberg
0a93274a85
Delete all upstream files in preparation for the merge.
...
This is necessary to properly deal with files like units/syslog.target,
which would not be deleted when merging otherwise.
2014-04-26 10:15:56 +02:00
Michael Stapelberg
a3a334cc8e
Merge branch 'upstream'
2014-04-26 10:09:47 +02:00
Michael Stapelberg
663996b3bb
Imported Upstream version 204
2014-04-26 10:08:46 +02:00
Michael Biebl
707f3e51a7
Release version 204-8 to unstable
2014-03-19 18:58:15 +01:00
Michael Biebl
a51c32c787
Bump Standards-Version to 3.9.5.
2014-03-19 18:55:17 +01:00
Michael Biebl
9e3f8cb8b4
Use comment=systemd.device-timeout syntax in systemd.mount man page
...
This is a followup commit for e89ec25a63
2014-03-19 18:51:31 +01:00
Michael Biebl
16e46da43c
Don't install tmp.mount in local-fs.target.wants
...
Instead of installing and removing tmp.mount later via debian/rules,
don't install it in the first place. This is a followup commit for
d151046c20
2014-03-19 18:51:31 +01:00
Michael Stapelberg
a049efa4bf
ignore chkconfig headers entirely, they are often broken in Debian
...
closes #634472
2014-03-01 10:28:51 +01:00
Michael Biebl
c969fb1d79
systemctl: fix segfault in enable_unit()
...
This bug was introduced in aa57b6c5c3
We need to initialize the DBusError struct before it is used/freed.
2014-02-27 23:53:01 +01:00
Michael Stapelberg
15199d3e11
pam: Check $XDG_RUNTIME_DIR owner
...
from Ubuntu’s patches/pam-check-runtime-dir-user.patch:
From: Martin Pitt <martinpitt@gnome.org>
Date: Wed, 13 Nov 2013 13:02:28 +0100
Subject: [PATCH] pam: Check $XDG_RUNTIME_DIR owner
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html requires
that $XDG_RUNTIME_DIR "MUST be owned by the user, and he MUST be the only one
having read and write access to it.".
Don't set an existing $XDG_RUNTIME_DIR in the PAM module if it isn't owned by
the session user. Otherwise su sessions get a runtime dir from a different user
which leads to either permission errors or scribbling over the other user's
files.
Bug-Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=753882
Bug-Ubuntu: https://launchpad.net/bugs/1197395
2014-02-27 22:12:53 +01:00
Michael Stapelberg
73b71c7fc5
set capabilities cap_dac_override,cap_sys_ptrace=ep for systemd-detect-virt
2014-02-27 10:44:52 +01:00
Michael Stapelberg
4359627a6b
add explicit “Depends: sysv-rc”
...
closes : #739679
2014-02-26 08:46:03 +01:00
Michael Stapelberg
2629d67db7
remove kernel.sysrq= setting from sysctl.d/50-default.conf
...
(Following Ben Hutching’s recommendation.)
closes #725422
2014-02-19 23:35:34 +01:00
Michael Stapelberg
8ad615a559
start a debian/README.source
...
closes #739113
2014-02-18 20:04:41 +01:00
Michael Stapelberg
2bcec691e9
do a one-time migration of RAMTMP=
...
from /etc/default/rcS and /etc/default/tmpfs, i.e. enable tmp.mount
Closes : #738687
2014-02-15 19:33:06 +01:00