summaryrefslogtreecommitdiffstats
path: root/src/rc-local-generator (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rc-local: use access(X_OK) to check if files are executableLennart Poettering2013-10-291-28/+15
| | | | ... and other modernizations.
* Standarize on one spelling of symlink error messageZbigniew Jędrzejewski-Szmek2013-04-241-1/+1
| | | | | It's polite to print the name of the link that wasn't created, and it makes little sense to print the target.
* build-sys: make rc-local support part of SYSV compatLennart Poettering2013-01-041-7/+7
| | | | | | 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.
* log.h: new log_oom() -> int -ENOMEM, use itShawn Landden2012-07-261-2/+1
| | | | | | also a number of minor fixups and bug fixes: spelling, oom errors that didn't print errors, not properly forwarding error codes, few more consistency issues, et cetera
* use "Out of memory." consistantly (or with "\n")Shawn Landden2012-07-251-1/+1
| | | | | | | | glibc/glib both use "out of memory" consistantly so maybe we should consider that instead of this. Eliminates one string out of a number of binaries. Also fixes extra newline in udev/scsi_id
* mkdir: append _label to all mkdir() calls that explicitly set the selinux ↵Kay Sievers2012-05-311-1/+1
| | | | context
* manager: rework generator logicLennart Poettering2012-05-231-6/+6
| | | | | | | | | | | | | | | | | | | | Previously generated units were always placed at the end of the search path. With this change there will be three unit dirs instead of one, to place generated entries at the beginning, in the middle and at the end of the search path: beginning: for units that need to override all configuration, regardless of user or vendor. Example use: system-update-generator uses this to temporarily redirect default.target. middle: for units that need to override vendor configuration, but not vendor configuration. Example use: /etc/fstab should override vendor supplied configuration (think /tmp), but should not override native user configuration. end: does not override anything but is available as well. Possible usage might be to convert D-Bus bus service files to native units but allowing vendor supplied native units to win.
* log: make sure generators never log into the journal to avoid activation ↵Lennart Poettering2012-05-221-1/+1
| | | | | | deadlocks This makes all generators log to kmsg by default.
* rc-local-generator: hook halt-local in based on generator tooLennart Poettering2012-05-031-6/+14
|
* build-sys: add stub makefiles to all subdirs to ease development with emacsLennart Poettering2012-04-131-0/+1
|
* move all tools to subdirsKay Sievers2012-04-121-0/+108