1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 19:21:53 +03:00
Commit Graph

8403 Commits

Author SHA1 Message Date
Kay Sievers
8ea5c07b1c udev: keymap - move src/udev/force-release-maps/ to keymaps-force-release/ 2012-04-14 19:53:31 +02:00
Kay Sievers
0b87a07761 udev: test - move test/ and src/test/ 2012-04-14 19:36:47 +02:00
Kay Sievers
7c09aafd26 README: update udev requirements 2012-04-14 19:25:28 +02:00
Kay Sievers
7c1d34c5d4 build-sys: silence the xsltproc output 2012-04-14 18:05:06 +02:00
Kay Sievers
690804ca8e build-sys: add 'make doc-sync' target 2012-04-13 23:51:22 +02:00
Lennart Poettering
ecedd90fcd service: place control command in subcgroup control/
Previously, we were brutally and onconditionally killing all processes
in a service's cgroup before starting the service anew, in order to
ensure that StartPre lines cannot be misused to spawn long-running
processes.

On logind-less systems this has the effect that restarting sshd
necessarily calls all active ssh sessions, which is usually not
desirable.

With this patch control processes for a service are placed in a
sub-cgroup called "control/". When starting a service anew we simply
kill this cgroup, but not the main cgroup, in order to avoid killing any
long-running non-control processes from previous runs.

https://bugzilla.redhat.com/show_bug.cgi?id=805942
2012-04-13 23:29:59 +02:00
Kay Sievers
3b6d9a7c50 update .gitignore 2012-04-13 21:58:01 +02:00
Lennart Poettering
8aec53fb90 polkit: spawn agent in --fallback mode 2012-04-13 21:52:42 +02:00
Kay Sievers
5f86ae4385 update .gitignore 2012-04-13 21:49:25 +02:00
Lennart Poettering
b562f5a57d build-sys: add stub makefiles to all subdirs to ease development with emacs 2012-04-13 21:37:59 +02:00
Lennart Poettering
9537eab070 nspawn: add missing include lines 2012-04-13 21:37:59 +02:00
Lennart Poettering
c757a65b6a watchdog: make watchdog dbus properties writable 2012-04-13 21:37:59 +02:00
Lennart Poettering
d4e7373bbb dbus: automatically send out changed events for properties written to 2012-04-13 21:37:59 +02:00
Kay Sievers
5e947e88d4 udev: gudev - silence introspection scanner warning
<kay> walters: you happen to know how to silence this? gudev.h:24: Warning:
  GUdev: symbol='_GUDEV_INSIDE_GUDEV_H': Unknown namespace for symbol 'GUDEV_INSIDE_GUDEV_H'
<walters> kay, probably:
<walters> -#define _GUDEV_INSIDE_GUDEV_H 1
<walters> +#define _GUDEV_INSIDE_GUDEV_H
<walters> kay, if the scanner sees a define with a value it assumes it's a constant for public consumption

