]>
err.no Git - systemd/log
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
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
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
Lennart Poettering [Wed, 4 Jan 2012 14:27:31 +0000 (15:27 +0100)]
journalctl: only output 10 most recent lines in --follow mode
Lennart Poettering [Wed, 4 Jan 2012 03:00:14 +0000 (04:00 +0100)]
journalctl: fix counting of -n parameter
Lennart Poettering [Wed, 4 Jan 2012 02:45:50 +0000 (03:45 +0100)]
journal: fix reverse traversing of entries
Lennart Poettering [Wed, 4 Jan 2012 02:45:24 +0000 (03:45 +0100)]
journal: add missing error check
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
Lennart Poettering [Wed, 4 Jan 2012 01:33:11 +0000 (02:33 +0100)]
journald: don't rotate on startup
Lennart Poettering [Wed, 4 Jan 2012 01:21:04 +0000 (02:21 +0100)]
journal: when increasing window, make sure to use the increased window
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
Lennart Poettering [Wed, 4 Jan 2012 01:15:45 +0000 (02:15 +0100)]
journal: add memory barrier before linking in newly created entries
Lennart Poettering [Wed, 4 Jan 2012 01:15:08 +0000 (02:15 +0100)]
journal: add missing error check
Lennart Poettering [Wed, 4 Jan 2012 01:14:42 +0000 (02:14 +0100)]
journalctl: add -n switch
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
Lennart Poettering [Wed, 4 Jan 2012 01:09:05 +0000 (02:09 +0100)]
sd128: add format string macros for outputting sd_id128_t variables
Lennart Poettering [Tue, 3 Jan 2012 22:41:55 +0000 (23:41 +0100)]
journald: fix _SYSTEMD_CGROUP= values
Lennart Poettering [Tue, 3 Jan 2012 22:08:15 +0000 (23:08 +0100)]
logind: send out Lock signal when locking
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).
Lennart Poettering [Tue, 3 Jan 2012 20:50:02 +0000 (21:50 +0100)]
logind: don't watch vcsa if nobody cares
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
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
Lennart Poettering [Tue, 3 Jan 2012 20:08:28 +0000 (21:08 +0100)]
systemctl: hook up systemctl with the journal
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
Lennart Poettering [Tue, 3 Jan 2012 20:02:13 +0000 (21:02 +0100)]
journald: treat a read-only /var identical to an unmounted one
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
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
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
Lennart Poettering [Tue, 3 Jan 2012 19:51:38 +0000 (20:51 +0100)]
login: introduce sd_pid_get_service()
Lennart Poettering [Tue, 3 Jan 2012 19:41:20 +0000 (20:41 +0100)]
nspawn: get rid of BUFFER_SIZE, use LINE_MAX instead
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
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
Lennart Poettering [Mon, 2 Jan 2012 16:07:00 +0000 (17:07 +0100)]
build-sys: make quotacheck and randomseed optional
Lennart Poettering [Mon, 2 Jan 2012 15:50:03 +0000 (16:50 +0100)]
build-sys: move kbd-model-map to locale/
Lennart Poettering [Sat, 31 Dec 2011 18:59:09 +0000 (19:59 +0100)]
cryptsetup: split off cryptsetup into its own subdir
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.
Kay Sievers [Mon, 2 Jan 2012 12:55:58 +0000 (13:55 +0100)]
build-sys: switch to tar xz
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
Lennart Poettering [Sat, 31 Dec 2011 18:44:52 +0000 (19:44 +0100)]
login: move systemd-user-sessions.service into login/, too
Lennart Poettering [Sat, 31 Dec 2011 18:35:52 +0000 (19:35 +0100)]
build-sys: make readahead and vconsole optional
Kay Sievers [Sat, 31 Dec 2011 17:15:27 +0000 (18:15 +0100)]
gnome-ask-password-agent: require libnotify >= 0.7.0
Lennart Poettering [Sat, 31 Dec 2011 17:06:44 +0000 (18:06 +0100)]
build-sys: fix mageia kbd mappings
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
Lennart Poettering [Sat, 31 Dec 2011 12:48:35 +0000 (13:48 +0100)]
test: rename test directory
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
Kay Sievers [Sat, 31 Dec 2011 15:55:36 +0000 (16:55 +0100)]
build-sys: restructure sd-daemon, sd-readahead, sd-login files
Kay Sievers [Sat, 31 Dec 2011 15:15:38 +0000 (16:15 +0100)]
build-sys: remove redundant _CFLAGS assignment
Lennart Poettering [Sat, 31 Dec 2011 12:37:23 +0000 (13:37 +0100)]
login: move libsystemd-login.pc.in into src/login/
Kay Sievers [Sat, 31 Dec 2011 08:17:48 +0000 (09:17 +0100)]
libsystemd-daemon: restructure Makefile.am
Kay Sievers [Sat, 31 Dec 2011 08:05:56 +0000 (09:05 +0100)]
pam_systemd: restructure Makefile.am and move inside ENABLE_LOGIND
Kay Sievers [Sat, 31 Dec 2011 07:53:06 +0000 (08:53 +0100)]
libsystemd-id128: restructure Makefile.am
Kay Sievers [Sat, 31 Dec 2011 07:36:52 +0000 (08:36 +0100)]
journal: restructure Makefile.am
Kay Sievers [Sat, 31 Dec 2011 06:40:31 +0000 (07:40 +0100)]
binfmt: move sources to subdirectory
Kay Sievers [Sat, 31 Dec 2011 06:21:37 +0000 (07:21 +0100)]
hostnamed, localed: move config files to subdir
Kay Sievers [Sat, 31 Dec 2011 05:59:04 +0000 (06:59 +0100)]
hostnamed: move sources to subdirectory
Kay Sievers [Sat, 31 Dec 2011 05:50:34 +0000 (06:50 +0100)]
localed: move sources to subdirectory
Kay Sievers [Sat, 31 Dec 2011 05:20:34 +0000 (06:20 +0100)]
timedated: move sources to subdirectory
Kay Sievers [Sat, 31 Dec 2011 05:02:42 +0000 (06:02 +0100)]
build-sys: restructure logind parts in Makefile.am and add --disable-logind
Kay Sievers [Sat, 31 Dec 2011 03:36:02 +0000 (04:36 +0100)]
logind: fix POTFILES location
Kay Sievers [Sat, 31 Dec 2011 03:20:25 +0000 (04:20 +0100)]
logind: add 'login' subdir to include dirs
When separate 'builddirs', like with 'distcheck', are used, the generated
sources, like the '.c' files from 'gperf', are placed in the 'builddir' and
can not find the include headers in 'srcdir'.
Kay Sievers [Sat, 31 Dec 2011 02:59:54 +0000 (03:59 +0100)]
Makefile.am: consistently use tabs
Kay Sievers [Sat, 31 Dec 2011 02:55:35 +0000 (03:55 +0100)]
journal: silence gcc warnings
Lennart Poettering [Sat, 31 Dec 2011 02:35:45 +0000 (03:35 +0100)]
util: fix warning
Lennart Poettering [Sat, 31 Dec 2011 02:35:38 +0000 (03:35 +0100)]
journal: move symver file into subdirectory
Lennart Poettering [Sat, 31 Dec 2011 02:24:31 +0000 (03:24 +0100)]
logind: move more files into subdirectory
Lennart Poettering [Sat, 31 Dec 2011 02:16:08 +0000 (03:16 +0100)]
logind: move logind into its own subdirectory
Lennart Poettering [Sat, 31 Dec 2011 02:02:57 +0000 (03:02 +0100)]
git: update gitignore
Lennart Poettering [Sat, 31 Dec 2011 01:31:54 +0000 (02:31 +0100)]
journal: automatically deduce journal metrics from file system sizes
Lennart Poettering [Sat, 31 Dec 2011 00:08:06 +0000 (01:08 +0100)]
kmsg: drop unused variable
Lennart Poettering [Sat, 31 Dec 2011 00:07:49 +0000 (01:07 +0100)]
socket: rename the PassCred= option to PassCredentials=, since we don't want to needlessly abbreviate options unless they are very well established
Lennart Poettering [Fri, 30 Dec 2011 23:59:37 +0000 (00:59 +0100)]
Merge branch 'journal'
Lennart Poettering [Fri, 30 Dec 2011 23:57:14 +0000 (00:57 +0100)]
journal: move max_use into metrics structure
Lennart Poettering [Fri, 30 Dec 2011 21:29:23 +0000 (22:29 +0100)]
journal: disable default debug logging
Lennart Poettering [Fri, 30 Dec 2011 21:15:58 +0000 (22:15 +0100)]
journal: fix a few bad memory accesses and leaks
Lennart Poettering [Fri, 30 Dec 2011 18:05:43 +0000 (19:05 +0100)]
journald: forward all syslog messages to syslogd
Lennart Poettering [Fri, 30 Dec 2011 16:50:37 +0000 (17:50 +0100)]
journal: add unit files and shared library glue
Lennart Poettering [Fri, 30 Dec 2011 15:01:33 +0000 (16:01 +0100)]
journald: add missing header
Lennart Poettering [Fri, 30 Dec 2011 14:34:21 +0000 (15:34 +0100)]
remount-api-vfs: handle another OOM condition
Lennart Poettering [Thu, 29 Dec 2011 14:25:42 +0000 (15:25 +0100)]
journald: don't recheck /var availability more often than 30s
Lennart Poettering [Thu, 29 Dec 2011 14:00:57 +0000 (15:00 +0100)]
journald: flush /run to /var as soon as it becomes available
Lennart Poettering [Thu, 29 Dec 2011 14:00:05 +0000 (15:00 +0100)]
journald: increase rate limit burst rate
Kay Sievers [Thu, 29 Dec 2011 13:09:04 +0000 (14:09 +0100)]
update TODO
Lennart Poettering [Wed, 28 Dec 2011 00:53:06 +0000 (01:53 +0100)]
journal: never mmap beyond file size
Lennart Poettering [Tue, 27 Dec 2011 22:18:09 +0000 (23:18 +0100)]
journald: when checking available disk space for rate limiting, cache the results temporarily
Lennart Poettering [Tue, 27 Dec 2011 21:58:20 +0000 (22:58 +0100)]
journal: fix hash table lookup logic
Lennart Poettering [Tue, 27 Dec 2011 21:52:22 +0000 (22:52 +0100)]
journal: fix typo
Lennart Poettering [Tue, 27 Dec 2011 21:52:15 +0000 (22:52 +0100)]
udev: exclude loopback device from udev rule based sysctl application, since we can just apply that directly at boot
Lennart Poettering [Tue, 27 Dec 2011 21:51:46 +0000 (22:51 +0100)]
journald: implement sophisticated rate limiting
Lennart Poettering [Fri, 23 Dec 2011 19:50:48 +0000 (20:50 +0100)]
journal: implement stdout transport
Lennart Poettering [Wed, 21 Dec 2011 23:35:04 +0000 (00:35 +0100)]
journald: enforce some syntax restrictions on field names sent from the client side
Lennart Poettering [Wed, 21 Dec 2011 21:32:52 +0000 (22:32 +0100)]
journal: properly handle first inline bisect array entry
Lennart Poettering [Wed, 21 Dec 2011 18:00:10 +0000 (19:00 +0100)]
journal: add missing compress.[ch]
Lennart Poettering [Wed, 21 Dec 2011 17:59:56 +0000 (18:59 +0100)]
journalctl: add command line parsing
Lennart Poettering [Wed, 21 Dec 2011 17:17:22 +0000 (18:17 +0100)]
journalctl: add json, export, short and verbose output modes
Lennart Poettering [Wed, 21 Dec 2011 01:40:59 +0000 (02:40 +0100)]
journal: add inline compression support with XZ
Lennart Poettering [Tue, 20 Dec 2011 01:38:36 +0000 (02:38 +0100)]
journal: fix space reservation limit enforcement
Lennart Poettering [Mon, 19 Dec 2011 23:38:14 +0000 (00:38 +0100)]
journal: fix matches
Michal Schmidt [Sun, 18 Dec 2011 13:57:54 +0000 (14:57 +0100)]
log: never block on syslog in PID 1
Use a non-blocking syslog socket if logging from PID 1.
If sendmsg fails with EAGAIN, fall back to kmsg or console only for the
current message. Next message will try syslog again.
Michal Schmidt [Mon, 19 Dec 2011 17:32:10 +0000 (18:32 +0100)]
dbus: no sync D-Bus connection flushing
Blocking on D-Bus in a system manager could lead to deadlock.
Michal Schmidt [Sun, 18 Dec 2011 13:58:10 +0000 (14:58 +0100)]
dbus: register to DBus asynchronously
Chen Jie observed and analyzed a deadlock. Assuming systemd-kmsg-syslogd
is already stopped, but rsyslogd is not started yet:
1. systemd makes a synchronous call to dbus-daemon.
2. dbus-daemon wants to write something to syslog.
3. syslog needs to be started by systemd.
... but cannot be, because systemd is waiting in 1.
Solve this by avoiding synchronous D-Bus calls. I had to write an async
bus registration call. Interestingly, D-Bus authors anticipated this, in
documentation to dbus_bus_set_unique_name():
> The only reason to use this function is to re-implement the equivalent
> of dbus_bus_register() yourself. One (probably unusual) reason to do
> that might be to do the bus registration call asynchronously instead
> of synchronously.
Lennart's comments from IRC:
> though I think this doesn't fix the problem in its entirety
> simply because dbus_connection_open_private() itself is still synchronous
> i.e. the connect() call behind it is not async
> I think I listed that issue actually on some D-Bus todo list
> i.e. to make dbus_connection_get() fully async
> but that's going to be hard
> so your patch looks good
So it may not be perfect, but it's clearly an improvement.
I did not manage to reproduce the original deadlock with the patch.