summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-09man: use lxml for faster generation and pretty printingZbigniew Jędrzejewski-Szmek
2013-03-09build-sys: generate links for html alias pagesZbigniew Jędrzejewski-Szmek
2013-03-09build-sys: assemble HTML in docs/htmlZbigniew Jędrzejewski-Szmek
The goal is to be able to preview how the documenation will look when uploaded. Just point your browser at docs/html/man/index.html.
2013-03-09build-sys: clean up make cleanZbigniew Jędrzejewski-Szmek
2013-03-09build-sys: fix distcheckZbigniew Jędrzejewski-Szmek
2013-03-09build-sys: don't hard-code binary paths in initrd-*.serviceMichael Biebl
Instead use @bindir@ for udevadm and @rootbindir@ for systemctl.
2013-03-08analyze: use defines where we don't need static variablesLennart Poettering
2013-03-08analyze: by now, systemd-analyze is hardly all my workLennart Poettering
2013-03-08analyze: various cleanupsLennart Poettering
Update systemd-analyze to follow the coding style of the other tools more closely. Also, update the CODING_STYLE to document this for future additions. Changes: - Always use usec_t for time units, so that we always use the same types everywhere, and format times the same way as everywhere else. - Add "static" to global variables - Make sure we can always distuingish OOM and other errors: ensure we always return useful error codes from all functions. - Always free unit_times array
2013-03-08update TODOLennart Poettering
2013-03-08update TODOLennart Poettering
2013-03-08journal: allow priority 0 in stdout streamMichal Schmidt
Priority 0 is acceptable (it's LOG_EMERG). BTW, I'm not sure why we allow priorities up to 999, but I'm leaving this be for now. http://lists.freedesktop.org/archives/systemd-devel/2013-March/009510.html
2013-03-08util: fix printing of welcome messageMichal Schmidt
Commit 984a2be4 failed to adjust this caller of status_printf().
2013-03-08path: avoid an allocation in path_spec_watchMichal Schmidt
No need for strdup. We can slice the path in place if we always undo it afterwards.
2013-03-08shared: inline trivial auto-cleanup functionsMichal Schmidt
2013-03-08shared: remove pointless checks in auto-cleanup functionsMichal Schmidt
The argument given to the __attribute__((cleanup)) functions is the address of the variable that's going out of scope. It cannot be NULL. The "if (!s)" check in set_freep() is pointless. Perhaps "if (!*s)" was intented. But that's pointless too, because set_free()/set_free_free() are OK to call with a NULL argument (just like free()). Setting "*s = NULL" is pointless, because the variable that s points to is about to go out of scope. The same holds for strv_freep().
2013-03-08update TODOLennart Poettering
2013-03-07test-util: add more testsThomas Hindoe Paaboel Andersen
Improve test coverage a bit with tests for close_many strappend (to cover all ways through strnappend)
2013-03-07core: if we cannot JOB_ISOLATE the default target JOB_REPLACE it insteadsystemd/v198Lennart Poettering
In order to maintain compatibility with older initrds which do not have AllowIsolate=yes set for their target units, fallback to JOB_REPLACE if JOB_ISOLATE doesn't work, but complain about it.
2013-03-07build-sys: bump release and sonamesLennart Poettering
2013-03-07journalctl: imply -n1000 when -e is usedLennart Poettering
Make sure the pager does not have to buffer an unbounded number of log messages, by default.
2013-03-07update TODOLennart Poettering
2013-03-07pager: add -M to $LESS to make the bottom line nicerLennart Poettering
2013-03-07Revert "bootchart: use _cleanup_close_"Zbigniew Jędrzejewski-Szmek
This reverts commit 0ea9530d401827e299c6e04a433e69a7a2a89d80. attribute(cleanup) can only be used inside functions (*of, sysfd are leaked). Cleanup functions are only called once when exiting scope (*f is leaked twice).
2013-03-07systemd-python: fix segfault on double closeZbigniew Jędrzejewski-Szmek
2013-03-07systemd-python: fix typosZbigniew Jędrzejewski-Szmek
2013-03-07man/*.html: link to directives, python, guvev, libudev in headersZbigniew Jędrzejewski-Szmek
Since the HTML files are in different directories during build and on fd.o, links are broken in the build directory. This could be fixed by moving stuff around, or by modifying the files during upload, but I think that people do not usually create HTML files for local browsing, and this is not necessary.
2013-03-07build-sys: move sphinx output to docs/python-systemdZbigniew Jędrzejewski-Szmek
And on fd.o it goes into a dir parallel to man/.
2013-03-07pager: always override LESSLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=868383 Primary reason to do this is to ensure "-e" works as intended, and is not ignored because the user set his own LESS variable.
2013-03-07Update NEWSLennart Poettering
2013-03-07pager: introduce "jump to end" optionHarald Hoyer
$ journalctl -be is what you want :) https://bugzilla.redhat.com/show_bug.cgi?id=867841
2013-03-07update NEWSLennart Poettering
2013-03-07NEWS: updateKay Sievers
<mbiebl> "this allows resetting" <- I was told this is not correct English, too: "this allows one to reset" <notting> "adds the ability to reset"?
2013-03-07<mbiebl> poettering: small typo in the NEWS file: directory systems looks ↵Kay Sievers
for <- systemd <mbiebl> the sentence reads a bit strange "looks for units in" <mbiebl> " by assigning the empty strings to them" <- an empty string or the empty string <mbiebl> "this allows resetting" <- I was told this is not correct English, too: "this allows one to reset"
2013-03-07update TODOLennart Poettering
2013-03-07update NEWSLennart Poettering
2013-03-07bootchart: use _cleanup_close_Nathaniel Chen
use _cleanup_{close_,fclose_} to close streams and file descriptors
2013-03-07core: mount and initialize SmackNathaniel Chen
SMACK is the Simple Mandatory Access Control Kernel, a minimal approach to Access Control implemented as a kernel LSM. The kernel exposes the smackfs filesystem API through which access rules can be loaded. At boot time, we want to load the access rules as early as possible to ensure all early boot steps are checked by Smack. This patch mounts smackfs at the new location at /sys/fs/smackfs for kernels 3.8 and above. The /smack mountpoint is not supported. After mounting smackfs, rules are loaded from the usual location. For more information about Smack see: http://www.kernel.org/doc/Documentation/security/Smack.txt
2013-03-07core: move mount_setup_early() to main.cNathaniel Chen
move mount_setup_early() call to main.c, before security module setup, so there are no more repeat calls.
2013-03-07NEWS: updateKay Sievers
2013-03-07TODO: updateKay Sievers
2013-03-07update NEWSLennart Poettering
2013-03-07hwdb: updateKay Sievers
2013-03-07build-sys: check if manpage ids match file namesZbigniew Jędrzejewski-Szmek
Commit ed1553a fixed current errors, but this error is easy to make. A wrong id messes up the indexes and linking, so it is better to catch this automatically.
2013-03-07TODO: python stuff and freeze and standbyZbigniew Jędrzejewski-Szmek
2013-03-07core: don't complain about systemd.journald.xxx kernel command line ↵Lennart Poettering
arguments in PID 1 https://bugzilla.redhat.com/show_bug.cgi?id=880025
2013-03-07systemd-python: update documentation for new systemd-journal groupZbigniew Jędrzejewski-Szmek
2013-03-07systemd-python: refuse path and flags together in __init__Zbigniew Jędrzejewski-Szmek
It's better to explictly check, instead of just documenting it. The return value from init is changed from 1 to -1 on error. Python seems to ignore 1 every second time. Looks like a bug in Python, but the return value doesn't seem to be documented anywhere, and -1 works as expected... so let's just use that.
2013-03-07build-sys: force creation of symlinkZbigniew Jędrzejewski-Szmek
For some reason make sometimes wants to rerun this, and ln would refuse to recreate the link.
2013-03-07logind: don't hit an assert if an close() on an input device fd fails with ↵Lennart Poettering
ENODEV because the device is gone https://bugzilla.redhat.com/show_bug.cgi?id=907890