chiark / gitweb /
elogind.git
7 years agoAdd an 'n' option to cgtop (equivalent to top)
David Strauss [Wed, 25 Jul 2012 23:33:06 +0000 (16:33 -0700)]
Add an 'n' option to cgtop (equivalent to top)

7 years agojournald: log driver messages at LOG_INFO
Lennart Poettering [Thu, 26 Jul 2012 14:51:58 +0000 (16:51 +0200)]
journald: log driver messages at LOG_INFO

7 years agojournalctl: hightlight log lines by priority
Lennart Poettering [Thu, 26 Jul 2012 14:50:35 +0000 (16:50 +0200)]
journalctl: hightlight log lines by priority

warn/notice = bright white
< error = red

7 years agologs-show: fix OOM path
Lennart Poettering [Thu, 26 Jul 2012 14:05:26 +0000 (16:05 +0200)]
logs-show: fix OOM path

7 years agobuild-sys: use correct cpp
Peeters Simon [Thu, 26 Jul 2012 13:41:02 +0000 (15:41 +0200)]
build-sys: use correct cpp

this solves issues where $(CPP) has differend include paths than 'cpp'

7 years agoupdate README
Lennart Poettering [Thu, 26 Jul 2012 13:56:43 +0000 (15:56 +0200)]
update README

7 years agologin: lose policy a bit: allow user suspend unauthenticated when multiple sessions...
Lennart Poettering [Thu, 26 Jul 2012 13:56:36 +0000 (15:56 +0200)]
login: lose policy a bit: allow user suspend unauthenticated when multiple sessions exist

7 years agolog: out-of-line __log_oom()
Michal Schmidt [Thu, 26 Jul 2012 12:23:49 +0000 (14:23 +0200)]
log: out-of-line __log_oom()

The callers' code gets smaller.

7 years agolog: log_oom() must be a macro
Michal Schmidt [Thu, 26 Jul 2012 12:07:27 +0000 (14:07 +0200)]
log: log_oom() must be a macro

7 years agoudev: cdrom_id, accelerometer - enable debug output for --debug
Kay Sievers [Thu, 26 Jul 2012 10:03:25 +0000 (12:03 +0200)]
udev: cdrom_id, accelerometer - enable debug output for --debug

7 years agolog.h: new log_oom() -> int -ENOMEM, use it
Shawn Landden [Wed, 25 Jul 2012 21:55:59 +0000 (14:55 -0700)]
log.h: new log_oom() -> int -ENOMEM, use it

also a number of minor fixups and bug fixes: spelling, oom errors
that didn't print errors, not properly forwarding error codes,
few more consistency issues, et cetera

7 years agoupdate TODO
Kay Sievers [Thu, 26 Jul 2012 08:20:47 +0000 (10:20 +0200)]
update TODO

7 years agounit-name: style fix in unit_name_is_template()
Michal Schmidt [Thu, 26 Jul 2012 08:13:26 +0000 (10:13 +0200)]
unit-name: style fix in unit_name_is_template()

to make it look like the newly added unit_name_is_instance()

7 years agosystemd: enable/disable instances of template
Michal Sekletar [Fri, 13 Jul 2012 13:59:26 +0000 (15:59 +0200)]
systemd: enable/disable instances of template

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

7 years agounit: add missing deps in unit_dependency_table
Michal Schmidt [Thu, 26 Jul 2012 07:46:40 +0000 (09:46 +0200)]
unit: add missing deps in unit_dependency_table

also reorder the table according to the enum order.

7 years agounit: make the table of inverse deps symmetric
Michal Schmidt [Thu, 26 Jul 2012 07:42:26 +0000 (09:42 +0200)]
unit: make the table of inverse deps symmetric

7 years agodbus-unit: expose PartOf/ConsistsOf properties
Michal Schmidt [Thu, 26 Jul 2012 07:38:39 +0000 (09:38 +0200)]
dbus-unit: expose PartOf/ConsistsOf properties

7 years agoman: rewrite the description of PartOf
Michal Schmidt [Thu, 26 Jul 2012 07:34:27 +0000 (09:34 +0200)]
man: rewrite the description of PartOf

7 years agosystemd: added new dependency PartOf
Michal Sekletar [Fri, 20 Jul 2012 13:55:01 +0000 (15:55 +0200)]
systemd: added new dependency PartOf

