Commit Graph

2630 Commits

Author SHA1 Message Date
Lennart Poettering
a17204af0e unit: use ESRCH as error when we don't find anybody to kill 2011-07-13 19:59:28 +02:00
Lennart Poettering
0a524ba7c3 unit: accept empty defaults for kill who/mode args 2011-07-13 19:59:28 +02:00
Lennart Poettering
88e3dc903b loginctl: implement more verbs 2011-07-13 19:59:28 +02:00
Kay Sievers
d4b36d99f1 seat: udev - use ID_PATH_TAG instead of 'sed' hack 2011-07-13 19:45:36 +02:00
Lennart Poettering
82e487c56d unit: introduce ConditionFileIsExecutable= and use it where we check for a binary we'll spawn 2011-07-12 04:25:02 +02:00
Lennart Poettering
3611581ebd service: properly handle who argument on D-Bus kill calls 2011-07-12 04:05:33 +02:00
Lennart Poettering
ee17ee7c5c tmpfiles: allow creation of named pipes with tmpfiles 2011-07-12 03:56:56 +02:00
Lennart Poettering
97f73ffb04 update TODO 2011-07-12 03:42:44 +02:00
Lennart Poettering
7a2a0b907b sysctl: support application of sysctl subtrees 2011-07-12 03:36:17 +02:00
Lennart Poettering
54479a8fe9 build-sys: fix copynpaste mistake 2011-07-12 01:18:48 +02:00
Lennart Poettering
64452b1c02 build-sys: remove autogenerated bus introspection files from git 2011-07-12 01:16:24 +02:00
Lennart Poettering
9356a6c656 build-sys: fix make distcheck 2011-07-12 01:11:40 +02:00
Lennart Poettering
7a41c61168 build-sys: add a number of missing header files to EXTRA_DIST 2011-07-12 01:11:40 +02:00
Kay Sievers
d98b9b6345 build-sys: drop AM_GNU_GETTEXT as it fights with IT_PROG_INTLTOOL
<mbiebl> kay, mezcalero: https://bugzilla.gnome.org/show_bug.cgi?id=627789
  <mezcalero> so we can drop that entirely?
  <mezcalero> kay: if you drop those two lines, does it improve things for you?
  <mbiebl> kay: but ./configure should work now
  <mbiebl> resp. autogen.sh
  <kay> mezcalero, mbiebl: autogen.sh seems a lot better without the two lines
  <kay> mezcalero: works without the 'touch' thing
  <mezcalero> kay: ok, commit please
