Zbigniew Jędrzejewski-Szmek
a4e0b94d31
man: add filenames to the index
...
Limiting the addition to filenames from <refsynopsis>
seems to give a good enough S/N ratio.
2013-02-13 23:09:00 -05:00
William Giokas
895aeb2779
man: bootchart: change /var/log to /run/log
...
As of [1], bootchart stores files in /run/log, not /var/log, by default.
[1] f2f85884ca
2013-02-13 15:26:55 -08:00
Auke Kok
3e37b970b5
Add systemd-analyze to .gitignore
2013-02-13 14:51:12 -08:00
Simon Peeters
1700761b06
Move systemctl dot to systemd-analyze dot
2013-02-13 14:47:05 -08:00
Simon Peeters
2265fbf7e5
systemd-analyze: rewrite in C.
...
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-13 14:46:50 -08:00
Marc-Antoine Perennou
a38694df9c
systemctl: use parse_unit_info
...
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com >
2013-02-13 14:36:01 -08:00
Marc-Antoine Perennou
ddb88cc5b8
dbus: introduce parse_unit_info
...
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com >
2013-02-13 14:36:01 -08:00
Marc-Antoine Perennou
cdf3f17bfb
dbus: import struct unit_info from systemctl
...
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com >
2013-02-13 14:36:01 -08:00
Lennart Poettering
93eec5c774
update TODO
2013-02-13 23:08:52 +01:00
Lennart Poettering
b872e9a059
build-sys: make EFI support build-time optional
2013-02-13 23:08:25 +01:00
Lennart Poettering
46ba8aae2b
build-sys: make PolicyKit support compile-time optional (was runtime-optional already)
2013-02-13 23:08:25 +01:00
Zbigniew Jędrzejewski-Szmek
5322bdd4cc
build-sys: fix build without -Wl,--gc-sections
...
bootctl needs libsystemd-daemon.la too.
2013-02-13 16:15:20 -05:00
Lennart Poettering
9db11a99be
efi: efi_get_boot_options() should already sort the entries, the random order in the efivars fs is probably not useful
...
This also introduces a new FOREACH_DIRENT macro and makes use of it.
2013-02-13 22:02:40 +01:00
Lennart Poettering
61cc634bc2
efi: use efi_get_variable_string() instead of efi_get_variable() where we can
2013-02-13 21:24:10 +01:00
Lennart Poettering
3ac525bd75
update TODO
2013-02-13 21:20:42 +01:00
Daniel Buch
7b68d618a2
test-strv.c: Changed assert() to assert_se()
...
test-strv.c: Indent fix
2013-02-13 20:22:12 +01:00
Daniel Buch
40857008d8
test-strv.c: added strv_append test
2013-02-13 20:22:09 +01:00
Daniel Buch
343a896935
test-strv.c: added strv_merge_concat test
2013-02-13 20:22:05 +01:00
Daniel Buch
a1022300b9
test-strv.c: added strv_merge test
2013-02-13 20:21:44 +01:00
Lennart Poettering
cbb7712189
TODO
2013-02-13 19:36:09 +01:00
Lennart Poettering
ace188cf3a
selinux: use a dynamically sized string when generating audit messages
...
https://bugzilla.redhat.com/show_bug.cgi?id=883043
2013-02-13 19:36:09 +01:00
Thomas Hindoe Paaboel Andersen
090be86534
use streq instead of strcmp
2013-02-13 18:14:20 +01:00
Kay Sievers
b05105f0a8
bootctl: always show slashes not backslashes
2013-02-13 17:49:48 +01:00
Kay Sievers
4d34c4951a
efi: unify BootXXXX reading
2013-02-13 17:35:20 +01:00
Lennart Poettering
092c4c437f
Revert "log_error() if inotify_add_watch() fails"
...
This reverts commit 2826d14091 .
We never should generate log messages from a library.
2013-02-13 16:25:33 +01:00
Harald Hoyer
2826d14091
log_error() if inotify_add_watch() fails
...
[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-13 10:04:02 -05:00
Zbigniew Jędrzejewski-Szmek
f04e95ba6b
sysctl: fix uninitalized memory access in error path
...
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-13 09:55:52 -05:00
Zbigniew Jędrzejewski-Szmek
5f9cfd4c38
man: rename systemd.conf to systemd-system.conf
...
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-13 09:48:32 -05:00
William Giokas
a7f5bb1eaf
man: Make options consistent
...
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-13 08:57:20 -05:00
William Giokas
5797606612
man: Write man page for systemd-bootchart(1)
...
Mostly coppied from bootchart.conf(5)
2013-02-13 08:57:15 -05:00
Aleksander Morgado
10efe2cdbe
test-udev: include missing.h
...
We need MS_REC and MS_SHARED defined for a proper compilation, so get them from
'missing.h' if not defined already.
2013-02-13 08:45:13 -05:00
Michael Olbrich
1c00832624
ratelimit: fix off-by-one
...
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-13 08:45:13 -05:00
Zbigniew Jędrzejewski-Szmek
a3aa7ee6ff
tests: add test for continuation lines with comments
2013-02-13 01:05:28 -05:00
Zbigniew Jędrzejewski-Szmek
6fc00209d5
build-sys: disable tests in po/, docs/ with separate build dir
...
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-13 01:05:28 -05:00
William Giokas
6bb25a0582
bootchart: Fix typos and some English
...
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-13 05:03:48 +01:00
Lennart Poettering
3ef51b2ce8
man: typo fix
2013-02-13 04:57:36 +01:00
Lennart Poettering
dd359de89b
update TODO
2013-02-13 04:57:30 +01:00
Colin Walters
b0ee8068da
util: *DO NOT* loop for EINTR handling with close_nointr()
...
See the linked references for why we should not do this.
2013-02-13 04:56:28 +01:00
Lennart Poettering
2a2473d89e
boot: add stub Makefile symlink
2013-02-13 02:19:03 +01:00
Auke Kok
b1ce67bf33
TODO: bootchart items
2013-02-12 16:58:00 -08:00
Harald Hoyer
f2f85884ca
bootchart: make bootchart work from within the initrd
...
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-12 16:06:06 -08:00
Colin Walters
759c945a43
journal: Don't use loginuid if it's not valid
...
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-13 01:02:25 +01:00
Thomas Hindoe Paaboel Andersen
b43d1d01ea
util: introduce strcaseeq/strncaseeq
2013-02-13 00:56:13 +01:00
Thomas Hindoe Paaboel Andersen
641906e936
use strneq instead of strncmp
2013-02-13 00:56:13 +01:00
Auke Kok
8d61671016
Merge branch 'master' of ssh://git.freedesktop.org/git/systemd/systemd into work
2013-02-12 15:28:00 -08:00
Lennart Poettering
726c6b6b3d
efi: add missing #include
2013-02-13 00:18:29 +01:00
Oleksii Shevchuk
4a9fd066f0
manager: pass environment over daemon-reexec
...
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 >
2013-02-13 00:17:17 +01:00
Auke Kok
cd3bccaaf7
systemd-bootchart: relicense to LGPLv2.1+
...
When we merged systemd-bootchart we omitted relicensing this
to LGPL. Now that code is being used for other purposes we
need to make sure the code is shareable within systemd
without further problems.
The original committers and contributors of bootchart before it
was merged all have agreed with the relicensing.
2013-02-12 15:14:15 -08:00
Lennart Poettering
d01a73b639
update TODO
2013-02-13 00:12:58 +01:00
Lennart Poettering
9cde64ff26
efi: various cleanups
2013-02-13 00:12:58 +01:00