<walters> kay, patch in https://bugzilla.gnome.org/show_bug.cgi?id=674072 fwiw
<kay> walters: cool, thanks!
<kay> walters: your workaround removing the "1" works. nice!
2012-04-13 21:35:45 +02:00
Lennart Poettering
2dad62205f dbus: expose whether we have a hardware watchdog on the bus 2012-04-13 19:46:51 +02:00
Lennart Poettering
186b97d99f units: drop audit reference from description of utmp units since that is build-time optional 2012-04-13 19:46:51 +02:00
Lennart Poettering
fb316903b8 units: add CAP_MKNOD condition to the other two udev services too 2012-04-13 19:46:51 +02:00
Lennart Poettering
691206668a unit: signal explicitly if a condition failed in unit_start()
We shouldn't print a status message on the console if we skipped a unit
due to a condition. Hence make unit_start() return -ENOEXEC in such a
case which is mapped to JOB_SKIPPED which results in no console message.
2012-04-13 19:46:51 +02:00
Kay Sievers
bb061708d5 udev: move libudev, gudev to src/; move gudev/docs/, udev/docs/ to to docs/ 2012-04-13 19:22:06 +02:00
Lennart Poettering
74afee9c18 logind: explicitly check for /dev/tty0 2012-04-13 18:52:53 +02:00
Lennart Poettering
41807efb15 units: do binfmt magic only when /proc/sys is writable 2012-04-13 18:52:53 +02:00
Lennart Poettering
9f28b98ec6 main: unset some more env vars 2012-04-13 18:52:53 +02:00
Lennart Poettering
44785992c3 audit: ignore if we get EPERM
if auditing access is not available, then don't complain about it, in
order to play nice with systems lacking CAP_SYS_AUDIT
2012-04-13 18:52:53 +02:00
Lennart Poettering
2c3ff76eb0 loopback: handle EPERM more gracefully 2012-04-13 18:52:53 +02:00
Lennart Poettering
a41b539efc manager: support systems lacking /dev/tty0 2012-04-13 18:52:52 +02:00
Lennart Poettering
e58a12770c nspawn: fake /dev/kmsg and /proc/kmsg as fifo 2012-04-13 18:52:52 +02:00
Martin Pitt
a417efcd33 keymap: Add HP Compaq Presario CQ*
https://launchpad.net/bugs/935804
2012-04-13 17:19:01 +02:00
Martin Pitt
84f4fc4215 keymap: Add Dell XPS force-release quirk
https://launchpad.net/bugs/910911
2012-04-13 17:17:22 +02:00
Kay Sievers
9b80f05fb7 udev: unpack sysfs test tree only on 'make check'; fix test-udev binary location 2012-04-13 15:57:13 +02:00
Kay Sievers
56d35ff9ca udev: keymap - move data files to root directory 2012-04-13 15:38:15 +02:00
Kay Sievers
b49d9b50cf udev: fix a few issues detected by the llvm static analyzer 2012-04-13 15:10:12 +02:00
Lennart Poettering
7ea07dcdda fix a couple of things found with the llvm static analyzer 2012-04-13 13:58:50 +02:00
Lennart Poettering
64695e53a0 build-sys: drop systemd- prefix from analyze dir 2012-04-13 13:34:09 +02:00
Kay Sievers
e0eaab7cd1 build-sys: execute test programs with 'make check' 2012-04-13 13:21:20 +02:00
Kay Sievers
0eaeca1f23 udev: use native instead of custom --disable-introspection logic 2012-04-13 12:49:51 +02:00
Kay Sievers
4193534e12 udev: link some systemd parts statically to limit shared libararies dependencies for standalone use 2012-04-13 12:34:35 +02:00
Kay Sievers
af7c2d6c54 update mailmap 2012-04-13 03:47:52 +02:00
Lennart Poettering
ae572d87c5 build-sys: move systemd-analyze into its own subdir 2012-04-12 20:28:00 +02:00
Kay Sievers
6b8b149a21 udev: properly hook up all tests to 'make check' 2012-04-12 19:25:41 +02:00
Kay Sievers
6cbf079f10 build-sys: use check_PROGRAMS for test-*.c 2012-04-12 19:00:28 +02:00
Kay Sievers
b7739c77df build-sys: remove $(DBUS_LIBS), libsystemd-dbus.la pulls it in 2012-04-12 18:30:24 +02:00
Kay Sievers
43a1ab9b90 pam_systemd: add dbus.la 2012-04-12 18:30:24 +02:00
Lennart Poettering
c0a0872d5c build-sys: move src/linux/ to src/shared/linux 2012-04-12 18:27:35 +02:00
Lennart Poettering
0f4e02c220 build-sys: create top-level directory for bash completion 2012-04-12 18:26:30 +02:00
Lennart Poettering
08e1fb68d7 build-sys: move *-setup out of shared to avoid selinux being pulled in 2012-04-12 18:19:34 +02:00
Kay Sievers
dce818b390 move all tools to subdirs 2012-04-12 17:54:42 +02:00
Lennart Poettering
4fc5568804 machine-id-setup: avoid cyclic dependency, built twice instead 2012-04-12 17:53:19 +02:00
Lennart Poettering
25d042e815 journal: fix missing variable initialization 2012-04-12 17:43:33 +02:00
Lennart Poettering
41e5171419 build-sys: split off logs-show into its own convenience library 2012-04-12 17:42:09 +02:00
Lennart Poettering
8ef58b3efc getty: skip VC gettys if the VC subsystem is not available 2012-04-12 17:31:26 +02:00