1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00
Commit Graph

376 Commits

Author SHA1 Message Date
Lennart Poettering
8d0e38a2b9 dbus: introduce UnsetAndSetEnvironment() 2011-06-21 19:29:45 +02:00
Lennart Poettering
3661ac04b4 manager: include full systemctl status command line in error message 2011-06-20 21:39:28 +02:00
Lennart Poettering
8003c705f2 update TODO 2011-06-20 17:49:22 +02:00
Lennart Poettering
c798c40ec9 update TODO 2011-06-15 22:49:54 +02:00
Lennart Poettering
f9f0c31ae5 man: clarify os-release in regards to spaces a bit 2011-06-15 21:09:04 +02:00
Kay Sievers
235b28269a update TODO 2011-05-25 00:38:36 +02:00
Kay Sievers
359306dfe5 update TODO 2011-05-24 03:20:19 +02:00
Kay Sievers
8bf7fea558 update TODO 2011-05-24 01:30:51 +02:00
Lennart Poettering
f28f1daf75 update TODO 2011-05-20 01:57:20 +02:00
Lennart Poettering
ec6370a22d socket: expose SO_BROADCAST 2011-05-19 18:10:19 +02:00
Lennart Poettering
6ea832a207 exec: hangup/reset/deallocate VTs in gettys
Explicitly disconnect all clients from a VT when a getty starts/finishes
(requires TIOCVHANGUP, available in 2.6.29).

Explicitly deallocate getty VTs in order to flush scrollback buffer.

Explicitly reset terminals to a defined state before spawning getty.
2011-05-18 01:07:36 +02:00
Lennart Poettering
916abb21d0 socket: add POSIX mqueue support 2011-05-17 19:37:03 +02:00
Lennart Poettering
c2a14cf0dd hostnamed: check that nss-myhostname is installed 2011-05-17 17:19:45 +02:00
Lennart Poettering
fb389e05d8 update TODO 2011-05-17 17:17:26 +02:00
Lennart Poettering
88a07670cf hostnamed: SetPrettyHostname() should check PK action org.freedesktop.hostname1.set-static-hostname 2011-05-12 16:14:44 +02:00
Kay Sievers
656842223b update TODO 2011-05-09 12:24:12 +02:00
Lennart Poettering
4a058a7519 update TODO 2011-05-03 02:29:57 +02:00
Lennart Poettering
24d7d144a6 update TODO 2011-05-02 23:49:54 +02:00
Lennart Poettering
7ec75dc70f units: enable automount units only if the kernel supports them 2011-05-02 17:43:18 +02:00
Kay Sievers
adf70c5e4e binfmt, modules-load, sysctl, tmpfiles: add missing ConditionDirectoryNotEmpty= 2011-04-30 23:08:15 +02:00
Lennart Poettering
24a73f5157 plymouth: introduce plymouth.enable=0 kernel command line switch 2011-04-30 04:23:36 +02:00
Lennart Poettering
ec195f55fb util: don't AND cx with cx 2011-04-30 04:07:28 +02:00
Kay Sievers
44143309dd util: conf_files_list() return list as parameter 2011-04-28 23:51:24 +02:00
Lennart Poettering
b23de6af89 dbus: make daemon reexecution synchronous
We simply keep open copies of the dbus connections across the
reexecution and close them as last step of it. A client can thus simply
wait until its connection is dropped to know when the reexecution is
finished.

