chiark / gitweb /
8 years agotest-env-replace: assert results instead of printing them
Thomas Hindoe Paaboel Andersen [Thu, 7 Feb 2013 20:10:31 +0000 (21:10 +0100)]
test-env-replace: assert results instead of printing them

Also code cleanup and split into functions in preparation for more tests
to come.

8 years agobuild-sys: at least for now, never link libudev against systemd's shared libraries
Kay Sievers [Thu, 7 Feb 2013 12:47:46 +0000 (13:47 +0100)]
build-sys: at least for now, never link libudev against systemd's shared libraries

8 years agobuild-sys: add libsystemd-id128 as libudev dependency
David Strauss [Thu, 7 Feb 2013 06:23:59 +0000 (01:23 -0500)]
build-sys: add libsystemd-id128 as libudev dependency

After d848b9cbfa0 'Move generic specifier functions to shared' libudev
depends (through) on  The
problem only appears when the linker does not support --gc-sections
and manifests itself as the inability to resolve sd_id128_get_machine
and other libsystemd-id128 functions, which aren't really used.

8 years agobuild-sys: restore man/index.html as link to systemd.index.html
Zbigniew Jędrzejewski-Szmek [Thu, 7 Feb 2013 06:10:21 +0000 (01:10 -0500)]
build-sys: restore man/index.html as link to systemd.index.html

It got lost in the transformation to XML generation.

8 years agoman: fix return value for sd_journal_flush_matches
Zbigniew Jędrzejewski-Szmek [Thu, 7 Feb 2013 05:53:11 +0000 (00:53 -0500)]
man: fix return value for sd_journal_flush_matches

8 years agoman: document COREDUMP_UNIT and COREDUMP_USER_UNIT
Zbigniew Jędrzejewski-Szmek [Thu, 7 Feb 2013 05:50:37 +0000 (00:50 -0500)]

Also fix formatting for kernel related fields, enabling them
to show up in the directives index.

8 years agocoredump: make use of the cleanup macros
Mirco Tischler [Tue, 5 Feb 2013 00:43:10 +0000 (01:43 +0100)]
coredump: make use of the cleanup macros

8 years agologs-show: show messages for all unit types in systemctl status
Mirco Tischler [Mon, 4 Feb 2013 14:13:24 +0000 (15:13 +0100)]
logs-show: show messages for all unit types in systemctl status

I can't find a reason why we shouldn't try to output messages for other
unit types than .service, .socket, .mount and .swap as well. It's probably
a leftover from before we started logging UNIT= from inside PID 1.

8 years agojournal: log user units for coredumps and show them in systemctl status
Mirco Tischler [Mon, 4 Feb 2013 14:13:23 +0000 (15:13 +0100)]
journal: log user units for coredumps and show them in systemctl status

8 years agonss-myhostname: copy first result to preallocated buffer
Eelco Dolstra [Mon, 4 Feb 2013 14:56:26 +0000 (15:56 +0100)]
nss-myhostname: copy first result to preallocated buffer

Fixes a segfault in nscd when using nss-myhostname.

