]>
err.no Git - systemd/log
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.
Dan Walsh [Mon, 19 Dec 2011 22:55:29 +0000 (23:55 +0100)]
label: fix labeling of symbolic links
Lennart Poettering [Mon, 19 Dec 2011 21:35:46 +0000 (22:35 +0100)]
journal: implement inotify-based live logging logic
Lennart Poettering [Mon, 19 Dec 2011 19:25:52 +0000 (20:25 +0100)]
man: switch to UTF-8 output, to work around charset issues
Lennart Poettering [Mon, 19 Dec 2011 18:55:54 +0000 (19:55 +0100)]
man: generate HTML instead of XHTML with XSL docbook to work around 'fsfunc' noise
Lennart Poettering [Mon, 19 Dec 2011 18:54:51 +0000 (19:54 +0100)]
hashmap: add hashmap_first_key()
Lennart Poettering [Mon, 19 Dec 2011 16:40:31 +0000 (17:40 +0100)]
man: extend sd-login(7) in regards to mixing D-Bus and synchronous library calls a bit
Lennart Poettering [Mon, 19 Dec 2011 13:42:59 +0000 (14:42 +0100)]
man: various updates
Lennart Poettering [Mon, 19 Dec 2011 12:57:07 +0000 (13:57 +0100)]
man: add sd-login(7) page
Lennart Poettering [Mon, 19 Dec 2011 12:25:00 +0000 (13:25 +0100)]
build-sys: add rules for man page aliases
Lennart Poettering [Mon, 19 Dec 2011 12:19:01 +0000 (13:19 +0100)]
man: sd_readahead is not actually available in libsystemd-daemon
Lennart Poettering [Mon, 19 Dec 2011 12:12:36 +0000 (13:12 +0100)]
man: build new man pages
Lennart Poettering [Mon, 19 Dec 2011 12:11:42 +0000 (13:11 +0100)]
sd-daemon: fix #include lines since we now ship a shared library
Lennart Poettering [Mon, 19 Dec 2011 02:02:17 +0000 (03:02 +0100)]
man: document the sd-login interfaces
Lennart Poettering [Sat, 17 Dec 2011 00:36:47 +0000 (01:36 +0100)]
journald: filter fields send from client starting with underscore
Michal Schmidt [Sat, 17 Dec 2011 00:33:40 +0000 (01:33 +0100)]
execute: fix losing of start timestamps
Start timestamps were always cleared before saving exit timestamps.
Fix it by removing a condition that makes no sense any way I look at it.
Lennart Poettering [Sat, 17 Dec 2011 00:32:49 +0000 (01:32 +0100)]
journal: introduce mandatory sd_journal_printf() priority parameter
Lennart Poettering [Sat, 17 Dec 2011 00:13:55 +0000 (01:13 +0100)]
journal: enforce limits on open journal files
Lennart Poettering [Fri, 16 Dec 2011 23:56:34 +0000 (00:56 +0100)]
journal: add native protocol to journald, and client side API to send journal messages
Michal Schmidt [Fri, 16 Dec 2011 23:39:19 +0000 (00:39 +0100)]
man: fix misplaced remark in description of Sockets=
Michal Schmidt [Fri, 16 Dec 2011 17:27:35 +0000 (18:27 +0100)]
tmpfiles: add 'z', like 'Z' but not recursive
Michal Schmidt [Fri, 16 Dec 2011 17:00:11 +0000 (18:00 +0100)]
tmpfiles: apply chown, chmod for 'Z' entries too
If changing ownership or permissions is not desired, they can be
configured to '-' or omitted entirely.
Michal Schmidt [Fri, 16 Dec 2011 16:38:01 +0000 (17:38 +0100)]
service: use 'syslog+console' for sysv_console
The default output to 'tty' for SysV service was making it hard to debug
problems because error messages were missing from syslog.
Michal Schmidt [Thu, 15 Dec 2011 23:38:22 +0000 (00:38 +0100)]
man: mention that 'Z' ignores uid/gid/mode
Michal Schmidt [Thu, 15 Dec 2011 22:04:37 +0000 (23:04 +0100)]
man: document 'Z' in tmpfiles
Michal Schmidt [Thu, 15 Dec 2011 22:11:07 +0000 (23:11 +0100)]
tmpfiles: add RECURSIVE_RELABEL_PATH ('Z')
Feature requested by Dan Walsh.
Michal Schmidt [Thu, 15 Dec 2011 22:45:26 +0000 (23:45 +0100)]
tmpfiles: separate a generic item glob processing function
Item glob processing will be useful for more than just removing.