summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-07-10unit-name: remove unit_name_is_valid_no_type() and move unit_name_is_valid() ↵Lennart Poettering
to unit-name.h
2012-07-10systemctl: check the argument to -t for invalid valuesZbigniew Jędrzejewski-Szmek
Systemctl accepted anything as the argument for -t, and simply said '0 units found'. It is better to catch this user error early.
2012-07-10unit: Move UnitType definitions from core/unit.c to shared/unit-name.cZbigniew Jędrzejewski-Szmek
This makes it possible to use them from systemctl without linking against the core. A string->enum lookup table is added.
2012-07-09cryptsetup: add keyfile-offset= supportTom Gundersen
This is useful if your keyfile is a block device, and you want to use a specific part of it, such as an area between the MBR and the first partition. This feature is documented in the Arch wiki[0], and has been supported by the Arch initscripts, so would be nice to get this into systemd. This requires libcryptsetup >= 1.4.2 (released 12.4.2012). Acked-by: Paul Menzel <paulepanter@users.sourceforge.net> [0]: <https://wiki.archlinux.org/index.php/System_Encryption_with_LUKS# Storing_the_key_between_MBR_and_1st_partition>
2012-07-09udev: never touch device nodes with symlink requestsKay Sievers
2012-07-09paranoia: refuse rm_rf("/")Lennart Poettering
2012-07-09MeeGo: Remove build support for MeeGo distribution.Auke Kok
The MeeGo distribution is still a supported distribution, but will probably not see an updated version of systemd anymore. Most of the development is focussing on Tizen now, and the generic support for building --with-distro=other is more than adequate enough. This patch removes the support as a custom configuration build target in systemd. People who are still building this for the MeeGo distribution should build as "other" distro.
2012-07-09man: document sd_print() and friendsLennart Poettering
2012-07-05udev: network device renaming - immediately give up if the target name isn't ↵Kay Sievers
available
2012-07-05udev: add some O_CLOEXECKay Sievers
2012-07-05udev: ata_id - fixup all 8 not only 6 bytes of the fw_rev stringKay Sievers
The last two digits are in the wrong order: $ hdparm -I /dev/sda | grep Revision 4PC10362 $ /lib/udev/ata_id -x /dev/sda | grep REVISION 4PC10326
2012-07-04service: flush the start counter in "systemctl reset-failed"Lennart Poettering
2012-07-03readahead: fix calculation of percentageLennart Poettering
2012-07-03mount-setup: don't complain if we try to fix the label of a dir beneath a ↵Lennart Poettering
mount but can't due to EROFS
2012-07-03hashmap: make hashmap_clear() work on NULL hashmapsLennart Poettering
2012-07-03load-fragment: a few modernizationsLennart Poettering
2012-07-03timedate: uniq'ify ntp units listLennart Poettering
2012-07-03journal: default ImportKernel=no until we make use of structured loggingLennart Poettering
2012-07-03journal: move Storage=auto stanza to right fileLennart Poettering
2012-07-03journald: handle /proc/kmsg reads returning 0 more nicelyLennart Poettering
2012-07-03journal: fix iteration through journal if one file is corruptLennart Poettering
2012-07-03timedated: replace ntp-units file with an ntp-units.d drop-in dirLennart Poettering
To be considered by timedated for NTP a package simply has to drop in /usr/lib/systemd/ntp-units.d/foobar.list and write one or more unit names into it. The first one listed is the one that is enabled.
2012-07-02udev: static nodes - fix default permissions if no rules is givenKay Sievers
<falconindy> kay: just curious -- it looks like nodes created by udev from modules.devname all have 000 perms, and there's nothing in udev that attempts to change this. is it intended? <falconindy> c--------- 1 root root 10, 223 Jul 1 23:10 uinput <kay> falconindy: we might miss the default of 0600 <falconindy> seems like it <kay> falconindy: stuff that has a rule works i guess <kay> falconindy: i'll add the 0600 now
2012-07-02modules load: rename kernel command line option to (rd.)modules-load=Kay Sievers
2012-07-02timedate: fix ntp-units commentLennart Poettering
2012-07-02core: mention if we are run from an initial RAM diskLennart Poettering
2012-07-02journald: add Storage= setting to control where the journal is storedLennart Poettering
2012-07-02manager: turn notify socket into abstract namespace socket againLennart Poettering
sd_notify() should work for daemons that chroot() as part of their initilization, hence it's a good idea to use an abstract namespace socket which is not affected by chroot.
2012-07-02journalctl: add new switch -b to show data from current boot onlyLennart Poettering
2012-07-02timedated: replace systemd-timedated-ntp.target logic with simpler schemeLennart Poettering
The previous systemd-timedated-ntp.target was suffering by the problem that NTP implementations enabled via the machanism could not be disabled the obvious way on the "systemctl disable" command line. Replace systemd-timedated-ntp.target by a list of implementations we try in turn. The list is encoded in $pkgdatadir/ntp-units.
2012-07-02udevd: fix bogus mkdir invocationDave Reisner
The filename parameter passed to mkdir can't contain anything but a garbage value at this point. This was meant to be the full pathname to the new udev DB, as the mkdir_parents() call before it won't create the trailing child directory. [replace mkdir_parents() + mkdir() with mkdir_p() -- kay]
2012-07-02udevd: use ROOTPREFIX to create path to modules.devnameDave Reisner
2012-06-29manager: serialize/deserialize job counters across reexec/reloadLennart Poettering
2012-06-29logind: add PreparingForShutdown/PreparingForSleep propertiesLennart Poettering
2012-06-29remount-fs: also remount /usr according to fstabLennart Poettering
2012-06-29mount: load only if we there's mountinfo or fragmentMichal Schmidt
Having information from /proc/self/mountinfo is sufficient to consider a mount unit loaded. When there's no mountinfo, the loading of the fragment for the mount unit is not optional. No extra dependency links must be added when the loading fails. https://bugzilla.redhat.com/show_bug.cgi?id=835848
2012-06-29mount: split adding of extras from mount_load()Michal Schmidt
2012-06-28main: print detected virtualiaztion at bootLennart Poettering
2012-06-28nspawn: introduce new --capabilities= flag and make use of it in the nspawn ↵Lennart Poettering
test case
2012-06-28modules-load: use correct va_list logging functionMichal Schmidt
2012-06-28modules-load: fix return valueMichal Schmidt
2012-06-27modules-load: don't fail on builtin modules, better printsMichal Schmidt
Distinguish between non-existing modules, builtin modules, already loaded modules, and modules we load. Only the non-existing ones are treated as errors. https://bugzilla.redhat.com/show_bug.cgi?id=817760
2012-06-27udev: use the matching binary name "systemd-udevd" in log messagesKay Sievers
2012-06-27core: rename system.preset to system-presets to follow naming scheme of ↵Lennart Poettering
other dirs in /usr/lib/systemd/ Thankfully nobody is using this yet, and presets aren't documented yet, hence take the liberty to rename this.
2012-06-27man: add reference to crypttab(5) from cryptsetup unitsLennart Poettering
2012-06-27man: document systemd-cryptsetupLennart Poettering
2012-06-27man: document tty-ask-password-agentLennart Poettering
2012-06-26journal: typo fix in sd-journal.hDavid Strauss
2012-06-26core: make systemd.confirm_spawn=1 actually workLennart Poettering
This adds a timeout if the TTY cannot be acquired and makes sure we always output the question to the console, never to the TTY of the respective service.
2012-06-26service: pass via FAILED/DEAD before going to AUTO_RESTARTMichal Schmidt
With misconfigured mysql, which uses Restart=always, the following two messages would loop indefinitely and the "systemctl start" would never finish: Job pending for unit, delaying automatic restart. mysqld.service holdoff time over, scheduling restart. In service_enter_dead() always set the state to SERVICE_FAILED/DEAD first before setting SERVICE_AUTO_RESTART. This is to allow running jobs to complete. OnFailure will be also triggered at this point, so there's no need to do it again from service_stop() (where it was added in commit f0c7b229). Note that OnFailure units should better trigger only after giving up auto-restarting, but that's for another patch to solve. https://bugzilla.redhat.com/show_bug.cgi?id=832039