chiark / gitweb /
elogind.git
12 years agomount: fix quota
Michal Schmidt [Fri, 13 Jan 2012 22:55:28 +0000 (23:55 +0100)]
mount: fix quota

quotacheck.service and quotaon.service were not pulled in for fstab mounts.
Fix it by not clearing the default_dependencies flag.

The root filesystem may have quotas too, so don't check for "/" there.

No need to have duplicate code for adding dependencies on umount.target.

https://bugzilla.redhat.com/show_bug.cgi?id=773431

12 years agopam: fix build
Lennart Poettering [Fri, 13 Jan 2012 19:52:45 +0000 (20:52 +0100)]
pam: fix build

12 years agopam: work correctly if a seat is specified but not vtnr
Lennart Poettering [Fri, 13 Jan 2012 19:51:58 +0000 (20:51 +0100)]
pam: work correctly if a seat is specified but not vtnr

12 years agojournal: add output mode that just prints simple messages without any decorations
Lennart Poettering [Fri, 13 Jan 2012 01:58:45 +0000 (02:58 +0100)]
journal: add output mode that just prints simple messages without any decorations

12 years agoapi: add C++ guards to all headers
Lennart Poettering [Thu, 12 Jan 2012 23:49:21 +0000 (00:49 +0100)]
api: add C++ guards to all headers

12 years agosd-login: teach sd_pid_get_unit() proper handling of instantiated services
Lennart Poettering [Thu, 12 Jan 2012 23:49:02 +0000 (00:49 +0100)]
sd-login: teach sd_pid_get_unit() proper handling of instantiated services

12 years agojournal: if the syslog forwarder socket is full, then don't block
Lennart Poettering [Thu, 12 Jan 2012 04:09:24 +0000 (05:09 +0100)]
journal: if the syslog forwarder socket is full, then don't block

12 years agocore: switch all log targets to go directly to the journal, instead via syslog
Lennart Poettering [Thu, 12 Jan 2012 04:09:06 +0000 (05:09 +0100)]
core: switch all log targets to go directly to the journal, instead via syslog

12 years agounits: make sure syslog socket goes away early during shutdown
Lennart Poettering [Thu, 12 Jan 2012 03:34:50 +0000 (04:34 +0100)]
units: make sure syslog socket goes away early during shutdown

12 years agolog: make internal log api log directly to the journal
Lennart Poettering [Thu, 12 Jan 2012 03:34:31 +0000 (04:34 +0100)]
log: make internal log api log directly to the journal

12 years agojournal: add SELinux context to all logged messages
Lennart Poettering [Wed, 11 Jan 2012 21:45:05 +0000 (22:45 +0100)]
journal: add SELinux context to all logged messages

12 years agojournal: fix more 32/64 bit issues
Lennart Poettering [Wed, 11 Jan 2012 21:44:43 +0000 (22:44 +0100)]
journal: fix more 32/64 bit issues

12 years agotmpfiles: fix parsing of /proc/net/unix on 32Bit machines
Lennart Poettering [Wed, 11 Jan 2012 21:07:35 +0000 (22:07 +0100)]
tmpfiles: fix parsing of /proc/net/unix on 32Bit machines

Tracked down by Michael Meeks

12 years agologs-show: fix missing newline in short output
Michal Schmidt [Tue, 10 Jan 2012 21:03:49 +0000 (22:03 +0100)]
logs-show: fix missing newline in short output

Ellipsized messages were printed without a newline.

12 years agojournald: don't assume size_t and uint64_t are the same
Lennart Poettering [Wed, 11 Jan 2012 20:24:02 +0000 (21:24 +0100)]
journald: don't assume size_t and uint64_t are the same

12 years agojournald: set group ownership of journal files to 'adm' by default
Lennart Poettering [Wed, 11 Jan 2012 20:11:58 +0000 (21:11 +0100)]
journald: set group ownership of journal files to 'adm' by default

12 years agojournal: make requirement for ACLs optional
Lennart Poettering [Wed, 11 Jan 2012 19:40:01 +0000 (20:40 +0100)]
journal: make requirement for ACLs optional

12 years agojournalctl: fix --help text
Lennart Poettering [Wed, 11 Jan 2012 15:03:42 +0000 (16:03 +0100)]
journalctl: fix --help text

12 years agobuild-sys: fix upload rule for xz v38
Lennart Poettering [Wed, 11 Jan 2012 03:01:50 +0000 (04:01 +0100)]
build-sys: fix upload rule for xz

12 years agobuild-sys: bump version
Lennart Poettering [Wed, 11 Jan 2012 02:56:35 +0000 (03:56 +0100)]
build-sys: bump version

12 years agojournal: don't realign window twice
Lennart Poettering [Wed, 11 Jan 2012 02:55:24 +0000 (03:55 +0100)]
journal: don't realign window twice

12 years agosd-journal: implement a number of non-implemented calls from the API for now
Lennart Poettering [Wed, 11 Jan 2012 02:23:04 +0000 (03:23 +0100)]
sd-journal: implement a number of non-implemented calls from the API for now

12 years agosystemd: reconnect to syslog as soon as the journal is fully up
Lennart Poettering [Wed, 11 Jan 2012 02:16:24 +0000 (03:16 +0100)]
systemd: reconnect to syslog as soon as the journal is fully up

12 years agojournalctl: always show monotonic timestamp even if it's from an old boot
Lennart Poettering [Wed, 11 Jan 2012 02:02:10 +0000 (03:02 +0100)]
journalctl: always show monotonic timestamp even if it's from an old boot

12 years agoUpdate TODO
Lennart Poettering [Wed, 11 Jan 2012 01:58:14 +0000 (02:58 +0100)]
Update TODO

12 years agounit: implement new PropagateReloadTo=/PropagateReloadFrom= operations
Lennart Poettering [Wed, 11 Jan 2012 01:47:14 +0000 (02:47 +0100)]
unit: implement new PropagateReloadTo=/PropagateReloadFrom= operations

12 years agoshutdown: add link to root storage daemon text
Lennart Poettering [Wed, 11 Jan 2012 00:51:52 +0000 (01:51 +0100)]
shutdown: add link to root storage daemon text

12 years agoservice: brutally slaughter processes that are running in the cgroup when we enter...
Lennart Poettering [Wed, 11 Jan 2012 00:51:32 +0000 (01:51 +0100)]
service: brutally slaughter processes that are running in the cgroup when we enter START_PRE and START

12 years agoupdate TODO
Lennart Poettering [Wed, 11 Jan 2012 01:51:40 +0000 (02:51 +0100)]
update TODO

12 years agobuild-sys: link systemctl and systemd-journalctl against libsystemd-id128
Michael Biebl [Tue, 10 Jan 2012 06:26:30 +0000 (07:26 +0100)]
build-sys: link systemctl and systemd-journalctl against libsystemd-id128

Both use logs-show.c which requires libsystemd-id128 for
sd_id128_to_string ().

12 years agoshutdown: exclude processes with argv[0][0] from killing
Lennart Poettering [Tue, 10 Jan 2012 03:20:55 +0000 (04:20 +0100)]
shutdown: exclude processes with argv[0][0] from killing

12 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

12 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

12 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

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

12 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

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

12 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

12 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

12 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

12 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

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