Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-01-16 | unit: use safe downcasts, remove pointless casts | Michal Schmidt | |
Always use the macros for downcasting. Remove a few obviously pointless casts. | |||
2012-01-16 | unit: use the UNIT() macro consistently | Michal Schmidt | |
The UNIT() macro upcasts from specific unit types to the base Unit. Use it everywhere, rather than accessing the 'meta' member directly. | |||
2012-01-16 | unit: remove union Unit | Michal Schmidt | |
Now that objects of all unit types are allocated the exact amount of memory they need, the Unit union has lost its purpose. Remove it. "Unit" is a more natural name for the base unit class than "Meta", so rename Meta to Unit. Access to members of the base class gets simplified. | |||
2012-01-07 | load-fragment: fix parsing of Socket= setting | Lennart Poettering | |
2012-01-06 | unit: properly update references to units which are merged | Lennart Poettering | |
When we merge units that some kind of object points to, those pointers might become invalidated, and needs to be updated. Introduce a UnitRef struct which links up all the unit references, to ensure corrected references. At the same time, drop configured_sockets in the Service object, and replace it by proper UNIT_TRIGGERS resp. UNIT_TRIGGERED_BY dependencies, which allow us to simplify a lot of code. | |||
2011-09-23 | coverity: fix a couple of bugs found by coverity | Lennart Poettering | |
2011-09-21 | unit: introduce ConditionPathIsMountPoint= | Lennart Poettering | |
2011-08-21 | exec: allow passing arbitrary path names to blkio cgroup attributes | Lennart Poettering | |
If a device node is specified, then adjust the bandwidth/weight of it, otherwise find the backing block device of the file system the path refers to and adjust its bandwidth/weight. | |||
2011-08-21 | exec: add high-level controls for blkio cgroup attributes | Lennart Poettering | |
2011-08-20 | exec: optionally apply cgroup attributes to the cgroups we create | Lennart Poettering | |
2011-08-01 | load-fragment: speed up parsing by using a perfect hash table with ↵ | Lennart Poettering | |
configuration settings built by gperf | |||
2011-07-12 | unit: introduce ConditionFileIsExecutable= and use it where we check for a ↵ | Lennart Poettering | |
binary we'll spawn | |||
2011-07-07 | path,unit: support globbing in conditions and path units | Lennart Poettering | |
2011-07-01 | unit: support wildcards in Environment=, EnvironmentFile= | Lennart Poettering | |
2011-07-01 | unit: do wildcard expansion in ListenStream= and friends | Lennart Poettering | |
2011-06-30 | execute: when parsing ConrolGroup= replace wildcards | Lennart Poettering | |
2011-06-30 | exec: add ControlGroupModify= switch to allow changing access mode to cgroups fs | Lennart Poettering | |
2011-06-28 | unit: when loading symlinked template units, properly add all names on the ↵ | Lennart Poettering | |
way to the unit | |||
2011-05-19 | socket: expose SO_BROADCAST | Lennart Poettering | |
2011-05-19 | socket: expose IP_TRANSPARENT | Lennart Poettering | |
2011-05-18 | exec: hangup/reset/deallocate VTs in gettys | Lennart Poettering | |
Explicitly disconnect all clients from a VT when a getty starts/finishes (requires TIOCVHANGUP, available in 2.6.29). Explicitly deallocate getty VTs in order to flush scrollback buffer. Explicitly reset terminals to a defined state before spawning getty. | |||
2011-05-17 | socket: add POSIX mqueue support | Lennart Poettering | |
2011-05-05 | unit: make ignoring in snapshots a per unit property, instead of a per unit ↵ | Lennart Poettering | |
type property | |||
2011-04-20 | socket: support ListeSpecial= sockets | Lennart Poettering | |
2011-04-16 | socket: guarantee order in which sockets are passed to be the one of the ↵ | Lennart Poettering | |
configuration file | |||
2011-04-16 | manager: introduce IgnoreOnIsolate flag so that we can keep systemd-logger ↵ | Lennart Poettering | |
around when isolating | |||
2011-04-10 | socket: support netlink sockets | Lennart Poettering | |
2011-04-10 | path: optionally, create watched directories in .path units | Lennart Poettering | |
2011-04-07 | unit: introduce OnFailureIsolate= | Lennart Poettering | |
2011-04-04 | exec: support unlimited resources | Lennart Poettering | |
2011-04-03 | condition: add ConditionSecurity | Michal 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-03 | load-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-31 | log: fix shifting of facilities | Lennart Poettering | |
2011-03-28 | use /run instead of /dev/.run | Kay 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-18 | exec: properly apply capability bounding set, add inverted bounding sets | Lennart Poettering | |
2011-03-08 | unit: distuingish mandatory from triggering conditions | Lennart Poettering | |
2011-03-04 | execute: 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-21 | unit: introduce ConditionVirtualization= | Lennart Poettering | |
2011-02-13 | service: make main pid guessing optional, and reread pid file after reloads | Lennart Poettering | |
2011-02-04 | pam: optionally reset cgroup memberships for login sessions | Lennart Poettering | |
2011-02-03 | load-fragment: properly parse Nice= value | Adrian 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-22 | clang: fix some issues found with clang-analyzersystemd/v17 | Lennart Poettering | |
2011-01-18 | execute: make sending of SIGKILL on shutdown optional | Lennart Poettering | |
2011-01-18 | man: document missing KillSignal= and swap options | Lennart Poettering | |
2011-01-06 | execute: drop empty assignments from env blocks on execution but keep them ↵ | Lennart Poettering | |
around otherwise to make them visible | |||
2011-01-06 | fragment: allow prefixing of the EnvironmentFile= path with - to ignore errors | Lennart Poettering | |
2011-01-05 | fragment: properly handle quotes in assignments in EnvironmentFile= files | Lennart Poettering | |
2010-11-15 | unit: introduce ConditionDirectoryNotEmpty= | Lennart Poettering | |
2010-11-14 | load-fragment: properly do comparison of words | Lennart Poettering | |
2010-11-10 | unit: add ConditionNull= condition | Lennart Poettering | |