summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-02-14honor SELinux labels, when creating and writing config filesHarald Hoyer57-377/+580
Also split out some fileio functions to fileio.c and provide a SELinux aware pendant in fileio-label.c see https://bugzilla.redhat.com/show_bug.cgi?id=881577
2013-02-13bootchart itemsAuke Kok1-0/+2
2013-02-13man: use <replaceable> in various placesZbigniew Jędrzejewski-Szmek18-30/+26
2013-02-13man: add filenames to the indexZbigniew Jędrzejewski-Szmek1-1/+31
Limiting the addition to filenames from <refsynopsis> seems to give a good enough S/N ratio.
2013-02-13man: bootchart: change /var/log to /run/logWilliam Giokas5-5/+5
As of [1], bootchart stores files in /run/log, not /var/log, by default. [1] f2f85884caac671da84256acb44148df9a4dca70
2013-02-13Add systemd-analyze to .gitignoreAuke Kok1-0/+1
2013-02-13Move systemctl dot to systemd-analyze dotSimon Peeters7-247/+230
2013-02-13systemd-analyze: rewrite in C.Simon Peeters3-339/+634
Written by Peeters Simon <peeters.simon@gmail.com>. Makefile stuff and cleaned up a bit by Auke Kok <auke-jan.h.kok@intel.com>. Some code inspired by Marc-Antoine Perennou <Marc-Antoine@Perennou.com>.
2013-02-13systemctl: use parse_unit_infoMarc-Antoine Perennou1-42/+12
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2013-02-13dbus: introduce parse_unit_infoMarc-Antoine Perennou2-0/+30
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2013-02-13dbus: import struct unit_info from systemctlMarc-Antoine Perennou2-13/+13
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2013-02-13update TODOLennart Poettering1-3/+0
2013-02-13build-sys: make EFI support build-time optionalLennart Poettering5-4/+32
2013-02-13build-sys: make PolicyKit support compile-time optional (was ↵Lennart Poettering5-2/+36
runtime-optional already)
2013-02-13build-sys: fix build without -Wl,--gc-sectionsZbigniew Jędrzejewski-Szmek1-1/+2
bootctl needs libsystemd-daemon.la too.
2013-02-13efi: efi_get_boot_options() should already sort the entries, the random ↵Lennart Poettering3-8/+36
order in the efivars fs is probably not useful This also introduces a new FOREACH_DIRENT macro and makes use of it.
2013-02-13efi: use efi_get_variable_string() instead of efi_get_variable() where we canLennart Poettering1-14/+2
2013-02-13update TODOLennart Poettering1-0/+2
2013-02-13test-strv.c: Changed assert() to assert_se()Daniel Buch1-48/+48
test-strv.c: Indent fix
2013-02-13test-strv.c: added strv_append testDaniel Buch1-0/+14
2013-02-13test-strv.c: added strv_merge_concat testDaniel Buch1-0/+15
2013-02-13test-strv.c: added strv_merge testDaniel Buch1-0/+19
2013-02-13TODOLennart Poettering1-0/+4
2013-02-13selinux: use a dynamically sized string when generating audit messagesLennart Poettering1-4/+9
https://bugzilla.redhat.com/show_bug.cgi?id=883043
2013-02-13use streq instead of strcmpThomas Hindoe Paaboel Andersen22-66/+66
2013-02-13bootctl: always show slashes not backslashesKay Sievers1-1/+14
2013-02-13efi: unify BootXXXX readingKay Sievers3-28/+32
2013-02-13Revert "log_error() if inotify_add_watch() fails"Lennart Poettering5-8/+1
This reverts commit 2826d14091e43ed3397d862dee79d09d0115c84e. We never should generate log messages from a library.
2013-02-13log_error() if inotify_add_watch() failsHarald Hoyer5-1/+8
[zj: Reworded message s/to watch/to add watch on/ to make it clear that it was the watch init action that failed, and not the "process of watching". I think this way it'll be clearer to people who don't know what inotify does.]
2013-02-13sysctl: fix uninitalized memory access in error pathZbigniew Jędrzejewski-Szmek1-1/+2
src/sysctl/sysctl.c: In function ‘parse_file’: src/sysctl/sysctl.c:172:41: warning: ‘property’ may be used uninitialized in this function [-Wmaybe-uninitialized]
2013-02-13man: rename systemd.conf to systemd-system.confZbigniew Jędrzejewski-Szmek10-19/+22
Alias as systemd-user.conf is also provided. This should help users running systemd in session mode. https://bugzilla.redhat.com/show_bug.cgi?id=690868
2013-02-13man: Make options consistentWilliam Giokas9-38/+38
Option listings seemed to be pretty much random, some were short opt, long opt, others were long opt, short opt. This just makes every option with a short and long opt that I could find in the order short opt, long opt, for formatting's sake.
2013-02-13man: Write man page for systemd-bootchart(1)William Giokas1-3/+89
Mostly coppied from bootchart.conf(5)
2013-02-13test-udev: include missing.hAleksander Morgado1-0/+1
We need MS_REC and MS_SHARED defined for a proper compilation, so get them from 'missing.h' if not defined already.
2013-02-13ratelimit: fix off-by-oneMichael Olbrich1-1/+1
The current code might make sense during startup for service restart limiting: With burst=1 after starting num is 1, so the next ('first') restart is still accepted ( 1 <= 1). However, once interval has expired, num is 1 after the first restart, so the second restart is also accepted. This change is also useful in combination with watchdogs: With burst=1 and a very large interval the system can be restarted on the first failure.
2013-02-13tests: add test for continuation lines with commentsZbigniew Jędrzejewski-Szmek1-0/+21
2013-02-13build-sys: disable tests in po/, docs/ with separate build dirZbigniew Jędrzejewski-Szmek3-4/+15
Both gtk-doc and intltoolize have problems with VPATH builds. "Creatively" disable tests when configuring from outside the source directory. This more-or-less reverts 9795da43c.
2013-02-13bootchart: Fix typos and some EnglishWilliam Giokas2-4/+4
bootchart.conf: direct users to `bootchart.conf(5)`, not a nonexistent man page. svg.c: Fix some English in the svg comment header. * Chrome/Chromium => Chrome, Chromium * firefox => Firefox * much more slow => more slowly
2013-02-13man: typo fixLennart Poettering1-1/+1
2013-02-13update TODOLennart Poettering1-0/+5
2013-02-13util: *DO NOT* loop for EINTR handling with close_nointr()Colin Walters1-10/+17
See the linked references for why we should not do this.
2013-02-13boot: add stub Makefile symlinkLennart Poettering1-0/+1
2013-02-12TODO: bootchart itemsAuke Kok1-0/+4
2013-02-12bootchart: make bootchart work from within the initrdHarald Hoyer2-30/+46
With this patch, bootchart can be started from within the initramfs via the kernel command line "rdinit=/usr/lib/systemd/systemd-bootchart" see: http://harald.fedorapeople.org/downloads/bootchart-20130207-1652.svg
2013-02-13journal: Don't use loginuid if it's not validColin Walters1-5/+13
Code above this attempted to load loginuid, if this failed for whatever reason, we'd still end up using that value (0) in place of realuid. Fix this by setting a bool when we know the loginuid is valid. This fixes journal messages showing up in per-user journals in gnome-ostree (not configured with loginuid, but I'll shortly fix that).
2013-02-13util: introduce strcaseeq/strncaseeqThomas Hindoe Paaboel Andersen4-9/+11
2013-02-13use strneq instead of strncmpThomas Hindoe Paaboel Andersen15-38/+38
2013-02-12Merge branch 'master' of ssh://git.freedesktop.org/git/systemd/systemd into workAuke Kok9-52/+155
2013-02-13efi: add missing #includeLennart Poettering1-0/+1
2013-02-13manager: pass environment over daemon-reexecOleksii Shevchuk1-1/+28
Fixes this bug: alxchk > systemctl --user set-environment A=B alxchk > systemctl --user show-environment | grep ^A= A=B alxchk > systemctl --user daemon-reexec alxchk > systemctl --user show-environment | grep ^A= alxchk >