Lennart Poettering
d7ccca2e3f
main: introduce /etc/machine-id
...
This is supposed to play the same roles /var/lib/dbus/machine-id,
however fixes a couple of problems:
- It is available during early boot since it is stored in /etc
- Removes the ID from the D-Bus context and moves it into a system
context, thus hopefully lowering hesitation by people to use it.
- It is generated at installation time. If the file is empty at boot
time it will be mounted over with a randomly generated ID, which is
not saved to disk. This is useful to support state-less machines with
no transient or writable /etc configuration.
2011-03-04 21:53:19 +01:00
Lennart Poettering
63a723f3a7
systemctl: fix exit code when directing is-enabled to chkconfig
2011-03-04 19:48:38 +01:00
Lennart Poettering
81ab0d3c65
main: minor optimization
2011-03-04 19:48:12 +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
aa1671320d
main: add link to wiki page with longer explanation of the /usr madness
2011-03-04 05:07:01 +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
0595f9a1c1
path: after installing inotify watches, recheck file again to fix race
2011-03-04 01:50:38 +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
64e5f1b721
systemctl: add condreload alias for compat with ALTLinux
2011-03-01 22:20:13 +01:00
Lennart Poettering
3414abee0d
ask-password: make a confused gcc shut up
2011-02-28 23:24:33 +01:00
Harald Hoyer
4ce9faa9d2
ratelimit: removed n_printed
...
Removed n_printed and renamed n_printed to num.
This is not a logging rate limiter anymore.
2011-02-28 23:04:18 +01:00
Harald Hoyer
35b8ca3aaf
Spelling Corrections
...
Just some lame spelling corrections with no functionality.
2011-02-28 22:47:38 +01:00
Zbigniew Jędrzejewski-Szmek
a9bd141b4a
systemctl: always null-terminate the password
2011-02-28 22:17:36 +01:00
Lennart Poettering
90e6abaea0
udev: don't ignore non-encrypted block devices with no superblock
...
They might be encrypted disks with no LUKS header.
https://bugzilla.redhat.com/show_bug.cgi?id=679842
2011-02-28 22:04:53 +01:00
Lennart Poettering
0e01075a2b
udev: expose ttyUSB devices too
2011-02-28 21:51:34 +01:00
Lennart Poettering
230e12e337
udev: mark hvc devices for exposure in systemd
2011-02-28 21:51:34 +01:00
Lennart Poettering
dd5e696d93
cryptsetup: add a terse help
2011-02-25 02:56:27 +01:00
Lennart Poettering
446f004656
agent: don't print warnings if a password was removed or timed out
2011-02-25 02:52:07 +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
6d55002a69
service: never clean up a service that still has a process in it
2011-02-25 01:49:10 +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
8e20e31a65
systemctl: properly handle job results
2011-02-24 03:24:51 +01:00
Lennart Poettering
c0daa706d3
job: also trigger on-failure dependencies when jobs faile due to dependencies, timeout
2011-02-24 03:24:23 +01:00
Lennart Poettering
a6a9a78d95
job: don't access j->type when j is already freed
2011-02-24 03:23:43 +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
312732cfaf
job: start job timeout on enqueuing not when we start to process a job
...
This practically reverses 23e1e0c4a3
.
This makes it easier to timeout individual jobs so that this timeout can
be relied on, since blocked dependencies will not influence the timeout.
2011-02-24 02:41:38 +01:00
Lennart Poettering
5f8738667f
unit: increase default timeout to 3min
2011-02-24 02:38:19 +01:00
Lennart Poettering
84168c7740
logger: leave the logger longer around and allow it do handle more connections
2011-02-24 02:38:02 +01:00
Lennart Poettering
5d44db4a90
dbus: pass along information why a job failed when it failed (dbus api change!)
2011-02-24 02:36:34 +01:00
Lennart Poettering
ccc80078fe
general: unify error code we generate on timeout
2011-02-24 02:33:57 +01:00
Lennart Poettering
23e1e0c4a3
job: start job timer when we begin running the job, not already when we add it to the queue of jobs
2011-02-23 18:46:57 +01:00
Lennart Poettering
b61e476f51
cryptsetup: try to show the mount point for a crypto disk if we can
2011-02-23 18:46:27 +01:00
Lennart Poettering
7ded2e28f2
ask-password: fix handling of timeouts when waiting for password
2011-02-23 01:12:29 +01:00
Lennart Poettering
21bc923aa3
ask-password: supported plymouth cached passwords
2011-02-23 01:12:07 +01:00
Lennart Poettering
80758717a6
main: print warning if /usr is on a seperate partition
2011-02-23 01:10:20 +01:00
Lennart Poettering
721bca5763
virtualization: check cpuid first, since it is cheaper than DMI
2011-02-22 01:39:19 +01:00
Lennart Poettering
4e08da90d4
util: make string static
2011-02-22 00:19:03 +01:00
Lennart Poettering
cb40c15e48
condition: drop pointless double negation
2011-02-21 22:10:04 +01:00
Lennart Poettering
039655a40c
unit: introduce ConditionVirtualization=
2011-02-21 22:07:55 +01:00
Lennart Poettering
07faed4f99
virtualization: beef virtualization code
2011-02-21 21:48:59 +01:00
Lennart Poettering
b284eabdc1
dbus: don't rely that timer/path units have an initialized unit field
2011-02-21 19:26:53 +01:00
Lennart Poettering
50483512b9
mount: make sure network mounts are ordered after network.target
2011-02-21 13:32:18 +01:00
Lennart Poettering
4dba533a13
kmsg-syslogd: fix build
2011-02-21 04:01:26 +01:00
Lennart Poettering
3351dc0721
kmsg-syslogd: increase terminate timeout to 5min to generte less debug spew
2011-02-20 23:20:55 +01:00