Commit Graph

1210 Commits

Author SHA1 Message Date
Lennart Poettering
20c03b7be2 don't make up buffer sizes, use standard LINE_MAX instead 2011-04-07 18:48:50 +02:00
Lennart Poettering
f68319bbb8 unit: disallow configuration of more than one on_failure dependencies if OnFailureIsolate= is on 2011-04-07 18:47:35 +02:00
Lennart Poettering
ffd73e3599 unit: pull in logger unit only when running in system mode 2011-04-07 18:47:11 +02:00
Lennart Poettering
01d67b43b0 manager: serialize/deserialize max job id and /usr taint flag 2011-04-07 18:46:39 +02:00
Lennart Poettering
a8049b7a7c manager: don't garbage collect jobs when isolating, to change global state 2011-04-07 18:45:34 +02:00
Lennart Poettering
222ae6a8d7 unit: introduce OnFailureIsolate= 2011-04-07 04:11:31 +02:00
Lennart Poettering
51b4af2c28 mount: relabel both before and after a mount, just in case 2011-04-06 23:38:01 +02:00
Lennart Poettering
03aea2aecd cmdline: we actually want to parse the kernel cmdline in VMs, just not in containers 2011-04-06 19:36:06 +02:00
Lennart Poettering
4466194c43 units: rename rtc-set.target to time-sync.target and pull it in by hwclock-load.service
On request of Miroslav Lichvar, rename rtc-set.target to
time-sync.target since usually the RTC chip isn't involved at all in NTP
syncs.

Also, pull it in by hwclock-load.service.
2011-04-06 19:18:17 +02:00
Lennart Poettering
cebe0d41e4 job: fix deserialization of jobs: do not ignore ordering 2011-04-06 19:09:33 +02:00
Lennart Poettering
017803e242 systemctl: properly parse JobNew signals
https://bugzilla.redhat.com/show_bug.cgi?id=693274
2011-04-06 02:46:13 +02:00
Lennart Poettering
9c1b183c70 service: fix units with more than one socket
https://bugzilla.redhat.com/show_bug.cgi?id=693289
2011-04-06 02:25:39 +02:00
Lennart Poettering
82e23dddeb systemctl: make most operations NOPs in a chroot 2011-04-06 01:35:56 +02:00
Lennart Poettering
67370238b5 manager: don't show PID for incoming signals if it is 0 2011-04-06 01:33:34 +02:00
Lennart Poettering
33ff02c9fe mount: block creation of mount units for API file systems 2011-04-05 23:39:21 +02:00
Lennart Poettering
0b5b0ffbe0 pkgconfig: update .pc file accordingly 2011-04-04 19:14:38 +02:00
Lennart Poettering
ef3102bf43 lookup: always also look into /usr/lib for units 2011-04-04 19:02:32 +02:00
Lennart Poettering
3d57c6ab80 exec: support unlimited resources 2011-04-04 18:15:13 +02:00
Lennart Poettering
3bbecb2f2c selinux: relabel /run the same way as /dev after loading the policy since they both come pre-filled and unlabelled 2011-04-04 16:58:23 +02:00
Michal Schmidt
4466ee6a71 manager: fd must be int, not char
This should fix the crash reported by Dan Horak on s390x which
does not have VTs.
2011-04-04 15:34:53 +02:00
Kay Sievers
db019b8dd2 change remaining /var/run to /run 2011-04-04 15:33:00 +02:00
Lennart Poettering
151b190e79 binfmt: add binfmt tool to set up binfmt_misc at boot 2011-04-04 03:36:42 +02:00
Kay Sievers
3336686286 tmpfiles: create leading directories for d/D instructions 2011-04-03 22:22:56 +02:00
Lennart Poettering
d24e1b4806 condition: use 'selinux' rather than 'SELinux' as preferred spelling
The virtualization condition and others use lowercase identifiers, so
for the sake of keeping things least surprising, use lowercase
identifiers here too.
2011-04-03 22:18:39 +02:00
Michal Schmidt
07e833bc1d condition: add ConditionSecurity
Using ConditionSecurity a unit can depend on a security module being
enabled/disabled. For now the only recognized security module is SELinux.

