chiark / gitweb /
elogind.git
8 years agoautogen.sh: diet and sync with udev and kmod
Kay Sievers [Mon, 9 Jan 2012 22:14:03 +0000 (23:14 +0100)]
autogen.sh: diet and sync with udev and kmod

8 years agojournalctl: display source timestamp, not journald timestamp, if known
Lennart Poettering [Sat, 7 Jan 2012 04:00:28 +0000 (05:00 +0100)]
journalctl: display source timestamp, not journald timestamp, if known

8 years agojournalctl: add new short-monotonic output mode
Lennart Poettering [Sat, 7 Jan 2012 03:41:30 +0000 (04:41 +0100)]
journalctl: add new short-monotonic output mode

8 years agojournald: add kmsg source
Lennart Poettering [Sat, 7 Jan 2012 03:09:59 +0000 (04:09 +0100)]
journald: add kmsg source

8 years agojournald: remove inner loop debug message
Lennart Poettering [Sat, 7 Jan 2012 00:42:13 +0000 (01:42 +0100)]
journald: remove inner loop debug message

8 years agofix compiler warning
Kay Sievers [Sat, 7 Jan 2012 01:12:43 +0000 (02:12 +0100)]
fix compiler warning

8 years agosd-id128: let's make our API a bit smaller, since sd_id128_make_v4_uuid() is dispensable
Lennart Poettering [Sat, 7 Jan 2012 00:37:39 +0000 (01:37 +0100)]
sd-id128: let's make our API a bit smaller, since sd_id128_make_v4_uuid() is dispensable

8 years agojournalctl: rename --new-id to --new-id128 in order not to introduce yet another...
Lennart Poettering [Sat, 7 Jan 2012 00:37:15 +0000 (01:37 +0100)]
journalctl: rename --new-id to --new-id128 in order not to introduce yet another new name

8 years agobuild-sys: move .pc files next to the matching sources
Lennart Poettering [Sat, 7 Jan 2012 00:36:36 +0000 (01:36 +0100)]
build-sys: move .pc files next to the matching sources

8 years agoload-fragment: fix parsing of Socket= setting
Lennart Poettering [Sat, 7 Jan 2012 00:21:40 +0000 (01:21 +0100)]
load-fragment: fix parsing of Socket= setting

8 years agomain: fix spelling
Lennart Poettering [Fri, 6 Jan 2012 23:59:15 +0000 (00:59 +0100)]
main: fix spelling

8 years agojournald: introduce systemd_journald.forward_to_kmsg=1 (and friends) to enable kmsg...
Lennart Poettering [Fri, 6 Jan 2012 23:59:00 +0000 (00:59 +0100)]
journald: introduce systemd_journald.forward_to_kmsg=1 (and friends) to enable kmsg forwarding globally via kernel cmdline

8 years agojournald: start journald right away, don't wait until activation
Lennart Poettering [Fri, 6 Jan 2012 23:22:37 +0000 (00:22 +0100)]
journald: start journald right away, don't wait until activation

8 years agobuild-sys: fix typo in help string
Michael Biebl [Fri, 6 Jan 2012 23:36:35 +0000 (00:36 +0100)]
build-sys: fix typo in help string

8 years agojournald: shorten the time we wait for a forwarding syslog
Lennart Poettering [Fri, 6 Jan 2012 22:11:28 +0000 (23:11 +0100)]
journald: shorten the time we wait for a forwarding syslog

8 years agounit: properly update references to units which are merged
Lennart Poettering [Fri, 6 Jan 2012 22:08:54 +0000 (23:08 +0100)]
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.

8 years agoservice: add dependencies on configured sockets
Lennart Poettering [Fri, 6 Jan 2012 18:23:03 +0000 (19:23 +0100)]
service: add dependencies on configured sockets

8 years agounits: remove left-over unit file
Lennart Poettering [Fri, 6 Jan 2012 02:20:22 +0000 (03:20 +0100)]
units: remove left-over unit file

8 years agojournald: start the journal after the syslog socket, so that the syslog socket queues...
Lennart Poettering [Fri, 6 Jan 2012 02:11:56 +0000 (03:11 +0100)]
journald: start the journal after the syslog socket, so that the syslog socket queues syslog messages from early boot on

8 years agokmsg-syslogd: remove kmsg-syslogd, since it's entirely obsoleted and replaced by...
Lennart Poettering [Fri, 6 Jan 2012 02:11:17 +0000 (03:11 +0100)]
kmsg-syslogd: remove kmsg-syslogd, since it's entirely obsoleted and replaced by journald