2011-07-12 00:45:28 +02:00
Frederic Crozat
a268a6a38f units: add units for boot.local/halt.local on SUSE distributions. 2011-07-12 00:15:35 +02:00
Lennart Poettering
89d471d55e shutdown: coding style fixes 2011-07-11 22:56:45 +02:00
Lennart Poettering
7e2bb92dca Merge remote-tracking branch 'harald/master' 2011-07-11 22:39:57 +02:00
Zbigniew Jędrzejewski-Szmek
2fb1aedaf2 logind: Fix compilation without ACL
Compilation fails if sys/acl.h is not available. The configure script
already tests for sys/acl.h presence, but the result was so far unused.
To compile without acl, stub implementations of the acl functions are
used.
2011-07-11 22:29:45 +02:00
Zbigniew Jędrzejewski-Szmek
4e7f8bc81c man: un-reverse IgnoreOnSnapshot description
I think that snapshots & devices are actually _not_ captured in
snapshots.
2011-07-11 22:09:41 +02:00
Lennart Poettering
1258097cd3 update TODO 2011-07-11 21:10:48 +02:00
Bastien Nocera
1c7dde3e47 build-sys: Add i18n support through intltool
And put the PolicyKit policy files up for translation.
2011-07-11 21:10:33 +02:00
Kay Sievers
2376ce132b clarify separate-/usr message
Everything should be fine if /usr is mounted from initramfs.
2011-07-11 02:12:42 +02:00
Lennart Poettering
24310c11ba loginctl: add missing header file 2011-07-09 00:04:27 +02:00
Lennart Poettering
aca4c78676 systemctl: fix --help syntax for variables 2011-07-08 21:45:59 +02:00
Lennart Poettering
1189684177 logind: don't confuse 'shared' with a session of its own 2011-07-08 21:45:44 +02:00
Lennart Poettering
e3e9cc803e logind: fix introspection typo 2011-07-08 21:45:23 +02:00
Lennart Poettering
7b3afbac4d acl: two tag matching is not going to be available in libudev 2011-07-08 21:44:22 +02:00
Lennart Poettering
a4c279f874 loginctl: add various introspection functions 2011-07-08 21:39:10 +02:00
Lennart Poettering
33fd64726c seat: only mark main input device for seat assignments 2011-07-08 21:37:17 +02:00
Lennart Poettering
69fc152fc1 systemctl: hide all information on --kill-mode= since it is mostly useless 2011-07-07 04:19:03 +02:00
Lennart Poettering
ef3a24de02 systemctl: use cached tty value where possible 2011-07-07 03:30:47 +02:00
Lennart Poettering
3b0727f5ec systemctl: cache tty value before we open the pager 2011-07-07 03:30:31 +02:00
Lennart Poettering
abca482291 loginctl: add basic implementation of loginctl for introspecting controlling sessions/users/seats 2011-07-07 03:29:56 +02:00
Lennart Poettering
1968a36040 cgls: add pager support to systemd-cgls 2011-07-07 02:34:35 +02:00
Lennart Poettering
8092a428d4 path,unit: support globbing in conditions and path units 2011-07-07 02:07:39 +02:00
Lennart Poettering
31a5f880cf update TODO 2011-07-07 01:18:10 +02:00
Lennart Poettering
a755605296 manager: merge serialization and desrialization counter into one, and increase it when reexecuting
Instead of having individual counters n_serializing and n_deserializing
have a single one n_reloading, which should be sufficient.

Set n_reloading when we are about to go down for reexecution to avoid
cgroup trimming when we free the units for reexecution.
2011-07-06 00:47:42 +02:00
Lennart Poettering
38a285d776 cgroup: don't trim a cgroup we create, we might just take it over from somebody else 2011-07-06 00:14:26 +02:00
Lennart Poettering
d5762cf540 udev: tag virtio serial ports with systemd by default 2011-07-05 20:32:08 +02:00
Lennart Poettering
4e002583fa update TODO 2011-07-05 17:27:44 +02:00
Lennart Poettering
347b9c4b1f udev: improve udev rule a bit 2011-07-05 14:27:26 +02:00
Michal Schmidt
f878830392 service: 'pidfile:' in SysV chkconfig header implies a real daemon
The presence of the chkconfig "pidfile:" header in the initscript is an
excellent indication that it's not a oneshot script (like iptables),
but a real daemon (like httpd).
2011-07-05 10:17:42 +02:00
Lennart Poettering
5db35d0672 udev: pull in printer.target from all kinds of printers 2011-07-05 03:29:24 +02:00
Lennart Poettering
7862f62de3 util: explicitly turn of O_CLOEXEC for stdin/stdout/stderr 2011-07-05 03:29:24 +02:00
Lennart Poettering
ccaa61498c add a few O_CLOEXEC where missing 2011-07-05 03:29:24 +02:00
Lennart Poettering
b5ef5549e9 logind: write rules files atomically 2011-07-05 03:29:24 +02:00
Lennart Poettering
0a31730e3b update todo 2011-07-05 03:29:24 +02:00
Lennart Poettering
5ba7b87195 password-agent: actually really don't access unallocated memory
Fix for 9726f9ff11
2011-07-04 19:06:43 +02:00
Lennart Poettering
9726f9ff11 password-agent: make sure not to access unallocated memory
Tracked down by Frederic Crozat
2011-07-04 19:00:48 +02:00
Harald Hoyer
7cb1094ace shutdown: pivot_root to a tmpfs directory to properly umount root
check for /run/initramfs/shutdown
mount bind all needed dirs to /run/initramfs
pivot_root to /run/initramfs
execute /run/initramfs/shutdown
2011-07-04 12:47:50 +02:00