https://bugzilla.redhat.com/show_bug.cgi?id=698198
2011-04-28 22:07:01 +02:00
Lennart Poettering
b4bd51448f label: don't print warning when we try ro relabel an non-existing file
https://bugzilla.redhat.com/show_bug.cgi?id=698674
2011-04-28 05:06:48 +02:00
Lennart Poettering
a9dd208208 lookup: drop empty directories from search paths 2011-04-28 04:55:05 +02:00
Lennart Poettering
796ba55494 unit: fix assert when trying to load unit instances for uninstanciable types
http://lists.freedesktop.org/archives/systemd-devel/2011-April/001910.html
2011-04-28 01:26:42 +02:00
Lennart Poettering
ecb963cc40 def: lower default timeout to 90s
Almost everybody found 3min too long, so lower it again
2011-04-27 22:30:50 +02:00
Kay Sievers
0ecb942753 update TODO 2011-04-27 23:26:07 +02:00
Lennart Poettering
2121dcdded manager: fix serialization counter 2011-04-27 15:54:34 +02:00
Lennart Poettering
7dad4db0cb update TODO 2011-04-27 15:54:34 +02:00
Lennart Poettering
13f9123298 update TODO 2011-04-21 03:56:20 +02:00
Lennart Poettering
b0a3f2bc09 socket: support ListeSpecial= sockets 2011-04-20 05:02:23 +02:00
Lennart Poettering
0c749d504e nspawn: don't fail when we receive SIGCHLD
https://bugs.freedesktop.org/show_bug.cgi?id=36148
2011-04-20 04:12:17 +02:00
Lennart Poettering
9534ce5485 units: set capability bounding set for syslog services 2011-04-20 03:34:58 +02:00
Lennart Poettering
05677bb780 man: fix specification of default timeouts 2011-04-20 00:51:23 +02:00
Lennart Poettering
73090dc815 execute: when we run as PID 1 the kernel doesn't give us CAP_SETPCAP by default. Get that temporarily when dropping capabilities for good 2011-04-19 06:06:41 +02:00
Lennart Poettering
49f91047af socket: guarantee order in which sockets are passed to be the one of the configuration file 2011-04-16 03:42:18 +02:00
Lennart Poettering
3d3961f267 systemctl: always consider unit files with no [Install] section but stored in /lib enabled 2011-04-16 03:29:54 +02:00
Kay Sievers
619c2581a2 update TODO 2011-04-14 20:16:41 +02:00
Lennart Poettering
90a5f6e42a execute: don't fail if we cannot fix OOM in a container 2011-04-12 20:12:15 +02:00
Lennart Poettering
b9a2a36b51 local-fs: invoke emergency.service mounting at boot fails 2011-04-10 01:42:48 +02:00
Lennart Poettering
0e456f9781 path: optionally, create watched directories in .path units 2011-04-10 01:30:14 +02:00
Lennart Poettering
bfe95f35bf tmpfiles: don't warn if two identical lines are configured
https://bugzilla.redhat.com/show_bug.cgi?id=690253
2011-04-10 01:27:19 +02:00
Lennart Poettering
e85138e677 update TODO 2011-04-09 23:01:13 +02:00
Lennart Poettering
b21a0ef8fc dbus: expose monotonic timestamps on the bus 2011-04-07 21:35:37 +02:00
Lennart Poettering
f1d19aa412 manager: no need to use randomized generator dir when running as system manager 2011-04-07 21:22:41 +02:00
Lennart Poettering
222ae6a8d7 unit: introduce OnFailureIsolate= 2011-04-07 04:11:31 +02:00
Lennart Poettering
abf96c874c update TODO 2011-04-06 21:07:10 +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
f80781eaf9 var-lock: don't try to enable var-lock.mount if we don't install it 2011-04-06 15:57:37 +02:00
Lennart Poettering
e252dd8f0e update TODO 2011-04-06 15:32:11 +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
67370238b5 manager: don't show PID for incoming signals if it is 0 2011-04-06 01:33:34 +02:00
Lennart Poettering
100fd5676c man: fix description of systemctl reload-or-try-restart 2011-04-05 23:41:27 +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
33bd08a97a units: call the logger a bridge too 2011-04-05 23:22:35 +02:00
Kay Sievers
61fbbab869 build-sys: always place user units in /usr/lib/systemd
./configure --libexecdir=/usr/lib
2011-04-05 02:19:42 +02:00
Lennart Poettering
cdee58bd38 update TODO 2011-04-05 01:44:26 +02:00
Lennart Poettering
68c7d001f4 update TODO 2011-04-05 00:24:00 +02:00
Lennart Poettering
3d57c6ab80 exec: support unlimited resources 2011-04-04 18:15:13 +02:00
Lennart Poettering
9d8677dad2 update TODO 2011-04-04 15:38:25 +02:00
Lennart Poettering
30d6500340 units: improve logger descriptions 2011-04-04 04:06:24 +02:00
Lennart Poettering
d7cc2987a5 update TODO 2011-04-03 23:55:56 +02:00
Kay Sievers
3336686286 tmpfiles: create leading directories for d/D instructions 2011-04-03 22:22:56 +02:00
Kay Sievers
16b879e3ee update TODO 2011-04-03 17:08:46 +02:00
Lennart Poettering
cca4aeeead tmpfiles: split off rules for legacy systems into legacy.conf 2011-04-02 01:08:31 +02:00
Lennart Poettering
c61e77d3ea man: document ConditionPathIsDirectory= 2011-04-01 00:42:57 +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
7ebdfc936e build-sys: create a number of drop-in config dirs 2011-03-31 18:17:32 +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
Kay Sievers
3f7a8c4e9f update TODO 2011-03-31 02:36:32 +02:00
Lennart Poettering
8e028bb1ed analyze: add plotter 2011-03-31 01:19:12 +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
cd25cce98f exec: drop process group kill mode since it has little use and confuses the user 2011-03-29 23:31:38 +02:00
Lennart Poettering
18a5d7fffb build-sys: bump version 2011-03-29 12:12:31 +02:00
Lennart Poettering
03b4471dc3 execute: socket isn't abstract anymore 2011-03-28 23:04:07 +02:00
Lennart Poettering
f9276855a1 man: explain a couple of default dependencies 2011-03-28 21:36:13 +02:00
Kay Sievers
7a03b1970c update TODO 2011-03-23 01:33:07 +01:00
Kay Sievers
4d99d2fd3c update TODO 2011-03-21 15:09:12 +01:00
Lennart Poettering
9700edb4e8 service: pull in sysv facility targets from the sysv units, not the other way round
For an explanation see:

http://lists.freedesktop.org/archives/systemd-devel/2011-March/001692.html
2011-03-18 05:26:25 +01:00
Lennart Poettering
a0e155d440 units: pull in syslog.target from syslog.socket 2011-03-18 05:17:02 +01:00
Lennart Poettering
f1dd0c3f9b syslog: rework syslog detection so that we need no compile-time option what the name of the syslog implementation is 2011-03-18 04:53:31 +01:00
Lennart Poettering
260abb780a exec: properly apply capability bounding set, add inverted bounding sets 2011-03-18 04:52:45 +01:00
Kay Sievers
a49408ec64 update TODO 2011-03-17 15:15:36 +01:00
Kay Sievers
7d9e57d2cf update TODO 2011-03-17 14:03:17 +01:00
Lennart Poettering
2791a8f8dc unit: serialize condition test results 2011-03-17 04:36:19 +01:00
Lennart Poettering
e677657e8d dbus: allow LoadUnit to unprivileged users 2011-03-17 03:41:29 +01:00
Lennart Poettering
f9b72cd804 ask-password: reset signal mask after we are done 2011-03-16 02:55:27 +01:00
Lennart Poettering
2a796654b9 getty: move automatic serial getty logic into generator 2011-03-15 00:45:46 +01:00
Lennart Poettering
e03ae6615a manager: don't show kernel boot-up time for containers 2011-03-14 21:47:41 +01:00
Lennart Poettering
1063dc3a52 units: add console-shell.service which can be used insted of the gettys to get a shell on /dev/console 2011-03-14 21:00:53 +01:00
Lennart Poettering
f9b9232be9 util: detect CLONE_NEWPID namespaces, and cache results 2011-03-14 03:12:25 +01:00
Lennart Poettering
a8f11321c2 systemctl: support remote and privileged systemctl access via SSH and pkexec
This adds support for executing systemctl operations remotely or as
privileged user while still running systemctl itself unprivileged and
locally.

