summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-02-07build-sys: restore man/index.html as link to systemd.index.htmlZbigniew Jędrzejewski-Szmek
It got lost in the transformation to XML generation.
2013-02-07man: fix return value for sd_journal_flush_matchesZbigniew Jędrzejewski-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=60133
2013-02-07man: document COREDUMP_UNIT and COREDUMP_USER_UNITZbigniew Jędrzejewski-Szmek
Also fix formatting for kernel related fields, enabling them to show up in the directives index.
2013-02-07coredump: make use of the cleanup macrosMirco Tischler
2013-02-07logs-show: show messages for all unit types in systemctl statusMirco Tischler
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.
2013-02-07journal: log user units for coredumps and show them in systemctl statusMirco Tischler
2013-02-07nss-myhostname: copy first result to preallocated bufferEelco Dolstra
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 my-machine’). 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.
2013-02-07man: describe unit load path in systemd.unit(5)Zbigniew Jędrzejewski-Szmek
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 topics.
2013-02-06build-sys: substitute strings in systemd.unit(5)Zbigniew Jędrzejewski-Szmek
Makefile.am is updated to deal with .xml.in sources. Nothing in the output is really changed yet, this is just preparation.
2013-02-06systemd: raise level of message about lookup pathsZbigniew Jędrzejewski-Szmek
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.
2013-02-06shared: remove now unused functionZbigniew Jędrzejewski-Szmek
2013-02-06systemd: do not remove empty paths from unit lookup pathZbigniew Jędrzejewski-Szmek
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.
2013-02-06build-sys: create Makefile-man.am automaticallyZbigniew Jędrzejewski-Szmek
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, Makefile-man.am 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 Makefile-man.am 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.
2013-02-06build-sys: split man alias rules into separate fileZbigniew Jędrzejewski-Szmek
There shouldn't be any functional change. This is an 'automake include', so the generated Makefile is the same (apart from ordering).
2013-02-06build-sys: replace one last mkdir hook with list itemZbigniew Jędrzejewski-Szmek
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 matters.
2013-02-06man: see also dracut(7) in bootup(7)Zbigniew Jędrzejewski-Szmek
2013-02-06tests: skip tests if manager cannot be createdZbigniew Jędrzejewski-Szmek
When running without a user session, tests fail.
2013-02-07tests: move strv_parse_nulstr to test-strv, and actually test itThomas Hindoe Paaboel Andersen
The test was originally added with this commit message: "ask-password: supported plymouth cached passwords"
2013-02-07strv: add strv_printThomas Hindoe Paaboel Andersen
Clearer, and spares the temp variable.
2013-02-06tests: run manager in session modeZbigniew Jędrzejewski-Szmek
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.
2013-02-06test: add a few tests and tidy upThomas Hindoe Paaboel Andersen
adds test of: strv_find strv_find_prefix strv_overlap strv_sort streq_ptr first_word 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.
2013-02-04man: remove boot up runlevel supportUmut Tezduyar
As of 3cdebc217c42c8529086f2965319b6a48eaaeabe support for distro specific boot up runlevels has been dropped.
2013-02-04update TODOLennart Poettering
2013-02-04update TODOLennart Poettering
2013-02-04hwdb: updateKay Sievers
2013-02-04TODO: updateKay Sievers
2013-01-31cryptsetup: accept both "read-only" and "readonly" spellingsMichal Schmidt
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. BZ: https://bugzilla.redhat.com/show_bug.cgi?id=903463
2013-01-30test-strv.c: test strv_join addedDaniel Buch
2013-01-30test-strv.c: Split tests into seperate functionsDaniel Buch
test-strv.c: Leaves main clean for additional tests
2013-01-30systemctl: Fix wrong assertion testMauro Dreissig
2013-01-30build-sys: fix empty linesKay Sievers
2013-01-30build-sys: move HAVE_MICROHTTPD HAVE_MYHOSTNAME to their own sectionsKay Sievers
2013-01-30build-sys: move most of HAVE_KMOD into one sectionKay Sievers
2013-01-30build-sys: add intermediate files to CLEANFILES to fix distcheckKay Sievers
2013-01-30man: time - exchange some 'colons' with 'commas'Tom Gundersen
2013-01-29build-sys: add rules for sd_journal_{get,set}_data_threshold(3)Zbigniew Jędrzejewski-Szmek
Fixup for 350b6a65.
2013-01-29Add a few entries to .mailmapZbigniew Jędrzejewski-Szmek
2013-01-29build-sys: inline two definitions which were only used in one placeZbigniew Jędrzejewski-Szmek
2013-01-29build-sys: keep intermediate filesZbigniew Jędrzejewski-Szmek
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 run.
2013-01-29test: some trivial fixes to test scriptsZbigniew Jędrzejewski-Szmek
- fix typo - use compiled systemd-nspawn - drop --capability=... from systemd-nspawn invocation, is is the default now - simplify sudo make invocations
2013-01-29tests: add test for unit name printingZbigniew Jędrzejewski-Szmek
2013-01-29tests: compress unit name tests and add more assertsZbigniew Jędrzejewski-Szmek
2013-01-29tests: add test for install_full_printf()Zbigniew Jędrzejewski-Szmek
2013-01-29install: allow %u an and %U specifiers in WantedBy/RequiredBy/AliasZbigniew Jędrzejewski-Szmek
2013-01-29install: allow specifiers in WantedBy/RequiredBy/AliasZbigniew Jędrzejewski-Szmek
This allows one templated unit to refer to another templated unit at installation time. Examples: > grep WantedBy ~/.config/systemd/user/mpop@.timer WantedBy=services@%i.target > srv disable mpop@iit.timer rm '/home/alxchk/.config/systemd/user/services@iit.target.wants/mpop@iit.timer' > srv enable mpop@iit.timer ln -s '/home/alxchk/.config/systemd/user/mpop@.timer' '/home/alxchk/.config/systemd/user/services@iit.target.wants/mpop@iit.timer' Based-on-patch-by: Oleksii Shevchuk <alxchk@gmail.com>
2013-01-29core: fix %U when no User= usedZbigniew Jędrzejewski-Szmek
When the username was not explicitly specified, both %U and %u would print the username. Make %U always print UID.
2013-01-29Move generic specifier functions to sharedZbigniew Jędrzejewski-Szmek
No functional change. This makes it possible to use them in install.c.
2013-01-29install: automatic cleanup using local cleanup functionsZbigniew Jędrzejewski-Szmek
2013-01-29install: use automatic cleanup in find_symlinks_fd()Zbigniew Jędrzejewski-Szmek
2013-01-29shared: introduce _cleanup_set_free_free_Zbigniew Jędrzejewski-Szmek