]> err.no Git - systemd/log
systemd
12 years agomain: fix spelling
Lennart Poettering [Fri, 6 Jan 2012 23:59:15 +0000 (00:59 +0100)]
main: fix spelling

12 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

12 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

12 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

12 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

12 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.

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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.

12 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()

12 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.

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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

12 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!

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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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

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

12 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

12 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}

12 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'

12 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

12 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

12 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'

12 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()

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

12 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

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

12 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'.

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

12 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.

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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

12 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

12 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

12 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

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

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

12 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

12 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

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

12 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

12 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).

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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()

12 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

12 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

12 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

12 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

12 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/

12 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

12 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.

12 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

12 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

12 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

12 years agobuild-sys: make readahead and vconsole optional
Lennart Poettering [Sat, 31 Dec 2011 18:35:52 +0000 (19:35 +0100)]
build-sys: make readahead and vconsole optional

12 years agognome-ask-password-agent: require libnotify >= 0.7.0
Kay Sievers [Sat, 31 Dec 2011 17:15:27 +0000 (18:15 +0100)]
gnome-ask-password-agent: require libnotify >= 0.7.0

12 years agobuild-sys: fix mageia kbd mappings
Lennart Poettering [Sat, 31 Dec 2011 17:06:44 +0000 (18:06 +0100)]
build-sys: fix mageia kbd mappings

12 years agologin: move the PAM module to src/login/ since it is just a client to logind
Lennart Poettering [Sat, 31 Dec 2011 17:06:21 +0000 (18:06 +0100)]
login: move the PAM module to src/login/ since it is just a client to logind

12 years agotest: rename test directory
Lennart Poettering [Sat, 31 Dec 2011 12:48:35 +0000 (13:48 +0100)]
test: rename test directory

12 years agobuild-sys: more remaining parts of sd-deamon to their own section in Makefile.am
Kay Sievers [Sat, 31 Dec 2011 16:06:09 +0000 (17:06 +0100)]
build-sys: more remaining parts of sd-deamon to their own section in Makefile.am

12 years agobuild-sys: restructure sd-daemon, sd-readahead, sd-login files
Kay Sievers [Sat, 31 Dec 2011 15:55:36 +0000 (16:55 +0100)]
build-sys: restructure sd-daemon, sd-readahead, sd-login files

12 years agobuild-sys: remove redundant _CFLAGS assignment
Kay Sievers [Sat, 31 Dec 2011 15:15:38 +0000 (16:15 +0100)]
build-sys: remove redundant _CFLAGS assignment

12 years agologin: move libsystemd-login.pc.in into src/login/
Lennart Poettering [Sat, 31 Dec 2011 12:37:23 +0000 (13:37 +0100)]
login: move libsystemd-login.pc.in into src/login/

12 years agolibsystemd-daemon: restructure Makefile.am
Kay Sievers [Sat, 31 Dec 2011 08:17:48 +0000 (09:17 +0100)]
libsystemd-daemon: restructure Makefile.am