Nscd expects that an NSS module's gethostbyname4_r function returns
its first result in the pre-allocated gaih_addrtuple denoted by **pat.
(See nscd/aicache.c in the Glibc sources.)  However, nss-myhostname
doesn't fill in **pat but allocates the first result in ‘buffer’, then
sets *pat.  So nscd crashes (e.g. when running ‘getent ahosts

Hard to tell if this is a bug in nscd, since there doesn't seem to be
a proper API spec for gethostbyname4_r.  But in any case, this patch
fixes the crash by copying the first result to **pat.

8 years agoman: describe unit load path in systemd.unit(5)
Zbigniew Jędrzejewski-Szmek [Mon, 4 Feb 2013 03:23:53 +0000 (22:23 -0500)]
man: describe unit load path in systemd.unit(5)

In other cases where multiple directories are searched for unit files,
the list of directories is described in the man page describing the
format. I think this makes sense too in case of systemd directories,
since the systemd(1) manpage already has an overview of many different

8 years agobuild-sys: substitute strings in systemd.unit(5)
Zbigniew Jędrzejewski-Szmek [Tue, 5 Feb 2013 15:31:20 +0000 (10:31 -0500)]
build-sys: substitute strings in systemd.unit(5) is updated to deal with sources.  Nothing in the
output is really changed yet, this is just preparation.

8 years agosystemd: raise level of message about lookup paths
Zbigniew Jędrzejewski-Szmek [Sat, 2 Feb 2013 15:36:11 +0000 (10:36 -0500)]
systemd: raise level of message about lookup paths

This can be pretty important for the user, and is not trivial
to figure out in all cases.

Also show failing path in error messages.

8 years agoshared: remove now unused function
Zbigniew Jędrzejewski-Szmek [Sat, 2 Feb 2013 21:12:33 +0000 (16:12 -0500)]
shared: remove now unused function

8 years agosystemd: do not remove empty paths from unit lookup path
Zbigniew Jędrzejewski-Szmek [Thu, 7 Feb 2013 03:49:19 +0000 (22:49 -0500)]
systemd: do not remove empty paths from unit lookup path

The ability to start a new unit with 'systemctl start ...' should not
depend on whether there are other units in the directory. Previously,
an additional 'systemctl daemon-reload' would be necessary to tell
systemd to update the list of unit lookup paths.

8 years agobuild-sys: create automatically
Zbigniew Jędrzejewski-Szmek [Sun, 3 Feb 2013 03:47:47 +0000 (22:47 -0500)]
build-sys: create automatically

man rules were repeating the same information in too many places,
which was error prone. Those rules can be easily generated from .xml
files. For efficiency and because python is not a required dependency, is only regenerated when requested with

  make update-man-list

If no metadata in man/*.xml changed, this file should not change. So
only when a new man page or a new alias is added, this file should
show up in 'git diff'. The change should then be committed.

If the support for building from git without python was dropped, we
could drop from version control. This would also
increase the partial build time (since more stuff would be rebuild
whenever sources in man/*.xml would be modified), so it would probably
wouldn't be worth it.

8 years agobuild-sys: split man alias rules into separate file
Zbigniew Jędrzejewski-Szmek [Sun, 3 Feb 2013 03:38:33 +0000 (22:38 -0500)]
build-sys: split man alias rules into separate file

There shouldn't be any functional change. This is an 'automake include',
so the generated Makefile is the same (apart from ordering).

8 years agobuild-sys: replace one last mkdir hook with list item
Zbigniew Jędrzejewski-Szmek [Sun, 3 Feb 2013 03:48:38 +0000 (22:48 -0500)]
build-sys: replace one last mkdir hook with list item

Previously, errors would be ignored. Now they are not. But I don't see
how we could fail to create the directory, so I don't think that it

8 years agoman: see also dracut(7) in bootup(7)
Zbigniew Jędrzejewski-Szmek [Thu, 31 Jan 2013 20:52:13 +0000 (15:52 -0500)]
man: see also dracut(7) in bootup(7)

8 years agotests: skip tests if manager cannot be created
Zbigniew Jędrzejewski-Szmek [Wed, 6 Feb 2013 22:35:53 +0000 (17:35 -0500)]
tests: skip tests if manager cannot be created

When running without a user session, tests fail.

8 years agotests: move strv_parse_nulstr to test-strv, and actually test it
Thomas Hindoe Paaboel Andersen [Wed, 6 Feb 2013 23:33:58 +0000 (00:33 +0100)]
tests: move strv_parse_nulstr to test-strv, and actually test it

The test was originally added with this commit message:
"ask-password: supported plymouth cached passwords"

8 years agostrv: add strv_print
Thomas Hindoe Paaboel Andersen [Wed, 6 Feb 2013 23:15:27 +0000 (00:15 +0100)]
strv: add strv_print

Clearer, and spares the temp variable.

8 years agotests: run manager in session mode
Zbigniew Jędrzejewski-Szmek [Wed, 6 Feb 2013 22:03:12 +0000 (17:03 -0500)]
tests: run manager in session mode

False positives pop up otherwise.

FAIL: test-unit-name (exit: 134)

Failed to open /dev/tty0: Permission denied
Failed to create root cgroup hierarchy: Permission denied
Assertion 'manager_new(SYSTEMD_SYSTEM, &m) == 0' failed at src/test/test-unit-name.c:125, function test_unit_printf(). Aborting.

8 years agotest: add a few tests and tidy up
Thomas Hindoe Paaboel Andersen [Wed, 6 Feb 2013 20:15:23 +0000 (21:15 +0100)]
test: add a few tests and tidy up

adds test of:

Splits tests of util.c into own file to avoid clutter as we add more.

Removed a few prints and uses _cleanup_free_ to make the tests more focused.

8 years agoman: remove boot up runlevel support
Umut Tezduyar [Fri, 1 Feb 2013 12:20:49 +0000 (13:20 +0100)]
man: remove boot up runlevel support

As of 3cdebc217c42c8529086f2965319b6a48eaaeabe support for
distro specific boot up runlevels has been dropped.

8 years agoupdate TODO
Lennart Poettering [Mon, 4 Feb 2013 21:27:32 +0000 (22:27 +0100)]
update TODO

8 years agoupdate TODO
Lennart Poettering [Wed, 30 Jan 2013 01:33:16 +0000 (02:33 +0100)]
update TODO

8 years agohwdb: update
Kay Sievers [Mon, 4 Feb 2013 17:55:10 +0000 (18:55 +0100)]
hwdb: update

8 years agoTODO: update
Kay Sievers [Mon, 4 Feb 2013 17:54:58 +0000 (18:54 +0100)]
TODO: update

8 years agocryptsetup: accept both "read-only" and "readonly" spellings
Michal Schmidt [Thu, 31 Jan 2013 10:03:09 +0000 (11:03 +0100)]
cryptsetup: accept both "read-only" and "readonly" spellings

Mukund Sivaraman pointed out that cryptsetup(5) mentions the "read-only"
option, while the code understands "readonly".

We could just fix the manpage, but for consistency in naming of
multi-word options it would be prettier to have "read-only". So let's
accept both spellings.


8 years agotest-strv.c: test strv_join added
Daniel Buch [Wed, 30 Jan 2013 20:45:40 +0000 (21:45 +0100)]
test-strv.c: test strv_join added

8 years agotest-strv.c: Split tests into seperate functions
Daniel Buch [Wed, 30 Jan 2013 20:36:56 +0000 (21:36 +0100)]
test-strv.c: Split tests into seperate functions

test-strv.c: Leaves main clean for additional tests

8 years agosystemctl: Fix wrong assertion test
Mauro Dreissig [Wed, 30 Jan 2013 18:55:24 +0000 (16:55 -0200)]
systemctl: Fix wrong assertion test

8 years agobuild-sys: fix empty lines
Kay Sievers [Wed, 30 Jan 2013 17:14:44 +0000 (18:14 +0100)]
build-sys: fix empty lines

8 years agobuild-sys: move HAVE_MICROHTTPD HAVE_MYHOSTNAME to their own sections
Kay Sievers [Wed, 30 Jan 2013 17:01:23 +0000 (18:01 +0100)]
build-sys: move HAVE_MICROHTTPD HAVE_MYHOSTNAME to their own sections

8 years agobuild-sys: move most of HAVE_KMOD into one section
Kay Sievers [Wed, 30 Jan 2013 16:50:55 +0000 (17:50 +0100)]
build-sys: move most of HAVE_KMOD into one section

8 years agobuild-sys: add intermediate files to CLEANFILES to fix distcheck
Kay Sievers [Wed, 30 Jan 2013 16:32:02 +0000 (17:32 +0100)]
build-sys: add intermediate files to CLEANFILES to fix distcheck

8 years agoman: time - exchange some 'colons' with 'commas'
Tom Gundersen [Wed, 30 Jan 2013 11:25:19 +0000 (12:25 +0100)]
man: time - exchange some 'colons' with 'commas'

8 years agobuild-sys: add rules for sd_journal_{get,set}_data_threshold(3)
Zbigniew Jędrzejewski-Szmek [Wed, 30 Jan 2013 04:01:01 +0000 (23:01 -0500)]
build-sys: add rules for sd_journal_{get,set}_data_threshold(3)

Fixup for 350b6a65.

8 years agoAdd a few entries to .mailmap
Zbigniew Jędrzejewski-Szmek [Wed, 30 Jan 2013 02:31:41 +0000 (21:31 -0500)]
Add a few entries to .mailmap

8 years agobuild-sys: inline two definitions which were only used in one place
Zbigniew Jędrzejewski-Szmek [Wed, 30 Jan 2013 02:18:19 +0000 (21:18 -0500)]
build-sys: inline two definitions which were only used in one place

8 years agobuild-sys: keep intermediate files
Zbigniew Jędrzejewski-Szmek [Wed, 30 Jan 2013 02:17:40 +0000 (21:17 -0500)]
build-sys: keep intermediate files

Sometimes it is useful to look at them, and they don't take
up any significant amount of space. Keeping them also avoids
the message about files being removed at the end of make

8 years agotest: some trivial fixes to test scripts
Zbigniew Jędrzejewski-Szmek [Tue, 29 Jan 2013 21:14:07 +0000 (16:14 -0500)]
test: some trivial fixes to test scripts

- fix typo
- use compiled systemd-nspawn
- drop --capability=... from systemd-nspawn invocation, is is the default now
- simplify sudo make invocations

8 years agotests: add test for unit name printing
Zbigniew Jędrzejewski-Szmek [Tue, 29 Jan 2013 20:25:36 +0000 (15:25 -0500)]
tests: add test for unit name printing

8 years agotests: compress unit name tests and add more asserts
Zbigniew Jędrzejewski-Szmek [Tue, 29 Jan 2013 19:39:32 +0000 (14:39 -0500)]
tests: compress unit name tests and add more asserts

8 years agotests: add test for install_full_printf()
Zbigniew Jędrzejewski-Szmek [Tue, 29 Jan 2013 19:39:06 +0000 (14:39 -0500)]
tests: add test for install_full_printf()

8 years agoinstall: allow %u an and %U specifiers in WantedBy/RequiredBy/Alias
Zbigniew Jędrzejewski-Szmek [Tue, 29 Jan 2013 03:34:38 +0000 (22:34 -0500)]
install: allow %u an and %U specifiers in WantedBy/RequiredBy/Alias

8 years agoinstall: allow specifiers in WantedBy/RequiredBy/Alias
Zbigniew Jędrzejewski-Szmek [Mon, 28 Jan 2013 04:11:31 +0000 (23:11 -0500)]
install: allow specifiers in WantedBy/RequiredBy/Alias

This allows one templated unit to refer to another templated unit
at installation time.


> grep WantedBy ~/.config/systemd/user/mpop@.timer

> srv disable mpop@iit.timer
rm '/home/alxchk/.config/systemd/user/'
> srv enable mpop@iit.timer
ln -s '/home/alxchk/.config/systemd/user/mpop@.timer' '/home/alxchk/.config/systemd/user/'

Based-on-patch-by: Oleksii Shevchuk <>
8 years agocore: fix %U when no User= used
Zbigniew Jędrzejewski-Szmek [Tue, 29 Jan 2013 15:32:39 +0000 (10:32 -0500)]
core: fix %U when no User= used

When the username was not explicitly specified, both %U and %u would
print the username. Make %U always print UID.

8 years agoMove generic specifier functions to shared
Zbigniew Jędrzejewski-Szmek [Mon, 28 Jan 2013 00:44:52 +0000 (19:44 -0500)]
Move generic specifier functions to shared

No functional change. This makes it possible to use them in install.c.

8 years agoinstall: automatic cleanup using local cleanup functions
Zbigniew Jędrzejewski-Szmek [Tue, 29 Jan 2013 01:33:10 +0000 (20:33 -0500)]
install: automatic cleanup using local cleanup functions

8 years agoinstall: use automatic cleanup in find_symlinks_fd()
Zbigniew Jędrzejewski-Szmek [Sun, 27 Jan 2013 20:54:00 +0000 (15:54 -0500)]
install: use automatic cleanup in find_symlinks_fd()

8 years agoshared: introduce _cleanup_set_free_free_
Zbigniew Jędrzejewski-Szmek [Tue, 29 Jan 2013 00:36:48 +0000 (19:36 -0500)]
shared: introduce _cleanup_set_free_free_

8 years agoClarify sentence
Tollef Fog Heen [Tue, 29 Jan 2013 16:57:16 +0000 (17:57 +0100)]
Clarify sentence

8 years agoman: grammar fix
Zbigniew Jędrzejewski-Szmek [Tue, 29 Jan 2013 03:10:50 +0000 (22:10 -0500)]
man: grammar fix

8 years agojournalctl: allow --lines=0 i.e. only new
Zbigniew Jędrzejewski-Szmek [Mon, 28 Jan 2013 04:53:52 +0000 (23:53 -0500)]
journalctl: allow --lines=0 i.e. only new

Makes it easier to watch just for new entries. Once scenario
is where the user starts 'journalctl -qfn0' to watch for changes
during some operation.

8 years agoTODO
Lennart Poettering [Tue, 29 Jan 2013 00:44:39 +0000 (01:44 +0100)]

8 years agoman: mention pacman at the top of the nspawn man page, too
Lennart Poettering [Tue, 29 Jan 2013 00:44:33 +0000 (01:44 +0100)]
man: mention pacman at the top of the nspawn man page, too

8 years agoupdate TODO
Lennart Poettering [Mon, 28 Jan 2013 23:36:23 +0000 (00:36 +0100)]
update TODO

8 years agokeymap: Add HP HDX 9494NR: Fix touchpad keys
Martin Pitt [Mon, 28 Jan 2013 15:21:51 +0000 (16:21 +0100)]
keymap: Add HP HDX 9494NR: Fix touchpad keys

Previous commit had them the wrong way around.

8 years agokeymap: Add HP HDX 9494NR
Martin Pitt [Mon, 28 Jan 2013 06:41:36 +0000 (07:41 +0100)]
keymap: Add HP HDX 9494NR

Add touchpad and www keys.

8 years agokeymap: Add support for the brower hotkey on the HP ProBook
Ayan George [Mon, 28 Jan 2013 06:30:01 +0000 (07:30 +0100)]
keymap: Add support for the brower hotkey on the HP ProBook

8 years agoman: add Arch Linux entry to systemd-nspawn(5)
William Giokas [Sat, 26 Jan 2013 17:15:32 +0000 (11:15 -0600)]
man: add Arch Linux entry to systemd-nspawn(5)

Archlinux has a similar tool to debbotstrap in the arch-install-scripts
package that will install to a specified directory. This is generally
used for installation, so the -d flag must be passed to tell it to
install to a non-mountpoint directory.

8 years agobuild-sys: install two more man aliases
Zbigniew Jędrzejewski-Szmek [Mon, 28 Jan 2013 02:23:27 +0000 (21:23 -0500)]
build-sys: install two more man aliases

8 years agologind: add MESSAGE_IDs to interesting events
Zbigniew Jędrzejewski-Szmek [Mon, 28 Jan 2013 02:14:14 +0000 (21:14 -0500)]
logind: add MESSAGE_IDs to interesting events

8 years agoupdate .gitignore
Kay Sievers [Mon, 28 Jan 2013 02:54:49 +0000 (03:54 +0100)]
update .gitignore

8 years agorules: there is no "ata" subsystem for ATA device
Kay Sievers [Mon, 28 Jan 2013 02:53:33 +0000 (03:53 +0100)]
rules: there is no "ata" subsystem for ATA device

8 years agoTODO: update
Kay Sievers [Sun, 27 Jan 2013 21:59:01 +0000 (22:59 +0100)]
TODO: update

8 years agoudev: set default rules permissions only at "add" events
Kay Sievers [Sun, 27 Jan 2013 20:46:36 +0000 (21:46 +0100)]
udev: set default rules permissions only at "add" events

8 years agomake-directive-index: use original XML as index entries
Zbigniew Jędrzejewski-Szmek [Sat, 26 Jan 2013 16:27:35 +0000 (11:27 -0500)]
make-directive-index: use original XML as index entries

udev(7) fields are now display in whole, which looks
much better.

8 years agoman: extend systemd.directives(7) to all manual pages
Zbigniew Jędrzejewski-Szmek [Sat, 26 Jan 2013 15:47:16 +0000 (10:47 -0500)]
man: extend systemd.directives(7) to all manual pages

New sections are added: PAM options, crypttab options, commandline
options, miscellaneous. The last category will be used for all
untagged <varname> elements.

Commandline options sections is meant to be a developer tool: when
adding an option it is sometimes useful to be able to check if
similarly named options exist elsewhere.

8 years agoman: docbook consitency fixes
Zbigniew Jędrzejewski-Szmek [Sat, 26 Jan 2013 15:45:37 +0000 (10:45 -0500)]
man: docbook consitency fixes

Use proper (or at least more proper) docbook tags for various
fields. This should help with automatic parsing of the documentation.

8 years agoman: mention that PrivateTmp means /var/tmp too
Zbigniew Jędrzejewski-Szmek [Fri, 25 Jan 2013 19:25:43 +0000 (14:25 -0500)]
man: mention that PrivateTmp means /var/tmp too

8 years agotmpfiles: exclude /var/tmp/systemd-private-* too
Zbigniew Jędrzejewski-Szmek [Fri, 25 Jan 2013 19:25:20 +0000 (14:25 -0500)]
tmpfiles: exclude /var/tmp/systemd-private-* too

8 years agocore: unify kill code of mount, service, socket, swap units
Lennart Poettering [Sat, 26 Jan 2013 04:53:30 +0000 (05:53 +0100)]
core: unify kill code of mount, service, socket, swap units

8 years agonspawn: assume stdout is always writable if it does not support epoll
Michal Schmidt [Fri, 25 Jan 2013 23:16:13 +0000 (00:16 +0100)]
nspawn: assume stdout is always writable if it does not support epoll

stdout can be redirected to a regular file. Regular files don't support epoll.
nspawn failed with: "Failed to register fds in epoll: Operation not permitted".

If stdout does not support epoll, assume it's always writable.

8 years agojob: fix merging with --ignore-dependencies
Michal Schmidt [Fri, 25 Jan 2013 18:54:21 +0000 (19:54 +0100)]
job: fix merging with --ignore-dependencies

This fixes a bug where a job with --ignore-dependencies would wait for
other jobs because it merged into a previously queued job.

8 years agotest: add test for jobs
Michal Schmidt [Fri, 25 Jan 2013 19:10:00 +0000 (20:10 +0100)]
test: add test for jobs

Add a test case for job merging with --ignore-dependencies. is copied from TEST-01-*, only lightly modified (this
should be refactored better in the future). is the core of this test.

8 years agotest: factor out, end.service
Michal Schmidt [Fri, 25 Jan 2013 21:19:19 +0000 (22:19 +0100)]
test: factor out, end.service

Tests can use the same
Add end.service to call poweroff instead of doing it from ExecStopPost
where it may be skipped on failure of ExecStart.

8 years agotest: use non-blocking systemctl calls in testsuite.service
Michal Schmidt [Fri, 25 Jan 2013 18:49:19 +0000 (19:49 +0100)]
test: use non-blocking systemctl calls in testsuite.service

"systemctl poweroff" called from testsuite.service will cause this unit
itself to stop. To avoid deadlock, the call must not be synchronous.

8 years agoreorganize TODO
Lennart Poettering [Fri, 25 Jan 2013 20:11:59 +0000 (21:11 +0100)]
reorganize TODO

8 years agotmpfiles: exclude /tmp/systemd-private-* from cleanup
Zbigniew Jędrzejewski-Szmek [Fri, 25 Jan 2013 16:42:59 +0000 (17:42 +0100)]
tmpfiles: exclude /tmp/systemd-private-* from cleanup

Should fix

8 years agotmpfiles: introduce type X
Michal Sekletar [Fri, 18 Jan 2013 15:13:08 +0000 (16:13 +0100)]
tmpfiles: introduce type X

Type X will exclude path itself from clean-up. However, if the path is a
directory systemd-tmpfiles will clean-up its content.

In contrast to type x, where path is ignored completely, type X needs some
Age parameter. In order to determine Age parameter, we will look for config
entries of type d or D and pick the best match.  Best match is either
exact match or longest prefix match.

8 years agoAdd _cleanup_pclose_ and fix mismatching pipe close opened by popen()
Zbigniew Jędrzejewski-Szmek [Fri, 25 Jan 2013 15:33:07 +0000 (10:33 -0500)]
Add _cleanup_pclose_ and fix mismatching pipe close opened by popen()

Based-on-patch-by: Thomas Jarosch <>
cppcheck reported:
[src/bootchart/svg.c:791]: (error) Mismatching allocation and deallocation: f

8 years agologind: rework delay inhibition logic
Lennart Poettering [Fri, 25 Jan 2013 05:30:23 +0000 (06:30 +0100)]
logind: rework delay inhibition logic

- Don't allow any locks to be taken while we are in the process of
  executing the specific operation, so that apps are not surprised if a
  suspend/shutdown happens while they rely on their inhibitor.

- Get rid of the Resumed signal, it was a bad idea, and redundant due to
  PrepareForSleep(false), see below.

- Always send out PrepareFor{Shutdown,Sleep} signals, instead of only if
  a delay lock is taken.

- Move PrepareForSleep(false) after we come back from the suspend, so
  that apps can use this as "Resumed" notification. This also has the
  benefit that apps know when to take a new lock.

8 years agologinctl: don't show [UACCESS] info in device tree
Lennart Poettering [Fri, 25 Jan 2013 03:48:34 +0000 (04:48 +0100)]
loginctl: don't show [UACCESS] info in device tree

As the tree doesn't really necessarily show all device node devices and
only those are marked for uaccess it's kinda pointless showing this at
all, since it would give a pretty incomplete impression of the uaccess

8 years agoupdate TODO
Lennart Poettering [Fri, 25 Jan 2013 02:09:41 +0000 (03:09 +0100)]
update TODO

8 years agoupdate TODO
Lennart Poettering [Fri, 25 Jan 2013 02:07:24 +0000 (03:07 +0100)]
update TODO

8 years agoselinux: we don't need that many debug messages by default
Lennart Poettering [Fri, 25 Jan 2013 02:05:08 +0000 (03:05 +0100)]
selinux: we don't need that many debug messages by default

8 years agoselinux-access: Delete debugging message logged as an error
Colin Walters [Thu, 24 Jan 2013 22:47:45 +0000 (17:47 -0500)]
selinux-access: Delete debugging message logged as an error

I don't see why this should be logged at all, so let's delete it.

8 years agoman: mention /proc/self/mountinfo in systemd.mount(5)
Zbigniew Jędrzejewski-Szmek [Fri, 25 Jan 2013 00:59:33 +0000 (19:59 -0500)]
man: mention /proc/self/mountinfo in systemd.mount(5)

8 years agoman: systemd.exec - explicit Environment assignment
Frederic Crozat [Thu, 24 Jan 2013 17:06:00 +0000 (18:06 +0100)]
man: systemd.exec - explicit Environment assignment

Hi all,

while working on another bug, I discovered the "strange" way systemd is
parsing Environment= in .service and thought it was worth documenting
(because I don't expect people to find this syntax by themselves unless
they read the parsing code ;)

Be more verbose about using space in Environment field and not
using value of other variables


[zj: expand and reformat the example a bit]

8 years agocore: Set source for mountinfo .mount units
Umut Tezduyar [Wed, 23 Jan 2013 08:23:49 +0000 (09:23 +0100)]
core: Set source for mountinfo .mount units

8 years agoservice: make sure the watchdog timer is not restarted while stopping
Michael Olbrich [Wed, 23 Jan 2013 13:12:16 +0000 (14:12 +0100)]
service: make sure the watchdog timer is not restarted while stopping

A watchdog notification may be handled after the watchdog timer was stopped
while stopping the service. As a result the timer is restarted and the
service may be restarted as well.
The watchdog timestamp is initially set during startup in
service_enter_start_post() and cleared when the timer is stopped. Therefore
it can be used as an indication if the timer should be reset.

8 years agoservice: really stop watchdog timer when stopping
Michael Olbrich [Wed, 23 Jan 2013 13:12:15 +0000 (14:12 +0100)]
service: really stop watchdog timer when stopping

For services without ExecStop= the state SERVICE_STOP is never entered. as
a result the watchdog timer is not stopped and the service is restarted (if
it is configuered to restart).
Stopping the watchdog timer for SERVICE_STOP_SIGTERM as well fixes this.

8 years agobuild-sys: add silent rules for gperf generation
Zbigniew Jędrzejewski-Szmek [Thu, 24 Jan 2013 03:30:12 +0000 (22:30 -0500)]
build-sys: add silent rules for gperf generation

8 years agobuild-sys: add silent rules for xslt processing
Zbigniew Jędrzejewski-Szmek [Thu, 24 Jan 2013 03:26:43 +0000 (22:26 -0500)]
build-sys: add silent rules for xslt processing

8 years agobuild-sys: add silent rule for m4 processing
Zbigniew Jędrzejewski-Szmek [Thu, 24 Jan 2013 03:20:23 +0000 (22:20 -0500)]
build-sys: add silent rule for m4 processing

Using custom prefixes makes the whole build process a bit more

8 years agobuild-sys: link runlevel targets on install only if sysv compat is enabled
Zbigniew Jędrzejewski-Szmek [Thu, 24 Jan 2013 02:41:30 +0000 (21:41 -0500)]
build-sys: link runlevel targets on install only if sysv compat is enabled

8 years agobuild-sys: add variables to collect unit aliases
Zbigniew Jędrzejewski-Szmek [Wed, 23 Jan 2013 04:51:51 +0000 (23:51 -0500)]
build-sys: add variables to collect unit aliases