summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1267 from ↵Daniel Mack2015-09-141-0/+2
|\ | | | | | | | | systemd-mailing-devs/1442233013-14985-1-git-send-email-hdegoede@redhat.com hwdb: Add Thinkpad X1 carbon 3rd gen to 70-pointingstick.hwdb
| * hwdb: Add Thinkpad X1 carbon 3rd gen to 70-pointingstick.hwdbHans de Goede2015-09-141-0/+2
|/ | | | | | | | | | | Like many other recent thinkpads the factory default pointingstick sensitivity on these devices is quite low, making the pointingstick very slow in moving the cursor. This extends the existing hwdb rules for tweaking the sensitivity to also apply to the X1 carbon 3rd gen model. BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1200717
* Merge pull request #1259 from martinpitt/masterDaniel Mack2015-09-141-0/+8
|\ | | | | keymap: Add Corsair K70
| * keymap: Add Corsair K70Martin Pitt2015-09-141-0/+8
|/
* Merge pull request #1251 from poettering/cgroups-cleanupDaniel Mack2015-09-1321-1468/+281
|\ | | | | cgroups cleanup + other fixes
| * cgroup: unify how we invalidate cgroup controller settingsLennart Poettering2015-09-114-24/+47
| | | | | | | | | | | | Let's make sure that we follow the same codepaths when adjusting a cgroup property via the dbus SetProperty() call, and when we execute the StartupCPUShares= effect.
| * transaction: clarify via void-casting that we ignore the pipe2() return ↵Lennart Poettering2015-09-111-2/+2
| | | | | | | | value for a reason
| * core: invalidate idle pipe event source in manager_close_idle_pipe()Lennart Poettering2015-09-111-3/+2
| | | | | | | | | | In all occasions when this function is called we do so anyway, so let's move this inside, to make things easier.
| * execute: fix return type from write()Lennart Poettering2015-09-111-2/+4
| |
| * execute: invalidate idle pipe after useLennart Poettering2015-09-111-4/+4
| | | | | | | | | | Not strictly necessary, but makes clear the fds are invalidated. Make sure we do the same here as in most other cases.
| * core: allocate sets of startup and failed units on-demandLennart Poettering2015-09-113-14/+18
| | | | | | | | | | There's a good chance we never needs these sets, hence allocate them only when needed.
| * timesyncd: fix how we print a PIDLennart Poettering2015-09-111-1/+1
| |
| * core: refactor cpu shares/blockio weight cgroup logicLennart Poettering2015-09-119-159/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let's stop using the "unsigned long" type for weights/shares, and let's just use uint64_t for this, as that's what we expose on the bus. Unify parsers, and always validate the range for these fields. Correct the default blockio weight to 500, since that's what the kernel actually uses. When parsing the weight/shares settings from unit files accept the empty string as a way to reset the weight/shares value. When getting it via the bus, uniformly map (uint64_t) -1 to unset. Open up StartupCPUShares= and StartupBlockIOWeight= to transient units.
| * util: remove ring.[ch] + pty.[ch] and testsLennart Poettering2015-09-117-1259/+0
| | | | | | | | This was used by consoled, which was removed, let's remove this too now.
* | Merge pull request #1253 from victorenator/masterDaniel Mack2015-09-132-24/+188
|\ \ | |/ |/| po: update Belarusian translation
| * po: update Belarusian translationViktar Vauchkevich2015-09-122-24/+188
|/
* TODOLennart Poettering2015-09-111-0/+4
|
* Merge pull request #1248 from lnykryn/loginctl-show-v2Lennart Poettering2015-09-111-3/+149
|\ | | | | loginctl: print nontrivial properties in logictl show-*
| * loginctl: print nontrivial properties in logictl show-*Lukas Nykryn2015-09-111-3/+149
| |
* | Merge pull request #1245 from evverx/kill-control-on-timeoutLennart Poettering2015-09-111-0/+2
|\ \ | |/ |/| core: kill processes started due to the ExecReload= on timeout
| * core: kill processes started due to the ExecReload= on timeoutEvgeny Vereshchagin2015-09-111-0/+2
|/
* Merge pull request #1227 from intelfx/systemctl-legacy-tools-polkitLennart Poettering2015-09-101-43/+76
|\ | | | | systemctl: fix various aspects of polkit authorization in legacy tools.
| * systemctl: improve clarity of error messages in the logind pathIvan Shapovalov2015-09-101-2/+7
| |
| * systemctl: relax permission checks in halt_main()Ivan Shapovalov2015-09-101-8/+14
| | | | | | | | | | | | | | Thus we allow (non-interactive) polkit auth to kick in for legacy commands (halt, poweroff, reboot, telinit) as well. Fixes (another aspect of) issue #213.
| * systemctl: fix logind bus call error handling in halt_main()Ivan Shapovalov2015-09-101-1/+9
| | | | | | | | Handle -EOPNOTSUPP and -EINPROGRESS like in start_special().
| * systemctl: minor: use IN_SET() instead of repeated equality checks.Ivan Shapovalov2015-09-101-31/+42
| |
| * systemctl: legacy tools shall never be interactiveIvan Shapovalov2015-09-101-1/+4
| | | | | | | | Fixes (the main concern of) issue #213.
* | Merge pull request #1222 from poettering/image-ops-settingsDaniel Mack2015-09-101-8/+111
|\ \ | | | | | | machine: when removing, renaming, cloning images also care for .nspaw…
| * | machine: when removing, renaming, cloning images also care for .nspawn ↵Lennart Poettering2015-09-091-8/+111
| | | | | | | | | | | | | | | | | | | | | settings file Whenever we remove/rename/clone a machine image, make sure we do the same for the image's .nspawn settings file.
* | | Merge pull request #1239 from poettering/cgroup-pidsDaniel Mack2015-09-1018-113/+451
|\ \ \ | | | | | | | | core: add support for the "pids" cgroup controller
| * | | core: add support for the "pids" cgroup controllerLennart Poettering2015-09-1018-113/+451
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for the new "pids" cgroup controller of 4.3 kernels. It allows accounting the number of tasks in a cgroup and enforcing limits on it. This adds two new setting TasksAccounting= and TasksMax= to each unit, as well as a gloabl option DefaultTasksAccounting=. This also updated "cgtop" to optionally make use of the new kernel-provided accounting. systemctl has been updated to show the number of tasks for each service if it is available. This patch also adds correct support for undoing memory limits for units using a MemoryLimit=infinity syntax. We do the same for TasksMax= now and hence keep things in sync here.
* | | | Merge pull request #1242 from poettering/no-off_tDaniel Mack2015-09-1032-173/+173
|\ \ \ \ | |/ / / |/| | | Drop usage of off_t
| * | | update TODOLennart Poettering2015-09-101-2/+0
| | | |
| * | | tree-wide: never use the off_t unless glibc makes us use itLennart Poettering2015-09-1031-171/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | off_t is a really weird type as it is usually 64bit these days (at least in sane programs), but could theoretically be 32bit. We don't support off_t as 32bit builds though, but still constantly deal with safely converting from off_t to other types and back for no point. Hence, never use the type anymore. Always use uint64_t instead. This has various benefits, including that we can expose these values directly as D-Bus properties, and also that the values parse the same in all cases.
* | | | Merge pull request #1236 from evverx/systemctl-requisite-ofLennart Poettering2015-09-101-0/+2
|\ \ \ \ | | | | | | | | | | systemctl: add RequisiteOf* as inverses of Requisite and RequisiteOverridable
| * | | | systemctl: add RequisiteOf* as inverses of Requisite and RequisiteOverridableEvgeny Vereshchagin2015-09-101-0/+2
| | | | |
* | | | | Merge pull request #1238 from again4you/devel/fix_smack_mtabLennart Poettering2015-09-102-1/+9
|\ \ \ \ \ | |_|/ / / |/| | | | smack: label /etc/mtab as "_" when '--with-smack-run-label' is enabled.
| * | | | smack: label /etc/mtab as "_" when '--with-smack-run-label' is enabled.Sangjung Woo2015-09-102-1/+9
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | /etc/mtab should be labeled as "_", even though systemd has its own smack label using '--with-smack-run-label' configuration. This is mainly because all processes could read that file and the origin of this file (i.e. /proc/mounts) is labeled as "_". This labels /etc/mtab as "_" when '--with-smack-run-label' is enabled.
* | | | Merge pull request #1226 from poettering/coccinelle-fixes3Daniel Mack2015-09-1014-80/+118
|\ \ \ \ | |/ / / |/| | | Third round of Coccinelle fixes
| * | | tree-wide: take benefit of the fact that hashmap_free() returns NULLLennart Poettering2015-09-0910-33/+69
| | | | | | | | | | | | | | | | | | | | | | | | And set_free() too. Another Coccinelle patch.
| * | | tree-wide: make use of the fact that strv_free() returns NULLLennart Poettering2015-09-098-47/+49
| | | | | | | | | | | | | | | | Another Coccinelle patch.
* | | | Merge pull request #1234 from medhefgo/masterLennart Poettering2015-09-101-1/+1
|\ \ \ \ | | | | | | | | | | cryptsetup-generator: Properly check return code
| * | | | cryptsetup-generator: Properly check return codeJan Janssen2015-09-101-1/+1
|/ / / /
* | | | Merge pull request #1230 from swem/masterMartin Pitt2015-09-101-0/+2
|\ \ \ \ | |_|_|/ |/| | | Add microphone mute keymap for Dell Precision
| * | | Add microphone mute keymap for Dell PrecisionChen-Han Hsiao (Stanley)2015-09-101-0/+2
|/ / /
* | | Merge pull request #1225 from mbiebl/remove-sphinx-leftover2Lennart Poettering2015-09-091-7/+0
|\ \ \ | |/ / |/| | README: remove obsolete instructions regarding python-systemd/sphinx
| * | README: remove obsolete instructions regarding python-systemd/sphinxMichael Biebl2015-09-091-7/+0
|/ /
* | Makefile: fix gardel targetLennart Poettering2015-09-091-1/+1
| |
* | Merge pull request #1220 from zonque/logind-dry-runLennart Poettering2015-09-093-34/+65
|\ \ | |/ |/| logind: make dry run command line arguments work again (v2)
| * systemctl: add dry-run support for scheduled shutdownsDaniel Mack2015-09-091-5/+20
| | | | | | | | | | Prefix the action parameter with "dry-" in case the --dry-run command line switch was passed.