summaryrefslogtreecommitdiff
path: root/src/load-fragment.c
AgeCommit message (Collapse)Author
2011-04-10path: optionally, create watched directories in .path unitsLennart Poettering
2011-04-07unit: introduce OnFailureIsolate=Lennart Poettering
2011-04-04exec: support unlimited resourcesLennart Poettering
2011-04-03condition: add ConditionSecurityMichal Schmidt
Using ConditionSecurity a unit can depend on a security module being enabled/disabled. For now the only recognized security module is SELinux. I'd like to use this feature for a unit that creates /.autorelabel if SELinux is disabled, to ensure a relabel is done automatically when the system is later rebooted with SELinux enabled.
2011-04-03load-fragment: unify config_parse_condition_{kernel, virt}Michal Schmidt
They only differ in the condition type, otherwise the code is identical. Replace them with a more generic config_parse_condition_string().
2011-03-31log: fix shifting of facilitiesLennart Poettering
2011-03-28use /run instead of /dev/.runKay Sievers
Instead of the /dev/.run trick we have currently implemented, we decided to move the early-boot runtime dir to /run. An existing /var/run directory is bind-mounted to /run. If /var/run is already a symlink, no action is taken. An existing /var/lock directory is bind-mounted to /run/lock. If /var/lock is already a symlink, no action is taken. To implement the directory vs. symlink logic, we have a: ConditionPathIsDirectory= now, which is used in the mount units. Skipped mount unit in case of symlink: $ systemctl status var-run.mount var-run.mount - Runtime Directory Loaded: loaded (/lib/systemd/system/var-run.mount) Active: inactive (dead) start condition failed at Fri, 25 Mar 2011 04:51:41 +0100; 6min ago Where: /var/run What: /run CGroup: name=systemd:/system/var-run.mount The systemd rpm needs to make sure to add something like: %pre mkdir -p -m0755 /run >/dev/null 2>&1 || : or it needs to be added to filesystem.rpm. Udev -git already uses /run if that exists, and is writable at bootup. Otherwise it falls back to the current /dev/.udev. Dracut and plymouth need to be adopted to switch from /dev/.run to run too. Cheers, Kay
2011-03-18exec: properly apply capability bounding set, add inverted bounding setsLennart Poettering
2011-03-08unit: distuingish mandatory from triggering conditionsLennart Poettering
2011-03-04execute: load environment files at time of execution, not when we load the ↵Lennart Poettering
service configuration https://bugzilla.redhat.com/show_bug.cgi?id=661282
2011-02-21unit: introduce ConditionVirtualization=Lennart Poettering
2011-02-13service: make main pid guessing optional, and reread pid file after reloadsLennart Poettering
2011-02-04pam: optionally reset cgroup memberships for login sessionsLennart Poettering
2011-02-03load-fragment: properly parse Nice= valueAdrian Spinu
Hello, i`ve been using systemd for a while now, and found out that when using NICE parameter for .service files the varible is not set correctly. i`ve found the problem in file *load-fragment.c* function *config_parse_nice* variable /*c->nice_set = false;*/ should be /*c->nice_set = true;*/ Problem is alsom manifesting on v17 but did not upgrade yet ...
2011-01-22clang: fix some issues found with clang-analyzersystemd/v17Lennart Poettering
2011-01-18execute: make sending of SIGKILL on shutdown optionalLennart Poettering
2011-01-18man: document missing KillSignal= and swap optionsLennart Poettering
2011-01-06execute: drop empty assignments from env blocks on execution but keep them ↵Lennart Poettering
around otherwise to make them visible
2011-01-06fragment: allow prefixing of the EnvironmentFile= path with - to ignore errorsLennart Poettering
2011-01-05fragment: properly handle quotes in assignments in EnvironmentFile= filesLennart Poettering
2010-11-15unit: introduce ConditionDirectoryNotEmpty=Lennart Poettering
2010-11-14load-fragment: properly do comparison of wordsLennart Poettering
2010-11-10unit: add ConditionNull= conditionLennart Poettering
2010-10-29unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as ↵Lennart Poettering
weaker counterpart of Conflicts=, similar to Wants= vs. Requires=
2010-10-29unit: replace StopRetroactively= by BindTo= dependenciesLennart Poettering
The property StopRetroactively= needs to be per-dependency, not per-unit, in order to properly express dependencies between .mount units and its .device and fsck .service units. If the .device unit is unplugged the mount should go away, but if the fsck process terminates the .mount should stay.
2010-10-28unit: replace recursive_stop by stop_retroactively to simplify things a littleLennart Poettering
2010-10-22systemctl: introduce systemctl killLennart Poettering
2010-10-20service: implement FsckPassNo= optionLennart Poettering
2010-10-13unit: add minimal condition checker for unit startupLennart Poettering
2010-10-08unit: rename 'banned' load state to 'masked'Lennart Poettering
2010-10-08service: optionally, create INIT_PROCESS/DEAD_PROCESS entries for a serviceLennart Poettering
This should fix accounting for pam_limits and suchlike. https://bugzilla.redhat.com/show_bug.cgi?id=636036
2010-10-08systemctl: fix 'systemctl enable getty@.service'Lennart Poettering
2010-10-08unit: introduce 'banned' load state for units symlinked to /dev/nullLennart Poettering
2010-10-05socket: make sockets to pass to a service configurableLennart Poettering
2010-10-05socket: make service to start on incoming traffic configurableLennart Poettering
2010-09-27load-fragment: reset fragment_path if we couldn't find a unit file for itLennart Poettering
2010-09-27sysv: optionally disable of SysV init/rcN.d support at compile timeFabiano Fidencio
This patch adds a cpp definition HAVE_SYSV_COMPAT that is used to isolate code dealing with /etc/init.d and /etc/rcN.d for systems where it does not make sense (one that does not use sysv or one that is fully systemd native). The patch tries to be as little intrusive as possible, however in order to minimize the number of #ifdef'ed regions I've reordered some code in path-lookup.c:lookup_paths_init() where all code dealing with sysv is now isolated under running_as == MANAGER_SYSTEM as well. Moreover, In struct Service, some fields were rearranged to reduce the number of ifdefs. Lennart's suggestions were fixed and squashed with the original patch, that was sent by Gustavo Sverzut Barbieri (barbieri@profusion.mobi).
2010-09-16vconsole: add new utility to initialize the virtual consoleLennart Poettering
2010-08-31exec: replace OOMAdjust= by OOMScoreAdjust= to follow new kernel interfaceLennart Poettering
This replaces OOMAdjust= by OOMScoreAdjust= in the config files, breaking compatibility with older unit files. However, this keeps compat with older kernels which lack the new OOM rework.
2010-08-30unit: introduce AllowIsolate= switchLennart Poettering
2010-08-17service: rename ValidNoProcess= to RemainAfterExit=Lennart Poettering
2010-08-17load-fragment: make parser more forgivingLennart Poettering
2010-08-14emacs: make sure nobody accidently adds tabs to our sourcesLennart Poettering
2010-08-11unit: rename OnlyByDependency= to RefuseManualStart= and introduce ↵Lennart Poettering
RefuseManualStop= Some unit shall never be start on user request (e.g. shutdown.target) others never be stopped on user request (e.g. auditd.servce), hence offer options for both.
2010-08-03socket: Allow selection of TCP Congestion Avoidance algorithm to socketTomasz Torcz
Hi, attached path extends socket configurables with another knob - TCP Congestion Avoidance selection. Linux implements handful of those, useful in various situations. For example, TCP Low Priority may be used by FTP service to gracefully yield bandwidth for more important TCP/IP streams. Until recently TCP_CONGESTION was Linux-specific, recently FreeBSD 8 and OpenSolaris gained compatible support.
2010-07-21load: make sure that unit files in /etc/ always take precedence, even over ↵Lennart Poettering
link targets, to make them easily overrdiable
2010-07-21unit: allow symlinking unit files to /dev/nullLennart Poettering
2010-07-17job: timeout every job independently of the unitLennart Poettering
2010-07-17systemctl: warn when operating on service files that changed on disk but ↵Lennart Poettering
haven't been reloaded
2010-07-12unit: introduce IgnoreDependencyFailure=Lennart Poettering