This currently requires a D-Bus patch to work properly.

https://bugs.freedesktop.org/show_bug.cgi?id=35230
2011-03-12 01:07:17 +01:00
Lennart Poettering
7d640cdf66 units: move the last flag files to /dev/.run 2011-03-11 01:06:53 +01:00
Lennart Poettering
720ce21d44 util: close all fds before freezing execution 2011-03-11 00:52:31 +01:00
Lennart Poettering
099663ff8c main: properly handle -b boot option 2011-03-11 00:52:31 +01:00
Lennart Poettering
90bbc9469e condition: take a timestamp and store last result of conditions 2011-03-09 23:58:17 +01:00
Lennart Poettering
b925e72633 dev: use /dev/.run/systemd as runtime directory, instead of /dev/.systemd 2011-03-09 22:45:47 +01:00
Lennart Poettering
2e60ecb2f7 selinux: bump up error level when in non-enforcing mode 2011-03-09 20:12:30 +01:00
Lennart Poettering
34df5a34e1 drop unnecessary suffix NULs as gcc adds them anyway 2011-03-09 19:48:02 +01:00
Lennart Poettering
6e25b33cdd build-sys: prepare v20 2011-03-08 19:41:33 +01:00
Lennart Poettering
85211309f0 service: prefix description with LSB only if script has LSB header, use 'SysV:' otherwise 2011-03-08 18:41:23 +01:00
Lennart Poettering
267632f0ab unit: distuingish mandatory from triggering conditions 2011-03-08 03:04:47 +01:00
Lennart Poettering
8125393018 job: convert job type as early as we can, to simplify things a bit 2011-03-08 01:53:47 +01:00
Lennart Poettering
7fc7012b8b update TODO 2011-03-07 02:17:36 +01:00
Lennart Poettering
fc7ac59412 update TODO 2011-03-05 00:30:54 +01:00
Lennart Poettering
c5d3439055 dbus: add 'Tainted' property to Manager object 2011-03-04 19:47:43 +01:00
Lennart Poettering
09bde77fc7 dbus: expose distribution name and features on manager object as properties 2011-03-04 18:34:56 +01:00
Lennart Poettering
ed1c99fcc1 s/seperate/separate/ 2011-03-04 03:58:52 +01:00
Lennart Poettering
8c7be95e5a execute: load environment files at time of execution, not when we load the service configuration
https://bugzilla.redhat.com/show_bug.cgi?id=661282
2011-03-04 03:44:43 +01:00
Lennart Poettering
3fc546f93d path: don't use IN_ATTRIB on parent dirs when watching a file, since those cannot be removed without emptying the dir first anyway and we need IN_ATTRIB only to detect the link count dropping to 0 2011-03-04 00:22:00 +01:00
Lennart Poettering
430c18ed7f kill: always send SIGCONT after SIGTERM
When we kill a process to terminate it make sure to send SIGCONT to
ensure it is unpaused and processes the signal.
2011-03-03 23:55:30 +01:00
Lennart Poettering
2b590e135f readahead: disable collector automatically on read-only media 2011-03-03 23:03:26 +01:00
Lennart Poettering
c1b664d055 sysctl: use scandir() instead of nftw() to guarantee systematic ordering 2011-03-03 22:17:09 +01:00
Lennart Poettering
1a6f4df6c9 dirent: support DT_UNKNOWN where necessary for compat with reiserfs 2011-03-03 16:29:50 +01:00
Lennart Poettering
3db48a7850 update TODO 2011-03-01 01:02:35 +01:00
Lennart Poettering
c0f9c7da07 systemctl: shutdown agent explicitly so that it can reset the tty properly 2011-02-25 02:51:48 +01:00
Lennart Poettering
c904f64d84 label: udev might be making changes in /dev while we iterate through it
Also, there are most likely dead symlinks in there, so let's ignore
ENOENT when we relabel.

