Kay Sievers
bd59d82322
fix compiler warning
2012-01-10 19:37:41 +01:00
Kay Sievers
db8f32f6ed
cdrom_id: int -> bool
2012-01-10 16:37:41 +01:00
Kay Sievers
04daa3407a
add .vimrc
2012-01-10 16:20:40 +01:00
Michael Biebl
118ca5966f
build-sys: link systemctl and systemd-journalctl against libsystemd-id128
...
Both use logs-show.c which requires libsystemd-id128 for
sd_id128_to_string ().
2012-01-10 07:26:30 +01:00
Lennart Poettering
7e4ab3c5a6
shutdown: exclude processes with argv[0][0] from killing
2012-01-10 05:03:59 +01:00
Kay Sievers
22dde8d712
fix debug message
2012-01-10 02:06:36 +01:00
Kay Sievers
dc401e0189
autogen.sh: makedev() misteriously breaks with -O0 here, use -O1 for now
...
-O0
[pid 693] mknod("udev-root/sda", 034101566300) = -1 EINVAL (Invalid argument)
-O1
[pid 8087] mknod("udev-root/sda", S_IFBLK, makedev(8, 0)) = 0
2012-01-10 02:05:08 +01:00
Kay Sievers
912541b024
tabs are as useful as a hole in the head
2012-01-10 01:34:15 +01:00
Kay Sievers
ebda27438b
add test/src to .gitignore
2012-01-09 23:47:00 +01:00
Kay Sievers
9e4e44e578
build-sys: try to build without installed xsltproc
2012-01-09 23:44:47 +01:00
Kay Sievers
c59d1e45bd
autogen.sh: add CFLAGS and print entire line, so that mouse copy/paste works
2012-01-09 23:17:56 +01:00
Kay Sievers
6bd9fe5a73
autogen.sh: diet and sync with udev and kmod
2012-01-09 23:14:03 +01:00
Lucas De Marchi
6a6b254354
builtin: kmod - log if modules are blacklisted
2012-01-09 20:40:29 +01:00
Kay Sievers
1111415a75
doc: fix out of tree build (copy from libkmod)
2012-01-09 17:38:29 +01:00
Kay Sievers
32740a39b5
rules: delete arch specific rules
2012-01-09 17:27:11 +01:00
Lennart Poettering
bf96736674
journalctl: display source timestamp, not journald timestamp, if known
2012-01-07 05:00:28 +01:00
Lennart Poettering
67a122058b
journalctl: add new short-monotonic output mode
2012-01-07 04:41:30 +01:00
Lennart Poettering
6c1e6b98bd
journald: add kmsg source
2012-01-07 04:10:21 +01:00
Lennart Poettering
aaf53376aa
journald: remove inner loop debug message
2012-01-07 04:10:21 +01:00
Kay Sievers
ebd91b34d7
fix compiler warning
2012-01-07 02:12:43 +01:00
Lennart Poettering
e4bac488f9
sd-id128: let's make our API a bit smaller, since sd_id128_make_v4_uuid() is dispensable
2012-01-07 01:37:39 +01:00
Lennart Poettering
39f7f5c108
journalctl: rename --new-id to --new-id128 in order not to introduce yet another new name
2012-01-07 01:37:15 +01:00
Lennart Poettering
dd338f01f5
build-sys: move .pc files next to the matching sources
2012-01-07 01:36:36 +01:00
Lennart Poettering
4ff77f66af
load-fragment: fix parsing of Socket= setting
2012-01-07 01:26:08 +01:00
Lennart Poettering
509b6efbbe
main: fix spelling
2012-01-07 01:26:08 +01:00
Lennart Poettering
effb1102d3
journald: introduce systemd_journald.forward_to_kmsg=1 (and friends) to enable kmsg forwarding globally via kernel cmdline
2012-01-07 01:26:08 +01:00
Lennart Poettering
a6723bc9a7
journald: start journald right away, don't wait until activation
2012-01-07 01:26:08 +01:00
Michael Biebl
b0cca7d886
build-sys: fix typo in help string
2012-01-07 00:37:12 +01:00
Lennart Poettering
98736c68fe
journald: shorten the time we wait for a forwarding syslog
2012-01-06 23:11:28 +01:00
Lennart Poettering
57020a3abf
unit: properly update references to units which are merged
...
When we merge units that some kind of object points to, those pointers
might become invalidated, and needs to be updated. Introduce a UnitRef
struct which links up all the unit references, to ensure corrected
references.
At the same time, drop configured_sockets in the Service object, and
replace it by proper UNIT_TRIGGERS resp. UNIT_TRIGGERED_BY dependencies,
which allow us to simplify a lot of code.
2012-01-06 23:08:54 +01:00
Lennart Poettering
73aa0c00df
service: add dependencies on configured sockets
2012-01-06 19:23:03 +01:00
Kay Sievers
d914e44509
replace unpacked sysfs test tree 'test/sys/' with packed tarball
2012-01-06 16:13:13 +01:00
Kay Sievers
ad29a9f14f
merge udev/, libudev/, systemd/ files in src/; move extras/ to src/
2012-01-06 05:07:10 +01:00
Lennart Poettering
6342c8eaaf
units: remove left-over unit file
2012-01-06 03:20:22 +01:00
Lennart Poettering
ba1d559635
journald: start the journal after the syslog socket, so that the syslog socket queues syslog messages from early boot on
2012-01-06 03:11:56 +01:00
Lennart Poettering
4c0bebc335
kmsg-syslogd: remove kmsg-syslogd, since it's entirely obsoleted and replaced by journald
2012-01-06 03:11:17 +01:00
Lennart Poettering
64f5002a3a
special: fix name of journal socket unit
2012-01-06 02:48:38 +01:00
Lennart Poettering
706343f492
journal: introduce log target 'journal' for executed processes
2012-01-06 02:48:38 +01:00
Lennart Poettering
db5973704b
stdout: remove stdout-syslog-bridge since it is now obsoleted by journald
2012-01-06 02:48:38 +01:00
Michal Schmidt
5c0100a537
util: switch the console to text mode on reset
...
In case we're taking over the console after a killed X server.
https://bugzilla.redhat.com/show_bug.cgi?id=771563
2012-01-06 01:34:02 +01:00
Michal Schmidt
df465b3f44
util: fix switching to console unicode mode
...
The KDSKBMODE ioctl wants a value directly, not its address.
2012-01-06 01:28:30 +01:00
Lennart Poettering
eff406331a
login: implement sd_session_get_service()
2012-01-05 23:14:22 +01:00
Lennart Poettering
4cd9a9d9ec
journal: rename syslog tag to identifier since that's what we call it on the server side.
2012-01-05 21:46:48 +01:00
Lennart Poettering
258cdffc2f
journal: rename priority_prefix to level_prefix, since that's how we call it in PID 1
2012-01-05 21:39:59 +01:00
Lennart Poettering
86b9b8e70d
sd-journal: close reading side of sd_journal_stream_fd() file descriptors
2012-01-05 21:39:31 +01:00
Lennart Poettering
54fe0cdbe3
execute: talk directly to the journald, instead to the stdout-syslog-bridge
2012-01-05 21:39:08 +01:00
Lennart Poettering
33eb8abfa5
journal: store used transport in journal
2012-01-05 20:24:34 +01:00
Lennart Poettering
259d2e7620
journal: move sockets into their own subdir
2012-01-05 20:24:16 +01:00
Lennart Poettering
55d7bfc19b
journalctl: rework short output mode to rebuild full syslog message
2012-01-05 20:11:47 +01:00
Kay Sievers
9fbe27d9d6
autogen.sh: enable git pre-commit
2012-01-05 19:22:03 +01:00