This should address TODO item "new dependency type to "group" services
in a target". Semantic of new dependency is as follows. Once configured
it creates dependency which will cause that all dependent units get
stopped if unit they all depend on is stopped or restarted.  Usual use
case would be configuring PartOf=some.target in template unit file
and WantedBy=some.target in [Install] section and enabling desired
number of instances. In this case starting one instance won't pull in
target but stopping or starting target(in case of WantedBy is properly
configured) will cause stop/start of all instances.

7 years agobuild-sys: create ntp-units.d dropin directories on install
Michal Schmidt [Thu, 26 Jul 2012 05:47:12 +0000 (07:47 +0200)]
build-sys: create ntp-units.d dropin directories on install

7 years agobuild-sys: really make gtk-doc optional & some portability fixes
Mantas Mikulėnas [Wed, 25 Jul 2012 19:39:17 +0000 (22:39 +0300)]
build-sys: really make gtk-doc optional & some portability fixes

The failing check caused autogen.sh to die mysteriously due to `set -e`
and the unquoted `test -z $VAR`.

Also, some syntax fixes to make it work with /bin/sh, which most other
autogen.sh's use.

[zj: implemented simplification suggested by Peters Simon
 and fixed the case where gtkdocize was available but is not anymore.]

7 years agoupdate TODO
Lennart Poettering [Wed, 25 Jul 2012 16:13:32 +0000 (18:13 +0200)]
update TODO

7 years agoupdate TODO
Kay Sievers [Wed, 25 Jul 2012 09:40:14 +0000 (11:40 +0200)]
update TODO

7 years agomake-man-index.py: compatibility with Python 3
Mantas Mikulėnas [Tue, 24 Jul 2012 23:59:28 +0000 (02:59 +0300)]
make-man-index.py: compatibility with Python 3

Despite its name, ElementTree.tostring() returns already-encoded
bytes() instead of a string in Python 3; sys.stdout doesn't like that.

7 years agouse "Out of memory." consistantly (or with "\n")
Shawn Landden [Wed, 25 Jul 2012 04:12:43 +0000 (21:12 -0700)]
use "Out of memory." consistantly (or with "\n")

glibc/glib both use "out of memory" consistantly so maybe we should
consider that instead of this.

Eliminates one string out of a number of binaries. Also fixes extra newline
in udev/scsi_id

7 years agounits: add the modules-load cmdline parameters to the unit conditions
Michal Schmidt [Wed, 25 Jul 2012 06:48:50 +0000 (08:48 +0200)]
units: add the modules-load cmdline parameters to the unit conditions

For 'modules-load=' and 'rd.modules-load=' to be effective,
systemd-modules-load.service must be started. It is currently
conditional on the existence of config files. Add the presence of the
cmdline parameters to the triggering conditions.

7 years agomodules-load: fix kernel cmdline parsing
Michal Schmidt [Tue, 24 Jul 2012 23:45:16 +0000 (01:45 +0200)]
modules-load: fix kernel cmdline parsing

7 years agomain: set PR_SET_CHILD_REAPER for MANAGER_USER
Auke Kok [Tue, 24 Jul 2012 22:13:11 +0000 (00:13 +0200)]
main: set PR_SET_CHILD_REAPER for MANAGER_USER

Become the reaper for all children part of the user session. Tested
with several forking services.

7 years agoconf-files: continue searching if one dir fails
Michal Schmidt [Tue, 24 Jul 2012 21:18:25 +0000 (23:18 +0200)]
conf-files: continue searching if one dir fails

A problem with systemd-tmpfiles has been observed where the service
failed just because one of the configuration directories could not be
read due to SELinux policy.

Complain about the failure, but try to go on.

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

7 years agouaccess: add ID_SECURITY_TOKEN device class for USB authentication keys
Kay Sievers [Tue, 24 Jul 2012 18:13:46 +0000 (20:13 +0200)]
uaccess: add ID_SECURITY_TOKEN device class for USB authentication keys

7 years agorules: avoid mounting raid devices too early
Michal Schmidt [Tue, 24 Jul 2012 07:47:33 +0000 (09:47 +0200)]
rules: avoid mounting raid devices too early