8 years agospecial: fix name of journal socket unit
Lennart Poettering [Thu, 5 Jan 2012 22:55:01 +0000 (23:55 +0100)]
special: fix name of journal socket unit

8 years agojournal: introduce log target 'journal' for executed processes
Lennart Poettering [Thu, 5 Jan 2012 22:54:45 +0000 (23:54 +0100)]
journal: introduce log target 'journal' for executed processes

8 years agostdout: remove stdout-syslog-bridge since it is now obsoleted by journald
Lennart Poettering [Thu, 5 Jan 2012 22:54:11 +0000 (23:54 +0100)]
stdout: remove stdout-syslog-bridge since it is now obsoleted by journald

8 years agoutil: switch the console to text mode on reset
Michal Schmidt [Fri, 6 Jan 2012 00:32:34 +0000 (01:32 +0100)]
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

8 years agoutil: fix switching to console unicode mode
Michal Schmidt [Fri, 6 Jan 2012 00:28:30 +0000 (01:28 +0100)]
util: fix switching to console unicode mode

The KDSKBMODE ioctl wants a value directly, not its address.

8 years agologin: implement sd_session_get_service()
Lennart Poettering [Thu, 5 Jan 2012 22:14:22 +0000 (23:14 +0100)]
login: implement sd_session_get_service()

8 years agojournal: rename syslog tag to identifier since that's what we call it on the server...
Lennart Poettering [Thu, 5 Jan 2012 20:43:49 +0000 (21:43 +0100)]
journal: rename syslog tag to identifier since that's what we call it on the server side.

8 years agojournal: rename priority_prefix to level_prefix, since that's how we call it in PID 1
Lennart Poettering [Thu, 5 Jan 2012 20:39:59 +0000 (21:39 +0100)]
journal: rename priority_prefix to level_prefix, since that's how we call it in PID 1

8 years agosd-journal: close reading side of sd_journal_stream_fd() file descriptors
Lennart Poettering [Thu, 5 Jan 2012 20:39:31 +0000 (21:39 +0100)]
sd-journal: close reading side of sd_journal_stream_fd() file descriptors

8 years agoexecute: talk directly to the journald, instead to the stdout-syslog-bridge
Lennart Poettering [Thu, 5 Jan 2012 20:39:08 +0000 (21:39 +0100)]
execute: talk directly to the journald, instead to the stdout-syslog-bridge

8 years agojournal: store used transport in journal
Lennart Poettering [Thu, 5 Jan 2012 19:24:34 +0000 (20:24 +0100)]
journal: store used transport in journal

8 years agojournal: move sockets into their own subdir
Lennart Poettering [Thu, 5 Jan 2012 19:24:16 +0000 (20:24 +0100)]
journal: move sockets into their own subdir

8 years agojournalctl: rework short output mode to rebuild full syslog message
Lennart Poettering [Thu, 5 Jan 2012 19:11:47 +0000 (20:11 +0100)]
journalctl: rework short output mode to rebuild full syslog message

8 years agoREADME: correct license claims
Lennart Poettering [Thu, 5 Jan 2012 17:24:18 +0000 (18:24 +0100)]
README: correct license claims

8 years agoheaders: fix git URLs for source files
Lennart Poettering [Thu, 5 Jan 2012 17:21:26 +0000 (18:21 +0100)]
headers: fix git URLs for source files

8 years agoautogen: add --with-rootlibdir= and switch /usr/local to /usr
Kay Sievers [Thu, 5 Jan 2012 16:57:02 +0000 (17:57 +0100)]
autogen: add --with-rootlibdir= and switch /usr/local to /usr

8 years agobuild-sys: add headers to EXTRA_DIST to fix 'make distcheck'
Kay Sievers [Thu, 5 Jan 2012 16:00:46 +0000 (17:00 +0100)]
build-sys: add headers to EXTRA_DIST to fix 'make distcheck'

Vala autotools, it's all your fault!

8 years agobuild-sys: drop colorgcc
Lennart Poettering [Thu, 5 Jan 2012 15:40:14 +0000 (16:40 +0100)]
build-sys: drop colorgcc

8 years agobuild-sys: add stub makefiles to subdirs
Lennart Poettering [Thu, 5 Jan 2012 15:29:21 +0000 (16:29 +0100)]
build-sys: add stub makefiles to subdirs

8 years agojournal: fix include in sd-journal.h
Lennart Poettering [Thu, 5 Jan 2012 15:28:43 +0000 (16:28 +0100)]
journal: fix include in sd-journal.h

8 years agogit: only ignore toplevel systemd file
Lennart Poettering [Thu, 5 Jan 2012 15:28:33 +0000 (16:28 +0100)]
git: only ignore toplevel systemd file