https://bugzilla.redhat.com/show_bug.cgi?id=680169
2011-02-25 01:47:31 +01:00
Lennart Poettering
c77bc38d28 job: when cancelling jobs, make sure to propagate this properly to depending jobs 2011-02-24 03:23:14 +01:00
Lennart Poettering
aa2e211587 units: synchronize gettys to plymouth even if plymouth is killed by gdm 2011-02-24 02:32:50 +01:00
Lennart Poettering
2e0d98fa87 update TODO 2011-02-23 19:44:29 +01:00
Lennart Poettering
21bc923aa3 ask-password: supported plymouth cached passwords 2011-02-23 01:12:07 +01:00
Lennart Poettering
3642d1c988 plymouth: don't wait forever for plymouth in case it is stuck 2011-02-22 18:51:44 +01:00
Lennart Poettering
62170515a1 update TODO 2011-02-22 02:45:06 +01:00
Lennart Poettering
b7ff1e47da plymouth: ensure we start not a single getty before plymouth is gone because we never know which ttys plymouth still controls 2011-02-21 23:55:17 +01:00
Lennart Poettering
b5c6cf8734 main: refuse --test as root 2011-02-19 14:20:00 +01:00
Lennart Poettering
2588ff0b94 build-sys: prepare release v18 2011-02-16 22:18:28 +01:00
Lennart Poettering
e67c3609b1 systemctl: introduce --ignore-dependencies 2011-02-16 21:59:31 +01:00
Lennart Poettering
30732560c4 systemctl: introduce --failed to show only failed services 2011-02-16 20:34:59 +01:00
Lennart Poettering
3aea3b3597 manager: don't consider transaction jobs conflicting with queued jobs redundant 2011-02-16 19:34:38 +01:00
Lennart Poettering
f959c5e63a cleanup TODO 2011-02-15 13:09:00 +01:00
Lennart Poettering
0a494f1ff3 exec: introduce global defaults for the standard output of services 2011-02-15 11:52:29 +01:00
Lennart Poettering
28dbc1e80b execute: optionally forward program output to /dev/console in addition to syslog/kmsg 2011-02-15 01:27:53 +01:00
Lennart Poettering
a4c24ff75a fsck: do not fail boot if fsck returns with an error code that hasn't 2 or 6 set 2011-02-15 00:30:51 +01:00
Lennart Poettering
f212ac125f getty: do not auto-spawn getty's on VC ttys if console=ttyN is used
https://bugzilla.redhat.com/show_bug.cgi?id=676885
2011-02-14 18:56:55 +01:00
Lennart Poettering
7a57b332d0 fsck: skip root fsck if dracut already did it 2011-02-14 11:42:47 +01:00
Lennart Poettering
cfdc0c8941 update TODO 2011-02-13 19:02:18 +01:00
Lennart Poettering
3185a36b05 service: make main pid guessing optional, and reread pid file after reloads 2011-02-13 18:51:30 +01:00
Lennart Poettering
e9fbc77c8f pam: introduce whitelist and blacklist user list feature
This is useful to exclude root from the session logout killings or to
limit killing to the selinux guest users.
2011-02-13 18:21:18 +01:00
Lennart Poettering
060ed82ec2 systemctl: don't unnecessarily close stdin/stdout/stderr for tty agent so that locking by tty works 2011-02-13 17:09:29 +01:00
Lennart Poettering
fba6e68723 tmpfiles: take names of tmpfiles configuration files on the command line 2011-02-13 14:00:54 +01:00
Lennart Poettering
b8bb3e8f34 tmpfiles: support globs 2011-02-12 09:31:25 +01:00
Lennart Poettering
72f576bdd6 update TODO 2011-02-09 22:48:54 +01:00