/dev/md0 appears as soon as the first component of the raid array is
added by incremental assembly rules. This is too early for systemd to
attempt to mount the device. The device should be considered plugged
after the raid array becomes active.

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

7 years agosystemctl: use color specification understood by dot
Zbigniew Jędrzejewski-Szmek [Mon, 23 Jul 2012 16:26:31 +0000 (18:26 +0200)]
systemctl: use color specification understood by dot

grey66 is aproximately equal to dark grey. Not understanding dark grey is really
a bug in dot, but trivial to work around.

Closes https://bugs.freedesktop.org/show_bug.cgi?id=45706

7 years agojournalctl: fix ellipsization with PAGER=cat
Zbigniew Jedrzejewski-Szmek [Fri, 20 Jul 2012 07:06:26 +0000 (09:06 +0200)]
journalctl: fix ellipsization with PAGER=cat

There are other reasons for not opening the pager then the --no-pager
or --follow options (described below). If the pager is not used,
messages must be ellipsized.

On Fri, Jul 20, 2012 at 05:42:44AM +0000, Shawn Landen wrote:
> "Pager to use when --no-pager is not given; overrides $PAGER.
> Setting this to an empty string or the value cat is equivalent to passing --no-pager."

7 years agokeymap: Broaden ThinkPad X2.. tablet match to also apply to X230
Terence Honles [Mon, 23 Jul 2012 04:32:46 +0000 (06:32 +0200)]
keymap: Broaden ThinkPad X2.. tablet match to also apply to X230

https://bugs.freedesktop.org/show_bug.cgi?id=52371

7 years agobuild-sys: man - add missing dependency
Kay Sievers [Sun, 22 Jul 2012 23:58:24 +0000 (01:58 +0200)]
build-sys: man - add missing dependency

7 years agosd-daemon: remove unnecessary memset calls
Jim Meyering [Thu, 16 Jun 2011 06:51:14 +0000 (08:51 +0200)]
sd-daemon: remove unnecessary memset calls

There is no point in clearing the bits of a "struct stat" when the very
next statement just calls stat or fstat to fill in that same memory.

[zj: two more places]

7 years agologind: fix operation precedence mix-up
Zbigniew Jędrzejewski-Szmek [Sun, 22 Jul 2012 13:24:25 +0000 (15:24 +0200)]
logind: fix operation precedence mix-up

Since + has higher precedence than ?:, and u+b is unlikely to be exactly zero,
the timestamp would usually be set to IDLE_THRESHOLD_USEC. Fix it by
returning either 'last activity', or 'last activity+IDLE_THRESHOLD_USEC'.

7 years agotest: correct enum misassignment
Zbigniew Jędrzejewski-Szmek [Sun, 22 Jul 2012 12:48:52 +0000 (14:48 +0200)]
test: correct enum misassignment

CC     src/test/test_job_type-test-job-type.o
../src/test/test-job-type.c:40:25: warning: implicit conversion from enumeration type
      'enum UnitType' to different enumeration type 'ServiceType' (aka 'enum ServiceType')
      [-Wconversion]
                .type = UNIT_SERVICE
                        ^~~~~~~~~~~~

7 years agocollect, keymap, systemctl: use _noreturn_
Zbigniew Jędrzejewski-Szmek [Sun, 22 Jul 2012 12:42:09 +0000 (14:42 +0200)]
collect, keymap, systemctl: use _noreturn_

7 years agoman: typo
Shawn Landden [Fri, 22 Jun 2012 11:45:29 +0000 (04:45 -0700)]
man: typo

7 years agobuild-sys: distribute a few more man pages
Zbigniew Jędrzejewski-Szmek [Sun, 22 Jul 2012 21:32:21 +0000 (23:32 +0200)]
build-sys: distribute a few more man pages

7 years agobuild-sys: hide error message from grep
Zbigniew Jędrzejewski-Szmek [Sun, 22 Jul 2012 12:10:51 +0000 (14:10 +0200)]
build-sys: hide error message from grep

7 years agobuild-sys: fail early in autogen.sh
Zbyszek Jędrzejewski-Szmek [Wed, 18 Jul 2012 08:06:18 +0000 (10:06 +0200)]
build-sys: fail early in autogen.sh

When intltoolize is not installed, autogen.sh runs without error,
but configure.ac is borked.

