Lennart Poettering
b785c858c3
journal: fix more 32/64 bit issues
2012-01-11 22:44:43 +01:00
Lennart Poettering
fdcad0c255
tmpfiles: fix parsing of /proc/net/unix on 32Bit machines
...
Tracked down by Michael Meeks
2012-01-11 22:08:33 +01:00
Michal Schmidt
52beb2c379
logs-show: fix missing newline in short output
...
Ellipsized messages were printed without a newline.
2012-01-11 21:53:00 +01:00
Lennart Poettering
7f120cc6a2
journald: don't assume size_t and uint64_t are the same
2012-01-11 21:24:02 +01:00
Lennart Poettering
5e41cfec83
journald: set group ownership of journal files to 'adm' by default
2012-01-11 21:11:58 +01:00
Lennart Poettering
e6520a0fce
journal: make requirement for ACLs optional
2012-01-11 20:40:29 +01:00
Lennart Poettering
d1e44dd827
journalctl: fix --help text
2012-01-11 16:03:42 +01:00
Lennart Poettering
1921a5cb3d
journal: don't realign window twice
2012-01-11 03:55:24 +01:00
Lennart Poettering
19a2bd80c1
sd-journal: implement a number of non-implemented calls from the API for now
2012-01-11 03:23:04 +01:00
Lennart Poettering
731a676c20
systemd: reconnect to syslog as soon as the journal is fully up
2012-01-11 03:16:24 +01:00
Lennart Poettering
3ebcdf8cd9
journalctl: always show monotonic timestamp even if it's from an old boot
2012-01-11 03:02:10 +01:00
Lennart Poettering
4dcc1cb415
unit: implement new PropagateReloadTo=/PropagateReloadFrom= operations
2012-01-11 02:52:34 +01:00
Lennart Poettering
bd1a698180
shutdown: add link to root storage daemon text
2012-01-11 02:52:34 +01:00
Lennart Poettering
8f53a7b8ea
service: brutally slaughter processes that are running in the cgroup when we enter START_PRE and START
2012-01-11 02:52:34 +01:00
Lennart Poettering
7e4ab3c5a6
shutdown: exclude processes with argv[0][0] from killing
2012-01-10 05:03:59 +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
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
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
Lennart Poettering
8ab49c12dc
headers: fix git URLs for source files
2012-01-05 18:25:36 +01:00
Lennart Poettering
2f9dec073b
build-sys: add stub makefiles to subdirs
2012-01-05 16:29:21 +01:00
Lennart Poettering
8665a38793
journal: fix include in sd-journal.h
2012-01-05 16:28:43 +01:00
Lennart Poettering
55ee336cdc
journalctl: add --new-id switch to generate a new 128Bit id
2012-01-05 16:28:17 +01:00
Lennart Poettering
ea41a8a973
journal: add missing sd-messages.h
2012-01-05 16:27:38 +01:00
Lennart Poettering
81527be142
build-sys: move public header files into a dir of their own
2012-01-05 16:01:58 +01:00
Lennart Poettering
67e5cc4f3e
util: never ellipsize welcome message
2012-01-05 15:39:07 +01:00
Lennart Poettering
224f2ee221
journald: add configuration file options to forward all logged data to kmsg, console, syslog
2012-01-05 15:39:03 +01:00
Lennart Poettering
674f828369
log: minor optimization
2012-01-05 14:55:35 +01:00
Lennart Poettering
81beb7508e
util: when printing status updates during boot, take terminal width into account
2012-01-05 14:55:35 +01:00
Zbigniew Jędrzejewski-Szmek
9cf3ab0e16
fix compilation error with 'PathSpec redefined'
2012-01-05 00:56:21 +01:00
Kay Sievers
4726299357
logind: add needed include for sd_notify()
2012-01-05 00:52:56 +01:00
Kay Sievers
2edfe21d03
conf-parser: silence compiler warning
2012-01-05 00:46:55 +01:00
Lennart Poettering
e6960940b6
journald: parse configuration file
2012-01-04 20:40:04 +01:00
Lennart Poettering
df50185b43
journal: beef up journal output of systemctl and journalctl
2012-01-04 18:33:36 +01:00
Lennart Poettering
fd8ee359a0
journal: it's not a problem if the realtime jumps, hence don't ensure monotonicity of realtime for entries we write
2012-01-04 18:32:50 +01:00
Lennart Poettering
f4fb21c151
systemctl: shortcut log output for non-service, non-socket, non-mount, non-swap units
2012-01-04 15:35:59 +01:00
Lennart Poettering
94fb446e55
journald: store _SYSTEMD_UNIT= instead of _SYSTEMD_SERVICE= field, since processes might also be related to mount, swap or socket units, not just services
2012-01-04 15:35:30 +01:00
Lennart Poettering
e91af489a2
journalctl: only output 10 most recent lines in --follow mode
2012-01-04 15:27:31 +01:00
Lennart Poettering
6f003b4304
journalctl: fix counting of -n parameter
2012-01-04 04:00:14 +01:00
Lennart Poettering
cf5eb6a110
journal: fix reverse traversing of entries
2012-01-04 03:45:50 +01:00
Lennart Poettering
b4e5f92017
journal: add missing error check
2012-01-04 03:45:24 +01:00
Lennart Poettering
9c4e3f2624
journal: don't mind too much if we can't find a monotonic timestamp
2012-01-04 03:45:14 +01:00
Lennart Poettering
b1a0ab7148
journald: don't rotate on startup
2012-01-04 02:33:11 +01:00
Lennart Poettering
a99c349d0d
journal: when increasing window, make sure to use the increased window
2012-01-04 02:21:04 +01:00
Lennart Poettering
4bbdcdb301
journal: apply seek check before resizing window, and refresh stat data if necessary
2012-01-04 02:16:38 +01:00
Lennart Poettering
b788cc23aa
journal: add memory barrier before linking in newly created entries
2012-01-04 02:15:45 +01:00
Lennart Poettering
4b067dc9d2
journal: add missing error check
2012-01-04 02:15:08 +01:00
Lennart Poettering
2100675e9f
journalctl: add -n switch
2012-01-04 02:14:42 +01:00
Lennart Poettering
8e9e6d567a
sd128: rename SD_FORMAT_ID128_STR to SD_ID128_FORMAT_STR to follow naming scheme
2012-01-04 02:13:41 +01:00
Lennart Poettering
eaff7bd849
sd128: add format string macros for outputting sd_id128_t variables
2012-01-04 02:09:05 +01:00
Lennart Poettering
bad75c274a
journald: fix _SYSTEMD_CGROUP= values
2012-01-03 23:41:55 +01:00
Lennart Poettering
bda061759c
logind: send out Lock signal when locking
2012-01-03 23:08:15 +01:00
Lennart Poettering
976c088a02
logind: don't watch vcsa if nobody cares
2012-01-03 21:50:02 +01:00
Lennart Poettering
addedec48b
logind: if we can't open /dev/tty0, assume there is no VT subsystem and don't pretend we could do VT switching
2012-01-03 21:47:54 +01:00
Daniel Walsh
dc4b020064
namespace: remount namespace root dir for SLAVE to avoid propagation of mounts from the namespace to the host
...
https://bugzilla.redhat.com/show_bug.cgi?id=752540
2012-01-03 21:12:10 +01:00
Lennart Poettering
86aa7ba4f9
systemctl: hook up systemctl with the journal
2012-01-03 21:08:58 +01:00
Lennart Poettering
adf7d506b5
journal: never fail if we cannot access /var, just print a warning
2012-01-03 21:08:58 +01:00
Lennart Poettering
52f4f45bf4
journald: treat a read-only /var identical to an unmounted one
2012-01-03 21:08:58 +01:00
Lennart Poettering
85d83bf41c
journald: add _SYSTEMD_SESSION, _SYSTEMD_OWNER_UID, _SYSTEMD_SERVICE to all entries
2012-01-03 21:08:58 +01:00
Lennart Poettering
000a2c9886
sd-id128: add _public_ to all exports, and add validity checks for all parameters
2012-01-03 21:08:58 +01:00
Lennart Poettering
a5344d2c3b
journal: add _public_ to all sd-journal calls, and add parameter checks
2012-01-03 21:08:58 +01:00
Lennart Poettering
9847946e12
login: introduce sd_pid_get_service()
2012-01-03 21:08:58 +01:00
Lennart Poettering
b72491a2fd
nspawn: get rid of BUFFER_SIZE, use LINE_MAX instead
2012-01-03 21:08:57 +01:00
Lennart Poettering
4f3656e1ce
readahead: bring export definition of sd-readahead in line with sd-daemon
2012-01-03 21:08:57 +01:00
Lennart Poettering
4cfc6dbe52
socket: only add dependency on kmsg socket to socket units which have any kind of exec program specified
2012-01-03 21:08:57 +01:00
Lennart Poettering
776a564f54
build-sys: move kbd-model-map to locale/
2012-01-03 21:08:57 +01:00
Lennart Poettering
b4d0195b05
cryptsetup: split off cryptsetup into its own subdir
2012-01-03 21:08:57 +01:00
Lennart Poettering
927f62bd54
login: move systemd-user-sessions.service into login/, too
2011-12-31 19:45:41 +01:00
Lennart Poettering
e5e83e8362
build-sys: make readahead and vconsole optional
2011-12-31 19:45:41 +01:00
Kay Sievers
bb765041af
gnome-ask-password-agent: require libnotify >= 0.7.0
2011-12-31 18:15:27 +01:00
Lennart Poettering
be5f4385d6
login: move the PAM module to src/login/ since it is just a client to logind
2011-12-31 18:06:56 +01:00
Lennart Poettering
5e2c93666f
test: rename test directory
2011-12-31 18:06:56 +01:00
Lennart Poettering
9c5b60ca5f
login: move libsystemd-login.pc.in into src/login/
2011-12-31 13:37:23 +01:00
Kay Sievers
d4a66a7f96
libsystemd-id128: restructure Makefile.am
2011-12-31 08:53:06 +01:00
Kay Sievers
7e8f489ad5
journal: restructure Makefile.am
2011-12-31 08:36:52 +01:00
Kay Sievers
609518c1d2
binfmt: move sources to subdirectory
2011-12-31 07:40:31 +01:00