8 years agojournalctl: add --new-id switch to generate a new 128Bit id
Lennart Poettering [Thu, 5 Jan 2012 15:28:17 +0000 (16:28 +0100)]
journalctl: add --new-id switch to generate a new 128Bit id

8 years agojournal: add missing sd-messages.h
Lennart Poettering [Thu, 5 Jan 2012 15:27:38 +0000 (16:27 +0100)]
journal: add missing sd-messages.h

8 years agobuild-sys: move public header files into a dir of their own
Lennart Poettering [Thu, 5 Jan 2012 15:01:58 +0000 (16:01 +0100)]
build-sys: move public header files into a dir of their own

8 years agoutil: never ellipsize welcome message
Lennart Poettering [Thu, 5 Jan 2012 14:35:16 +0000 (15:35 +0100)]
util: never ellipsize welcome message

8 years agojournald: add configuration file options to forward all logged data to kmsg, console...
Lennart Poettering [Thu, 5 Jan 2012 14:34:13 +0000 (15:34 +0100)]
journald: add configuration file options to forward all logged data to kmsg, console, syslog

8 years agolog: minor optimization
Lennart Poettering [Thu, 5 Jan 2012 02:25:10 +0000 (03:25 +0100)]
log: minor optimization

8 years agoutil: when printing status updates during boot, take terminal width into account
Lennart Poettering [Thu, 5 Jan 2012 02:24:39 +0000 (03:24 +0100)]
util: when printing status updates during boot, take terminal width into account

8 years agobuild-sys: use ${ac_default_prefix}
Kay Sievers [Thu, 5 Jan 2012 03:10:59 +0000 (04:10 +0100)]
build-sys: use ${ac_default_prefix}

8 years agobuild-sys: add some headers to fix 'make distcheck'
Kay Sievers [Thu, 5 Jan 2012 03:00:48 +0000 (04:00 +0100)]
build-sys: add some headers to fix 'make distcheck'

8 years agobuild-sys: install pam module in $rootlibdir
Kay Sievers [Thu, 5 Jan 2012 02:51:52 +0000 (03:51 +0100)]
build-sys: install pam module in $rootlibdir

8 years agobuild-sys: switch autoconf's default prefix from /usr/local to /usr
Kay Sievers [Thu, 5 Jan 2012 02:42:48 +0000 (03:42 +0100)]
build-sys: switch autoconf's default prefix from /usr/local to /usr

8 years agofix compilation error with 'PathSpec redefined'
Zbigniew Jędrzejewski-Szmek [Wed, 4 Jan 2012 23:56:21 +0000 (00:56 +0100)]
fix compilation error with 'PathSpec redefined'

8 years agologind: add needed include for sd_notify()
Kay Sievers [Wed, 4 Jan 2012 23:52:56 +0000 (00:52 +0100)]
logind: add needed include for sd_notify()

8 years agoconf-parser: silence compiler warning
Kay Sievers [Wed, 4 Jan 2012 23:46:55 +0000 (00:46 +0100)]
conf-parser: silence compiler warning

8 years agobuild-sys: rename 'rootdir' to 'rootprefix' like udev and kmod uses
Kay Sievers [Wed, 4 Jan 2012 23:40:39 +0000 (00:40 +0100)]
build-sys: rename 'rootdir' to 'rootprefix' like udev and kmod uses

8 years agojournald: parse configuration file
Lennart Poettering [Wed, 4 Jan 2012 19:40:04 +0000 (20:40 +0100)]
journald: parse configuration file

8 years agobuild-sys: Fix missing directories with parallel 'make install'.
Michał Górny [Wed, 4 Jan 2012 18:01:58 +0000 (19:01 +0100)]
build-sys: Fix missing directories with parallel 'make install'.

8 years agojournal: fix XZ build flags
Lennart Poettering [Wed, 4 Jan 2012 18:36:45 +0000 (19:36 +0100)]
journal: fix XZ build flags

8 years agoman: Fix out-of-source manpage builds.
Michał Górny [Wed, 4 Jan 2012 17:29:22 +0000 (18:29 +0100)]
man: Fix out-of-source manpage builds.

8 years agojournal: beef up journal output of systemctl and journalctl
Lennart Poettering [Wed, 4 Jan 2012 17:33:36 +0000 (18:33 +0100)]
journal: beef up journal output of systemctl and journalctl

8 years agojournal: it's not a problem if the realtime jumps, hence don't ensure monotonicity...
Lennart Poettering [Wed, 4 Jan 2012 17:32:50 +0000 (18:32 +0100)]
journal: it's not a problem if the realtime jumps, hence don't ensure monotonicity of realtime for entries we write