./configure: line 12001: syntax error near unexpected token `0.40.0'
./configure: line 12001: `IT_PROG_INTLTOOL(0.40.0)'

7 years agobuild-sys: fix (again) index generation in subdir
Zbigniew Jędrzejewski-Szmek [Wed, 18 Jul 2012 14:14:24 +0000 (16:14 +0200)]
build-sys: fix (again) index generation in subdir

make-man-index.py doesn't care about .html files, only .xml files, so
the source list was wrong. Also, $(XML_FILES) are specified without
prefix, so compilation in sepearate build-dir was broken:

  GEN    man/index.html
Traceback (most recent call last):
  File "../make-man-index.py", line 24, in <module>
    t = parse(p)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1183, in parse
    tree.parse(source, parser)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse
    source = open(source, "rb")
IOError: [Errno 2] No such file or directory: 'man/systemd.xml'

7 years agoupdate TODO
Lennart Poettering [Fri, 20 Jul 2012 14:55:34 +0000 (16:55 +0200)]
update TODO

7 years agotmpfiles: also look in /lib/tmpfiles.d on split /usr systems
Lennart Poettering [Fri, 20 Jul 2012 14:24:55 +0000 (16:24 +0200)]
tmpfiles: also look in /lib/tmpfiles.d on split /usr systems

https://bugs.freedesktop.org/show_bug.cgi?id=38686

I don't think the usecase case in that bug makes much sense, but all the
other tools do honour /lib in the search path so we probably should do
that here, too.

7 years agoudev: path_id - export path for platform block devices
Kay Sievers [Fri, 20 Jul 2012 14:01:13 +0000 (16:01 +0200)]
udev: path_id - export path for platform block devices

Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
>
> E.g. I have a platform with two sdhci controllers with different purposes.
> First slot is an external slot while second one is internal with a
> non-removable card.
>
> When there is a card in the external slot at boot, the non-removable card is
> named 'mmcblk1'; without the external card it is 'mmcblk0'.  Vice versa for the
> external card.

https://bugs.freedesktop.org/show_bug.cgi?id=52309

7 years agobuild-sys: bump revision of libudev too v187
Lennart Poettering [Thu, 19 Jul 2012 22:40:32 +0000 (00:40 +0200)]
build-sys: bump revision of libudev too

7 years agobuild-sys: prepare 187
Lennart Poettering [Thu, 19 Jul 2012 22:38:02 +0000 (00:38 +0200)]
build-sys: prepare 187

7 years agojournalctl: fix assertion failure in ellipsize_mem()
Eelco Dolstra [Thu, 19 Jul 2012 21:12:16 +0000 (21:12 +0000)]
journalctl: fix assertion failure in ellipsize_mem()

When showing the journal through "journalctl --no-pager", if the
prefix of the log message (i.e. the date and syslog identifier) is
less than 3 characters shorter than the width of the terminal, you
get:

Assertion 'new_length >= 3' failed at src/shared/util.c:3859, function ellipsize_mem(). Aborting.

because there is not enough space for the "...".  This patch add the
necessary check.

7 years agounits: apply default resource limits to socket/mount/swap processes too
Lennart Poettering [Thu, 19 Jul 2012 22:09:35 +0000 (00:09 +0200)]
units: apply default resource limits to socket/mount/swap processes too

7 years agocore: drop KillMode parameter from KillUnit() bus call
Lennart Poettering [Thu, 19 Jul 2012 22:00:04 +0000 (00:00 +0200)]
core: drop KillMode parameter from KillUnit() bus call

It made no sense, and since we are documenting the bus calls now and
want to include them in our stability promise we really should get it
cleaned up sooner, not later.

7 years agounit: split off KillContext from ExecContext containing only kill definitions
Lennart Poettering [Thu, 19 Jul 2012 21:47:10 +0000 (23:47 +0200)]
unit: split off KillContext from ExecContext containing only kill definitions

7 years agoman: add reference to export format spec to journalctl
Lennart Poettering [Thu, 19 Jul 2012 21:39:53 +0000 (23:39 +0200)]
man: add reference to export format spec to journalctl

7 years agobuild-sys: fix variable assignment
Kay Sievers [Thu, 19 Jul 2012 21:07:23 +0000 (23:07 +0200)]
build-sys: fix variable assignment

