summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-01-06journal: new logging macros to include UNIT=Zbigniew Jędrzejewski-Szmek
Adding UNIT= to log lines allows them to be shown in 'systemctl status' output, etc. A new set of macros and functions is added. This allows for less verbose notation than using log_struct() explicitly. The set of logging functions is expanded to take a pair of arguments (e.g. "UNIT=" and the RHS) which add an extra line to the structured log entry. This can be used to add macros which add a different identifier later on.
2013-01-06fstab-generator: modernize styleZbigniew Jędrzejewski-Szmek
2013-01-06core/path: modernize styleZbigniew Jędrzejewski-Szmek
2013-01-06core/mount: modernize styleZbigniew Jędrzejewski-Szmek
2013-01-06core/dbus-unit: modernize styleZbigniew Jędrzejewski-Szmek
2013-01-06core/manager: modernize styleZbigniew Jędrzejewski-Szmek
2013-01-06build-sys: use VALGRIND not __OPTIMIZE__ as condition for valgrind compatZbigniew Jędrzejewski-Szmek
Actually, one might want to run valgrind even on optimized code. Now the same check is used in the jenkins hash functions and hashtable.
2013-01-06analyze: add .gitignoreKay Sievers
2013-01-04build-sys: invoke scripts with $PYTHON during buildZbigniew Jędrzejewski-Szmek
Python binary to be used during compilation can be set with ./configure PYTHON=... The she-bang line is removed, since it is not used anymore.
2013-01-04systemd-analyze: use specified binary, add --versionZbigniew Jędrzejewski-Szmek
Python binary used in the she-bang line in installed scripts can be set with ./configure PYTHON_BINARY=... Defaults to the same path as python used during compilation. Adding --version makes systemd-analyze behave consistently with the rest of installed programs. The lines in ./configure output are reordered to keep all yes/no lines separate. I think that this makes the output clearer.
2013-01-04systemd-analyze: pipe through SED_PROCESSZbigniew Jędrzejewski-Szmek
To be able to add --version and change python binary.
2013-01-04service: fixup after ifdef droppingZbigniew Jędrzejewski-Szmek
Commit 88516c0 removed one line too much.
2013-01-04systemd-analyze: reword commentsZbigniew Jędrzejewski-Szmek
2013-01-04build-sys: drop all distribution specfic checksLennart Poettering
Yay, we now have a completely generic systemd. No distribution specific checks anymore!
2013-01-04service: drop inserv.conf parsingLennart Poettering
This Suse specific configuration file should really be done in a generator that is shipped downstream by suse.
2013-01-04service: drop the per-distro ifdefs in service.cLennart Poettering
They don't really hurt on other distros, and this allows us to ship the same code on all distros
2013-01-04systemctl: enable chkconfig compat only if chkconfig is found rather than ↵Lennart Poettering
based on distro
2013-01-04fsck: remove distro specific hacks from fsck/quotacheckLennart Poettering
Move forcefsck file checks under a HAVE_SYSV_COMPAT #ifdef, and warn if this is used.
2013-01-04Make gcc a bit quieterLennart Poettering
2013-01-04build-sys: make rc-local support part of SYSV compatLennart Poettering
This also drops automatic selection of the rc local scripts based on the local distro. Distributions now should specify the paths of the rc-local and halt-local scripts on the configure command line.
2013-01-04core: drop support for old per-distro configuration files for console, ↵Lennart Poettering
hostname, locale, timezone This simplifies the upstream system code quite a bit. If downstream distributions want to maintain compatibility with their old configuration files, they are welcome to do so, but need to maintain this as patches downstream. The burden needs to be on the distributions to maintain differences here. Our suggestion however is to just convert the old configuration files on upgrade, as multiple distributions already do.
2013-01-04udev: net_id - append "dev_id" value if neededKay Sievers
2013-01-04udev: set device node permissions only at "add" eventsKay Sievers
2013-01-04Added globbing support to EnvironmentFilePekka Lundstrom
This patch allows globbing to be used with EnvironmentFile option. Example: EnvironmentFile=/etc/foo.d/*.conf t. Pekka
2013-01-04systemctl: add is-failedThomas Hindoe Paaboel Andersen
Adds is-failed to join is-active and is-enabled. I grabbed this one from the todo list. Most of the functionality was already there for is-active. I just needed to make check_one_unit take the states to check for as an argument instead of the hardcoded "active" and "reloading". is-failed will return 1 if none of the units given are failed. This is different from is-active which will return 3 if none of the units given are active. It returns 3 with this comment: /* According to LSB: "program is not running" */ As that does not make sense when looking for failed units I simply chose 1 instead.
2013-01-04localed: create /etc/X11/xorg.conf.d if neededMichał Bartoszkiewicz
Use mkdir_p_label instead of mkdir_parents_label, so that the final directory component is created too.
2013-01-03correct Macedonian keyboard mapping (X layout is 'mk', not 'mkd')Adam Williamson
2013-01-03add Lithuanian keyboard mapping (lt/lt)Adam Williamson
2013-01-03add Kazakh keyboard mapping (kazakh/kz)Adam Williamson
2013-01-03add Hebrew (Israel) - simple, il/ilAdam Williamson
2013-01-03French Canadian xlayout is just "ca", not "ca(fr)" any moreAdam Williamson
2013-01-03add Belarussian mapping: simple, 'by' and 'by'Adam Williamson
2013-01-03tmpfiles: Fix file descriptor leak on errorThomas Jarosch
Detected by cppcheck
2013-01-03readahead: don't complain that we cannot precache symlinksLennart Poettering
http://lists.freedesktop.org/archives/systemd-devel/2012-December/007847.html
2012-12-31unit: add ConditionACPower=Lennart Poettering
2012-12-31analyze: properly parse firmware/loader time and handle times for container ↵Lennart Poettering
boots correctly
2012-12-31macro: use C11 static_assert() macro for static assertionsLennart Poettering
2012-12-31polkit: add "imply" rules to a number of polkit actionsLennart Poettering
2012-12-31udev: in addition to DEVMODE, honor DEVUID, DEVGID from the ueventKay Sievers
2012-12-29fstab-generator: fix typoTom Gundersen
2012-12-28fstab-generator: generate new_root.mount in initrdTom Gundersen
The configuration is taken from /proc/cmdline, aiming at emulating the behavior of the kernel when no initramfs is used. The supported options are: root=, rootfstype=, rootwait=, rootflags=, ro, and rw. rootdelay= was dropped, as it is not really useful in a systemd world, but could easily be added. v2: fix comments by Lennart, and complain loudly if root= can not be found Cc: Harald Hoyer <harald@redhat.com> Cc: Dave Reisner <dreisner@archlinux.org>
2012-12-28systemctl: switch-root - read init= from /proc/cmdlineTom Gundersen
If the path to init is not specified as an argumnt to systemctl, but init= is given on the kernel commandline, use that. This means the initrd does not need glue code to parse the kernel commandline before passing on init= to systemctl. Cc: Harald Hoyer <harald@redhat.com> Cc: Dave Reisner <dreisner@archlinux.org>
2012-12-24pam_systemd: new option for the session classMatthew Monaco
2012-12-24hostnamed: make chassis type configurable via /etc/machine-infoLennart Poettering
For many usecases it is useful to store the chassis type somewhere, and /etc/machine-info sounds like a good place. Ideally we could always detect the chassis type from firmware, but frequently that's not available and in many embedded devices probably entirely unrealistic. This patch adds a configurable setting CHASSIS= to /etc/machine-info and exposes this via hostnamectl/hostnamed. hostnamed will guess the chassis type from DMI if nothing is set explicitly. I also added support for detecting it from ACPI, which should be more useful as ACPI 5.0 actually knows a "tablet" chassis type, which neither DMI nor previous ACPI versions knew. This also enables DMI-based and ACPI-based detection for non-x86 systems as ACPI is apparently coming to ARM platforms soon. I tried to minimize the vocabulary of chassis types understood and added: desktop, laptop, server, tablet, handset. This is much less than either APCI or DMI know. If we need more types later on we can easily add them.
2012-12-24fstab-generator: properly detect bind mountsLennart Poettering
This kinda undoes a83cbaccd03c3f28e47e9330f4a22ff65ce4b561 and 1d634e21b453f3c80d7c6c4bd90a6b84e42a3d2a but corrects the original code to compare the mount type with "bind" rather than the mount options.
2012-12-24logind: don't allow suspending/hibernating if the kernel doesn't support itLennart Poettering
2012-12-24util: if /sys mounted read-only we can't suspend/hibernateLennart Poettering
2012-12-24util: when determining controlling tty of a process properly handle ↵Lennart Poettering
processes without
2012-12-24logind: add support for automatic suspend/hibernate/shutdown on idleLennart Poettering
2012-12-24pam: properly handle SSH logins lacking the PAM tty fieldLennart Poettering