8 years agosystemctl: shortcut log output for non-service, non-socket, non-mount, non-swap units
Lennart Poettering [Wed, 4 Jan 2012 14:35:59 +0000 (15:35 +0100)]
systemctl: shortcut log output for non-service, non-socket, non-mount, non-swap units

8 years agojournald: store _SYSTEMD_UNIT= instead of _SYSTEMD_SERVICE= field, since processes...
Lennart Poettering [Wed, 4 Jan 2012 14:35:30 +0000 (15:35 +0100)]
journald: store _SYSTEMD_UNIT= instead of _SYSTEMD_SERVICE= field, since processes might also be related to mount, swap or socket units, not just services

8 years agojournalctl: only output 10 most recent lines in --follow mode
Lennart Poettering [Wed, 4 Jan 2012 14:27:31 +0000 (15:27 +0100)]
journalctl: only output 10 most recent lines in --follow mode

8 years agojournalctl: fix counting of -n parameter
Lennart Poettering [Wed, 4 Jan 2012 03:00:14 +0000 (04:00 +0100)]
journalctl: fix counting of -n parameter

8 years agojournal: fix reverse traversing of entries
Lennart Poettering [Wed, 4 Jan 2012 02:45:50 +0000 (03:45 +0100)]
journal: fix reverse traversing of entries

8 years agojournal: add missing error check
Lennart Poettering [Wed, 4 Jan 2012 02:45:24 +0000 (03:45 +0100)]
journal: add missing error check

8 years agojournal: don't mind too much if we can't find a monotonic timestamp
Lennart Poettering [Wed, 4 Jan 2012 02:45:14 +0000 (03:45 +0100)]
journal: don't mind too much if we can't find a monotonic timestamp

8 years agojournald: don't rotate on startup
Lennart Poettering [Wed, 4 Jan 2012 01:33:11 +0000 (02:33 +0100)]
journald: don't rotate on startup

8 years agojournal: when increasing window, make sure to use the increased window
Lennart Poettering [Wed, 4 Jan 2012 01:21:04 +0000 (02:21 +0100)]
journal: when increasing window, make sure to use the increased window

8 years agojournal: apply seek check before resizing window, and refresh stat data if necessary
Lennart Poettering [Wed, 4 Jan 2012 01:16:38 +0000 (02:16 +0100)]
journal: apply seek check before resizing window, and refresh stat data if necessary

8 years agojournal: add memory barrier before linking in newly created entries
Lennart Poettering [Wed, 4 Jan 2012 01:15:45 +0000 (02:15 +0100)]
journal: add memory barrier before linking in newly created entries

8 years agojournal: add missing error check
Lennart Poettering [Wed, 4 Jan 2012 01:15:08 +0000 (02:15 +0100)]
journal: add missing error check

8 years agojournalctl: add -n switch
Lennart Poettering [Wed, 4 Jan 2012 01:14:42 +0000 (02:14 +0100)]
journalctl: add -n switch

8 years agosd128: rename SD_FORMAT_ID128_STR to SD_ID128_FORMAT_STR to follow naming scheme
Lennart Poettering [Wed, 4 Jan 2012 01:13:41 +0000 (02:13 +0100)]
sd128: rename SD_FORMAT_ID128_STR to SD_ID128_FORMAT_STR to follow naming scheme

8 years agosd128: add format string macros for outputting sd_id128_t variables
Lennart Poettering [Wed, 4 Jan 2012 01:09:05 +0000 (02:09 +0100)]
sd128: add format string macros for outputting sd_id128_t variables

8 years agojournald: fix _SYSTEMD_CGROUP= values
Lennart Poettering [Tue, 3 Jan 2012 22:41:55 +0000 (23:41 +0100)]
journald: fix _SYSTEMD_CGROUP= values

8 years agologind: send out Lock signal when locking
Lennart Poettering [Tue, 3 Jan 2012 22:08:15 +0000 (23:08 +0100)]
logind: send out Lock signal when locking

8 years agoman: fix SEE ALSO in hostname(5)
Tom Gundersen [Sat, 31 Dec 2011 00:15:04 +0000 (01:15 +0100)]
man: fix SEE ALSO in hostname(5)

Rather than referencing itself (hostname(5)), point to hostname(7).

8 years agologind: don't watch vcsa if nobody cares
Lennart Poettering [Tue, 3 Jan 2012 20:50:02 +0000 (21:50 +0100)]
logind: don't watch vcsa if nobody cares