7 years agounits: fix section of man page link in systemd-logind.service
Lennart Poettering [Thu, 19 Jul 2012 10:46:55 +0000 (12:46 +0200)]
units: fix section of man page link in systemd-logind.service

https://bugs.freedesktop.org/show_bug.cgi?id=51963

7 years agojournald: upgrade signal reception message to INFO
Lennart Poettering [Thu, 19 Jul 2012 10:41:06 +0000 (12:41 +0200)]
journald: upgrade signal reception message to INFO

7 years agoman: fix sysctl.d(5) man page copy/paste mistake
Lennart Poettering [Thu, 19 Jul 2012 10:40:17 +0000 (12:40 +0200)]
man: fix sysctl.d(5) man page copy/paste mistake

https://bugs.freedesktop.org/show_bug.cgi?id=52254

7 years agoudev: firmware - do not cancel requests in the initrd
Kay Sievers [Thu, 19 Jul 2012 10:32:24 +0000 (12:32 +0200)]
udev: firmware - do not cancel requests in the initrd

7 years agouse #pragma once instead of foo*foo #define guards
Shawn Landden [Wed, 18 Jul 2012 17:07:51 +0000 (10:07 -0700)]
use #pragma once instead of foo*foo #define guards

 #pragma once has been "un-deprecated" in gcc since 3.3, and is widely supported
in other compilers.

I've been using and maintaining (rebasing) this patch for a while now, as
it annoyed me to see #ifndef fooblahfoo, etc all over the place,
almost arrogant about the annoyance of having to define all these names to
perform a commen but neccicary functionality, when a completely superior
alternative exists.

I havn't sent it till now, cause its kindof a style change, and it is bad
voodoo to mess with style that has been established by more established
editors. So feel free to lambast me as a crazy bafoon.

v2 - preserve externally used headers

7 years agojournal: allow watching symlinked journal dirs
Lennart Poettering [Thu, 19 Jul 2012 01:22:07 +0000 (03:22 +0200)]
journal: allow watching symlinked journal dirs

7 years agojournal: when watching directories actually watch the directories asked for
Lennart Poettering [Thu, 19 Jul 2012 01:21:49 +0000 (03:21 +0200)]
journal: when watching directories actually watch the directories asked for

7 years agojournal: rotate busy files away when we try to write to them
Lennart Poettering [Thu, 19 Jul 2012 01:21:04 +0000 (03:21 +0200)]
journal: rotate busy files away when we try to write to them

7 years agojournal: follow symlinks when enumerating journals
Lennart Poettering [Thu, 19 Jul 2012 00:35:17 +0000 (02:35 +0200)]
journal: follow symlinks when enumerating journals

7 years agomanager: use a private notify sockets in containers to avoid problems with shared...
Lennart Poettering [Thu, 19 Jul 2012 00:17:50 +0000 (02:17 +0200)]
manager: use a private notify sockets in containers to avoid problems with shared abstract socket namespaces

7 years agokillall: avoid gcc warning about wait name clash
Lennart Poettering [Thu, 19 Jul 2012 00:17:11 +0000 (02:17 +0200)]
killall: avoid gcc warning about wait name clash

7 years agonspawn: generate proper error messages in the child
Lennart Poettering [Thu, 19 Jul 2012 00:03:42 +0000 (02:03 +0200)]
nspawn: generate proper error messages in the child

7 years agojournald: don't choke on journal files with no cutoff date
Lennart Poettering [Thu, 19 Jul 2012 00:03:22 +0000 (02:03 +0200)]
journald: don't choke on journal files with no cutoff date

7 years agonspawn: introduce new --link-journal= switch to link container journals into host
Lennart Poettering [Thu, 19 Jul 2012 00:02:39 +0000 (02:02 +0200)]
nspawn: introduce new --link-journal= switch to link container journals into host

7 years agojournal: remove all of /run/log/journal when serializing, since the machine ID might...
Lennart Poettering [Wed, 18 Jul 2012 14:23:26 +0000 (16:23 +0200)]
journal: remove all of /run/log/journal when serializing, since the machine ID might deviate

