summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-07-16tests: add more tests for shared/util.cThomas Hindoe Paaboel Andersen
2013-07-14journalctl: add --force option to recreate FSSShawn Landden
2013-07-14systemd: fix NULL dereference when disabling a nonexistent instanceZbigniew Jędrzejewski-Szmek
Assertion 'p' failed at src/shared/path-util.c:51, function path_get_file_name(). Aborting. The unit file could not be found, and i->path would not be set. In 02b9e969 a code path was added which attempts to remove symlinks to a nonexistent (removed) unit file. This worked OK in case of non-instance services, but broke in the case of instance services. Behaviour wrt. to instance units is changed in the way that 02b9e969 changed it for non-instance units: it is now possible to remove instance symlinks to a template unit that has been removed. This patch isn't a full fix, because the behaviour wrt. to enabling and disabling instance units is still broken: e.g it is possible to start autovt@tty5.service, but it is not possible to enable it, because autovt@.service is a symlink, and on the other hand, disabling getty@tty5.service removes all symlinks to getty@.service, which is wrong too. But segfaults make bad pr, so let's add at least this partial fix for now.
2013-07-15hwdb: keyboard updateKay Sievers
2013-07-15hwdb: import dataKay Sievers
2013-07-13man: tweak WantedBy=/RequiredBy= description a bitZbigniew Jędrzejewski-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=55663
2013-07-13test: add trivial test for syscall table and extend table tests to error pathsZbigniew Jędrzejewski-Szmek
2013-07-13Add test coverage and generate report with lcovThomas H.P. Andersen
Enable coverage with --enable-coverage. "make coverage" will create the report locally, "make coverage-sync" will upload the report to http://www.freedesktop.org/software/systemd/coverage/. Requires lcov version 1.10 to handle naming in systemd and to use the --no-external option. [zj: make the coverage at least generate something with separate build dir, simplify rules a bit: all errors are mine. ]
2013-07-13units: do not special-case getty@tty1.service installationZbigniew Jędrzejewski-Szmek
Since a long while we can use "systemctl enable getty@tty1.service" which does the right thing, so there's no need to abuse Alias= for installation.
2013-07-13install: make "reenable" work with templated unitsRoss Lagerwall
Before, "systemctl reenable getty@tty1.service" would fail with: Failed to issue method call: File exists To fix this, reimplement "reenable" explicitly as a disable followed by an enable. This is shorter and is how the man page documents its behavior.
2013-07-13man: wording and grammar updateJan Engelhardt
2013-07-13journalctl: have a useful --setup-keys error message when using ↵Shawn Landden
non-persistant logging Generating seed... Generating key pair... Generating sealing key... Failed to open /var/log/journal/33f46101703a10c5fc6fa4f451840101/fss.tmp.k2wDDU: No such file or directory
2013-07-12static-nodes: don't hardcode path to mkdirTom Gundersen
2013-07-12Revert "build-sys: don't enable color gcc on dumb terminals"Zbigniew Jędrzejewski-Szmek
This reverts commit cd3069559a09b4e4f85a6f02aa8f0521f48359ca. Emacs compilation can be fixed by putting (custom-set-variables '(compilation-environment (quote ("GCC_COLORS=")))) in ~/.emacs.
2013-07-12shared/install: fix trivial memleakZbigniew Jędrzejewski-Szmek
We lost the reference when setting path second time.
2013-07-12test-path-util,test-sched-prio: uninitialize manager to appease valgrindZbigniew Jędrzejewski-Szmek
2013-07-12hwdb: keyboard -- update commentsKay Sievers
2013-07-12hwdb: keyboard -- add fileKay Sievers
Do not enable/install it now, until we switch over from the current keymap tool.
2013-07-12man: document the slice and scope units, add systemd.cgroup(5)Zbigniew Jędrzejewski-Szmek
2013-07-12man: use <literal> not <filename> for suffixesZbigniew Jędrzejewski-Szmek
Especially sentences like "filename ends in .suffix" are easier to parse if the suffix is surrounded by quotes. In sentences like "requires a .service unit", where the suffix is used as a class designation, there is no need to use quotes.
2013-07-12man: remove note about shutdown being legacyZbigniew Jędrzejewski-Szmek
This can only confuse people, because there's no need to discourage people from using shutdown. It is fully functional and supported.
2013-07-12journald-server: r should be checked after journal_file_open_reliablyLukas Nykryn
2013-07-12update TODOLennart Poettering
2013-07-12build-sys: don't enable color gcc on dumb terminalsLennart Poettering
Guys, we know that emacs is the best editor on earth, but unfortunately its "M-x compile" terminal cannot do colors (well, it does its own highlighting of the output anyway), and it will inform the programs it calls about this with TERM=dumb, and gcc should check for that. But you guys turned that off. Not cool. Let's turn it on again.
2013-07-12systemctl: remove unused variableLukas Nykryn
2013-07-12unit: check correct variable after strdupLukas Nykryn
2013-07-11update TODOLennart Poettering
2013-07-11core: simplify drop-in writing logic a bitLennart Poettering
let's make use of some format string magic!
2013-07-11core: when writing drop-in files, name them directly after the property we setLennart Poettering
Mapping from "FooBar" to "foo-bar" is unnecessary and makes it hard to handle many different properties with the same code, hence, let's just not do it.
2013-07-11cgroup: split out per-device BlockIOWeight= setting into BlockIODeviceWeight=Lennart Poettering
This way we can nicely map the configuration directive to properties and back, without requiring two different signatures for the same property.
2013-07-11machined: forward scope properties array from client to systemdLennart Poettering
This makes nspawn's --scope= switch work again.
2013-07-11update TODOLennart Poettering
2013-07-11systemctl: show cgroup tree if cgroup is empty but has non-empty childrenLennart Poettering
This makes sure "systemctl status user.slice" shows a nice cgroup tree of all logged in users.
2013-07-11loginctl: suppress cgroup tree output if cgroup is emptyLennart Poettering
same for machinectl
2013-07-11update TODOLennart Poettering
2013-07-11cgroup: simplify how instantiated units are mapped to cgroupsLennart Poettering
Previously for an instantiated unit foo@bar.service we created a cgroup foo@.service/foo@bar.service, in order to place all instances of the same template inside the same subtree. As we now implicitly add all instantiated units into one per-template slice we don't need this complexity anymore, and instance units can map directly to the cgroups of their full name.
2013-07-11cgroup: don't ever try to destroy the cgroup of the root sliceLennart Poettering
The root slice is after all the root cgroup, so don't attempt to delete it.
2013-07-11cgroup: don't move systemd into systems.slice when running as --user instanceLennart Poettering
2013-07-11core: implicitly create a per-template slice for all instantiated units by ↵Lennart Poettering
default If no explicit slice is configured for an instantiated unit, create an implicit one for all instances of the same template.
2013-07-11configure: split checks for libkmod >= 14Dave Reisner
PKG_CHECK_EXISTS won't created a cached variable that later messes with our PKG_CHECK_MODULES check for an explicit version. Unfortunately, nesting these checks as the code existed lead to an odd error. Rather, split the checks apart. This also improves to the error message when the requisite version isn't found, and supplies the literal version systemd needs.
2013-07-11kernel-install/90-loaderentry.install: do not fail for missing initrdHarald Hoyer
2013-07-11basic SO_REUSEPORT supportShawn Landden
2013-07-11units: since we auto-spawn user@.service instances now we don need an ↵Lennart Poettering
[Install] section in it
2013-07-11update TODOLennart Poettering
2013-07-11core: grant user@.service instances write access to their own cgroupLennart Poettering
2013-07-11core: rearrange if blocks a bitLennart Poettering
2013-07-11shutdown: avoid malloc() if we canLennart Poettering
2013-07-11update TODOLennart Poettering
2013-07-11loginctl: restore cgroup display for status outputLennart Poettering
Same for machinectl.
2013-07-11shutdown: fix /proc/cmdline reading of 'quiet'Kay Sievers