I'd like to use this feature for a unit that creates /.autorelabel if
SELinux is disabled, to ensure a relabel is done automatically when the
system is later rebooted with SELinux enabled.
2011-04-03 22:16:37 +02:00
Michal Schmidt
41584525cf load-fragment: unify config_parse_condition_{kernel, virt}
They only differ in the condition type, otherwise the code is identical.
Replace them with a more generic config_parse_condition_string().
2011-04-03 22:16:23 +02:00
Michal Schmidt
8fb81fa784 condition: fix dumping of conditions
Several condition types were missing their strings, they were showing as
"(null)" in systemctl dump.
Indentation was missing too.
2011-04-03 22:15:58 +02:00
Lennart Poettering
7c3b203c5c kmsg-syslogd: pass facility value into kmsg 2011-04-03 22:15:14 +02:00
Lennart Poettering
bb29785e0d general: replace a few uses of /var/run by /run 2011-04-01 15:25:46 +02:00
Lennart Poettering
43515ba0ce mount: also relabel pre-mounted API dirs 2011-03-31 21:40:10 +02:00
Lennart Poettering
7d76f31288 log: fix shifting of facilities 2011-03-31 21:22:44 +02:00
Lennart Poettering
29db583471 log: don't strip facility when writing to kmsg 2011-03-31 19:49:04 +02:00
Lennart Poettering
da19d5c19f src: our lord is coverity 2011-03-31 15:35:40 +02:00
Lennart Poettering
ba1a55152c random: do not print warning if random seed doesn't exist yet 2011-03-31 04:40:02 +02:00
Lennart Poettering
9408a2d295 plymouth: use PID file to detect whether ply is running 2011-03-31 04:26:40 +02:00
Lennart Poettering
fe8954ab47 analyze: improve output 2011-03-31 03:18:14 +02:00
Lennart Poettering
8e028bb1ed analyze: add plotter 2011-03-31 01:19:12 +02:00
Lennart Poettering
3b2775c5ce unit: when deserializing do reconnect to dbus/syslog when they show up 2011-03-30 20:16:07 +02:00
Lennart Poettering
fac9f8df1f analyze: beautify output a bit 2011-03-30 20:15:45 +02:00
Lennart Poettering
f39133ac7f analyze: add systemd-analyze tool 2011-03-30 20:04:37 +02:00
Lennart Poettering
bdbf995180 unit: don't override timestamps due to state changes when deserializing 2011-03-30 20:04:20 +02:00
Lennart Poettering
6faa11140b status: show status messages unconditionally if plymouth is around 2011-03-30 02:21:48 +02:00
Lennart Poettering
871c44a747 taint: add missing cgroups taint flag 2011-03-30 02:12:46 +02:00
Lennart Poettering
d885ac661b locale: don't access misinitialized variable 2011-03-30 02:09:15 +02:00
Lennart Poettering
cb39ed3fde quota: do not pull in quota tools for mounts that do not originate in neither /etc/fstab nor fragment files 2011-03-30 01:53:34 +02:00
Lennart Poettering
72bc8d0056 manager: fix taint check for /usr 2011-03-30 00:47:50 +02:00
Lennart Poettering
ea87ca5a9e unit: never apply /etc/rcN.d/ priority to native services 2011-03-30 00:43:16 +02:00
Lennart Poettering
efbac6d29c unit: fix parsing of condition-result 2011-03-29 23:32:31 +02:00
Lennart Poettering
d325ef27a7 unit: don't complain about failed units when deserializing 2011-03-29 23:32:10 +02:00
Lennart Poettering
cd25cce98f exec: drop process group kill mode since it has little use and confuses the user 2011-03-29 23:31:38 +02:00