7 years agojournal: don't complain if the syslog forwarder socket doesn't exist
Lennart Poettering [Wed, 18 Jul 2012 14:23:06 +0000 (16:23 +0200)]
journal: don't complain if the syslog forwarder socket doesn't exist

7 years agojournal: when we suggest a rotation, explain why
Lennart Poettering [Wed, 18 Jul 2012 14:22:40 +0000 (16:22 +0200)]
journal: when we suggest a rotation, explain why

7 years agojournal: estimate data hash table size a bit larger by default
Lennart Poettering [Wed, 18 Jul 2012 14:22:25 +0000 (16:22 +0200)]
journal: estimate data hash table size a bit larger by default

7 years agojournald: fix another bad memory access
Lennart Poettering [Wed, 18 Jul 2012 11:28:36 +0000 (13:28 +0200)]
journald: fix another bad memory access

If we rotate due to header out of date we need the new journal file
object, too.

7 years agoupdate TODO
Lennart Poettering [Wed, 18 Jul 2012 11:11:28 +0000 (13:11 +0200)]
update TODO

7 years agojournald: fix bad memory access
Lennart Poettering [Wed, 18 Jul 2012 11:10:09 +0000 (13:10 +0200)]
journald: fix bad memory access

After vacuuming we need to retrieve the journal file object again, since
it might have changed.

7 years agokeymap: Add Dell Latitude force-release quirk
Rex Tsai [Wed, 18 Jul 2012 09:47:13 +0000 (11:47 +0200)]
keymap: Add Dell Latitude force-release quirk

Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7 years agoservice: don't print a warning if we are in autorestart state, and can't start a...
Lennart Poettering [Wed, 18 Jul 2012 00:42:43 +0000 (02:42 +0200)]
service: don't print a warning if we are in autorestart state, and can't start a unit just yet

7 years agounits: don't enforce a holdoff time for journald, logind, udevd
Lennart Poettering [Wed, 18 Jul 2012 00:31:52 +0000 (02:31 +0200)]
units: don't enforce a holdoff time for journald, logind, udevd

These services should be restarted as quickly as possible if they fail,
and the extra safety net of the holdoff time is not necessary.

7 years agoservice: make start jobs wait, not fail, when an automatic restart is queued
Lennart Poettering [Wed, 18 Jul 2012 00:28:08 +0000 (02:28 +0200)]
service: make start jobs wait, not fail, when an automatic restart is queued

When an automatic restart is already queued, then make subsequent start
jobs wait until the restart can be handled (i.e. after the holdhoff
time), instead of simply fail.

7 years agounit: don't serialize job state, only unit state across switch-root
Lennart Poettering [Tue, 17 Jul 2012 23:46:52 +0000 (01:46 +0200)]
unit: don't serialize job state, only unit state across switch-root

7 years agoNEWS: correct NTP implementation data
Lennart Poettering [Tue, 17 Jul 2012 23:24:39 +0000 (01:24 +0200)]
NEWS: correct NTP implementation data

7 years agobuild-sys: put all BUILT_SOURCES in CLEANFILES
Zbigniew Jędrzejewski-Szmek [Tue, 17 Jul 2012 22:41:28 +0000 (00:41 +0200)]
build-sys: put all BUILT_SOURCES in CLEANFILES

Since currently all items in BUILT_SOURCES are also in CLEANFILES,
we can reduce clutter by appending BUILT_SOURCES directly.

7 years agobuild-sys: use .DELETE_ON_ERROR
Zbigniew Jędrzejewski-Szmek [Tue, 17 Jul 2012 15:58:14 +0000 (17:58 +0200)]
build-sys: use .DELETE_ON_ERROR

All instances of "|| rm $@" are replaced with .DELETE_ON_ERROR, which
has a similar effect. One difference is that the return code is not
masked by rm return code.

.DELETE_ON_ERROR is GNU-Make specific, but -Wno-portability is already
defined, and it's unlikely that anyone would build systemd with a
shell not supporting .DELETE_ON_ERROR. If they did, then
.DELETE_ON_ERROR would be silently ignored, i.e. in the worst case a
garbage file wouldn't be deleted, which is not very serious.

7 years agoman: html - cross-ref man page references and add Index link
Kay Sievers [Tue, 17 Jul 2012 21:04:48 +0000 (23:04 +0200)]
man: html - cross-ref man page references and add Index link