8 years agologind: if we can't open /dev/tty0, assume there is no VT subsystem and don't pretend...
Lennart Poettering [Tue, 3 Jan 2012 20:47:54 +0000 (21:47 +0100)]
logind: if we can't open /dev/tty0, assume there is no VT subsystem and don't pretend we could do VT switching

8 years agonamespace: remount namespace root dir for SLAVE to avoid propagation of mounts from...
Daniel Walsh [Tue, 3 Jan 2012 20:12:10 +0000 (21:12 +0100)]
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

8 years agosystemctl: hook up systemctl with the journal
Lennart Poettering [Tue, 3 Jan 2012 20:08:28 +0000 (21:08 +0100)]
systemctl: hook up systemctl with the journal

8 years agojournal: never fail if we cannot access /var, just print a warning
Lennart Poettering [Tue, 3 Jan 2012 20:07:12 +0000 (21:07 +0100)]
journal: never fail if we cannot access /var, just print a warning

8 years agojournald: treat a read-only /var identical to an unmounted one
Lennart Poettering [Tue, 3 Jan 2012 20:02:13 +0000 (21:02 +0100)]
journald: treat a read-only /var identical to an unmounted one

8 years agojournald: add _SYSTEMD_SESSION, _SYSTEMD_OWNER_UID, _SYSTEMD_SERVICE to all entries
Lennart Poettering [Tue, 3 Jan 2012 20:01:11 +0000 (21:01 +0100)]
journald: add _SYSTEMD_SESSION, _SYSTEMD_OWNER_UID, _SYSTEMD_SERVICE to all entries

8 years agosd-id128: add _public_ to all exports, and add validity checks for all parameters
Lennart Poettering [Tue, 3 Jan 2012 19:58:07 +0000 (20:58 +0100)]
sd-id128: add _public_ to all exports, and add validity checks for all parameters

8 years agojournal: add _public_ to all sd-journal calls, and add parameter checks
Lennart Poettering [Tue, 3 Jan 2012 19:54:15 +0000 (20:54 +0100)]
journal: add _public_ to all sd-journal calls, and add parameter checks

8 years agologin: introduce sd_pid_get_service()
Lennart Poettering [Tue, 3 Jan 2012 19:51:38 +0000 (20:51 +0100)]
login: introduce sd_pid_get_service()

8 years agonspawn: get rid of BUFFER_SIZE, use LINE_MAX instead
Lennart Poettering [Tue, 3 Jan 2012 19:41:20 +0000 (20:41 +0100)]
nspawn: get rid of BUFFER_SIZE, use LINE_MAX instead

8 years agoreadahead: bring export definition of sd-readahead in line with sd-daemon
Lennart Poettering [Tue, 3 Jan 2012 19:34:09 +0000 (20:34 +0100)]
readahead: bring export definition of sd-readahead in line with sd-daemon

8 years agosocket: only add dependency on kmsg socket to socket units which have any kind of...
Lennart Poettering [Tue, 3 Jan 2012 19:33:28 +0000 (20:33 +0100)]
socket: only add dependency on kmsg socket to socket units which have any kind of exec program specified

8 years agobuild-sys: make quotacheck and randomseed optional
Lennart Poettering [Mon, 2 Jan 2012 16:07:00 +0000 (17:07 +0100)]
build-sys: make quotacheck and randomseed optional

8 years agobuild-sys: move kbd-model-map to locale/
Lennart Poettering [Mon, 2 Jan 2012 15:50:03 +0000 (16:50 +0100)]
build-sys: move kbd-model-map to locale/

8 years agocryptsetup: split off cryptsetup into its own subdir
Lennart Poettering [Sat, 31 Dec 2011 18:59:09 +0000 (19:59 +0100)]
cryptsetup: split off cryptsetup into its own subdir

8 years agodo not install drop-in files; the shared library should be used by default
Kay Sievers [Mon, 2 Jan 2012 15:31:49 +0000 (16:31 +0100)]
do not install drop-in files; the shared library should be used by default

If distros still want to ship these, the can include them in the packaging
step. Upstream should no longer install them.

8 years agobuild-sys: switch to tar xz
Kay Sievers [Mon, 2 Jan 2012 12:55:58 +0000 (13:55 +0100)]
build-sys: switch to tar xz

8 years agobuild-sys: login - remove specified include dir; all subdirs are in the list now
Kay Sievers [Sat, 31 Dec 2011 20:55:48 +0000 (21:55 +0100)]
build-sys: login - remove specified include dir; all subdirs are in the list now

8 years agologin: move systemd-user-sessions.service into login/, too
Lennart Poettering [Sat, 31 Dec 2011 18:44:52 +0000 (19:44 +0100)]
login: move systemd-user-sessions.service into login/, too