7 years agoMakefile.am: fixed dependencies for man/index.html
Harald Hoyer [Tue, 17 Jul 2012 16:17:14 +0000 (18:17 +0200)]
Makefile.am: fixed dependencies for man/index.html

7 years agoswitch-root: don't wait for processes
Lennart Poettering [Tue, 17 Jul 2012 15:44:26 +0000 (17:44 +0200)]
switch-root: don't wait for processes

When we transition from the initrd to the main system, don't reap
processes, so that they can be handled normally after deserialization.

7 years agojournalctl: do not ellipsize when using pager
Zbigniew Jędrzejewski-Szmek [Tue, 17 Jul 2012 05:35:08 +0000 (07:35 +0200)]
journalctl: do not ellipsize when using pager

If a pager is used, ellipsization is redundant — the pager does
that better by hiding the part that cannot be shown. Pager's advantage
is that the user can press → to view the hidden part of a message,
and then ← to return.

7 years agologs: Adapt interface in log-show.c (show_journal_by_unit)
Zbigniew Jędrzejewski-Szmek [Tue, 17 Jul 2012 05:35:07 +0000 (07:35 +0200)]
logs: Adapt interface in log-show.c (show_journal_by_unit)

Convert more flag arguments into one flag variable.

7 years agologs: Adapt interface in log-show.c (output_journal)
Zbigniew Jędrzejewski-Szmek [Tue, 17 Jul 2012 05:35:06 +0000 (07:35 +0200)]
logs: Adapt interface in log-show.c (output_journal)

In preparation for adding more output switches, convert a series of
flags arguments into one flag variable.

7 years agoMakefile.am: MKDIR_P man for man/index.html
Harald Hoyer [Tue, 17 Jul 2012 14:39:29 +0000 (16:39 +0200)]
Makefile.am: MKDIR_P man for man/index.html

7 years agoRevert "keymap: add --version option"
Kay Sievers [Tue, 17 Jul 2012 14:39:14 +0000 (16:39 +0200)]
Revert "keymap: add --version option"

This reverts commit d8f173fd2ee9ee60affa1a4d1a89f2501977fb0b.

7 years agokeymap: add --version option
Zbigniew Jędrzejewski-Szmek [Tue, 17 Jul 2012 05:31:48 +0000 (07:31 +0200)]
keymap: add --version option

7 years agosystemd: add --version option
Zbigniew Jędrzejewski-Szmek [Tue, 17 Jul 2012 05:31:47 +0000 (07:31 +0200)]
systemd: add --version option

systemd --version mirrors systemctl --version:

$ ./systemd --version
systemd 186
other
+PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT -LIBCRYPTSETUP

This information can be retrieved by other means (systemctl, etc.),
but it's easier for a newbie if 'systemd --version' says something
useful. And 'systemd --help' is already there, so let's complement
that with '--version'.

7 years agoupdate TODO
Lennart Poettering [Tue, 17 Jul 2012 14:29:40 +0000 (16:29 +0200)]
update TODO

7 years agobuild-sys: distcheck - add seccomp*.h to SOURCES
Kay Sievers [Tue, 17 Jul 2012 14:03:50 +0000 (16:03 +0200)]
build-sys: distcheck - add seccomp*.h to SOURCES

7 years agobuild-sys: use C preprocessor for key list, too
Lennart Poettering [Tue, 17 Jul 2012 13:55:53 +0000 (15:55 +0200)]
build-sys: use C preprocessor for key list, too

7 years agoexecute: free syscall filter array after use
Lennart Poettering [Tue, 17 Jul 2012 13:55:23 +0000 (15:55 +0200)]
execute: free syscall filter array after use

7 years agogitignore: tags files
Zbigniew Jędrzejewski-Szmek [Tue, 17 Jul 2012 06:30:58 +0000 (08:30 +0200)]
gitignore: tags files

7 years agobuild-sys: automake needs to know about generated files
Zbigniew Jędrzejewski-Szmek [Tue, 17 Jul 2012 06:30:38 +0000 (08:30 +0200)]
build-sys: automake needs to know about generated files

CC     src/core/libsystemd_core_la-syscall-list.lo
src/core/syscall-list.c:31:29: fatal error: syscall-to-name.h: No such file or directory