summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* efi-boot-generator: set automount expire for /bootbaserock/v219-729-g163ab29-jetson_btrfs_fixesKay Sievers2015-04-221-1/+2
| | | | | | | | | | | | | This should make the Linux vfat handling less fragile, by unmounting the idle mount and causing to sync the entire file system to disk. On my machines, The FAT file system at /boot regularly gets corrupted with unclean shutdowns, rendering the machines unbootable. Either the VFS write-back behaviour or the vfat driver itself is just not reliable enough to be/stay mounted at every bootup. Because of that, the automount expiry was on top of my personal wish list. Thanks a lot Michael!
* automount: remove unused variableThomas Hindoe Paaboel Andersen2015-04-211-2/+0
|
* sd-bus: expose ppid fieldLennart Poettering2015-04-217-34/+83
| | | | | kdbus has been passing us the ppid file for a while, actually make use of it.
* build-sys: move systemd.pc from pkgconfiglibdir back into pkgconfigdatadirLennart Poettering2015-04-213-3/+4
| | | | | | | | | | | | | | | | | The original idea of systemd.pc was to contain arch-independent system and systemd information. By exposing libdir as part of the fields (added in eb39a6239c631873db62f6a942e6cb3dab0a2db4), it started to carry arch-dependent data, thus breaking multilib systems. It was then moved to pkgconfiglibdir to deal with this (in aec432c6134146e138124c4130be2ee89dca07fa), but actually the right approach is to simply not include libdir in the .pc file at all. THis patch hence more or less reverts both commits again, and moves the .pc file back into pkgconfigdatadir. As alternative for querying the systems primary libdir there's now "systemd-path system-library-arch", hence a more correct alternative exists for querying this variable from the .pc file.
* core: make unit deserialization more defensiveLennart Poettering2015-04-213-43/+71
|
* automount: various smaller fixesLennart Poettering2015-04-211-7/+8
|
* automount: add expire supportMichael Olbrich2015-04-218-28/+267
|
* build-sys: efi - use $EFI_LIB_DIRKay Sievers2015-04-211-1/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=89982
* build-sys: add missing fileKay Sievers2015-04-211-0/+1
|
* test: test-path and test-execute only need units in test/Ronny Chevalier2015-04-212-2/+2
|
* delete unused LICENSE.MITKay Sievers2015-04-212-20/+0
|
* random-seed: minor cleanups, in particular when it comes to loggingLennart Poettering2015-04-211-30/+30
|
* tree-wide: get rid of more strerror() callsLennart Poettering2015-04-213-12/+13
|
* networkd-fdb: indentation/whitespace fixesLennart Poettering2015-04-211-26/+29
|
* networkd: improve how networkd logs thingsLennart Poettering2015-04-217-463/+252
| | | | | | | | | | | | | | | | | | | | This makes adds a couple of fixes: - Introduces log_netdev_error_errno() and friends, which takes an error number, and matches what log_link_error_errno() and friends do. - Replaces a lof ot strerror() usage with log_netdev_error_errno(), log_link_error_errno() and log_erro_errno() - Uppercases the first character of many log messages, after all this is supposed to be english language - Drops manual negating of error codes before passing them to log functions, the log functions all do that internally anyway. Some other minor fixes. Behaviour should not change really.
* tmpfiles: make /home and /var btrfs subvolumes by default when booted up ↵Lennart Poettering2015-04-213-2/+14
| | | | | | | with them missing This way the root subvolume can be left read-only easily, and variable and user data writable with explicit quota set.
* tmpfiles: there's no systemd-forbid-user-logins.service serviceLennart Poettering2015-04-211-1/+1
|
* log: move log_syntax() into src/shared/log.c, and make it more similar to ↵Lennart Poettering2015-04-215-63/+77
| | | | the other log functions
* udevadm: enclose invocation of unlinkat() with a (void) castLennart Poettering2015-04-211-8/+6
| | | | Let's make Coverity happy about this one.
* sd-device: set_syspath - return ENODEV when passed something that is not a ↵Tom Gundersen2015-04-211-4/+6
| | | | device
* networkd man: fix man and config name.Susant Sahani2015-04-212-76/+76
| | | | | | Rename bond confs and man as well. [tomegun: dropped a stray comma]
* hwdb: add Chromebook pixel (2015) resolution fixBenjamin Tissoires2015-04-211-0/+11
| | | | | | | | The atmel driver sets a default resolution of 20 for each touchpads it creates. On this model, 10 is more appropriate. The resolution is not set for the touchscreen by the kernel, so match the name to both touchpad and touchscreen.
* hwdb: add evdev entry for the Lenovo X230 series touchpadBenjamin Tissoires2015-04-211-0/+16
| | | | | | The Lenovo X230 advertize a vertical resolution of 136, which gives a true size of 31 mm. The actual physical size of the touchpad is 40 mm, so override the resolution to 100.
* hwdb: Add entries for the pointingstick on 2 Dell LatitudesHans de Goede2015-04-211-0/+12
| | | | | | The pointingstick of the Dell Latitude E6400 is somewhat slow by default, whereas the pointingstick of the Dell Latitude D620 is much too fast by default, set POINTINGSTICK_CONST_ACCEL for both of them to adjust for this.
* hwdb: Add entries for the trackpoint on 2 ThinkpadsHans de Goede2015-04-211-0/+17
| | | | | | | | | | | Lenovo has changed the sensitivity of the trackpoint on the x240 / T440s / T540 generation of Thinkpads, making them somewhat insensitive by default, add a hwdb entry to tweak the sensitivity setting. The ThinkPad X200s is way way too slow by default and unless you push the trackpoint quite hard only sends delta events in the 1-2 range, tweak the sensitivity to make it send a wider range of deltas and apply a const accel factor to make it have a more reasonable speed by default.
* udev: keyboard-builtin: Add support for setting IBM trackpoint sensitivityHans de Goede2015-04-212-0/+40
| | | | | | | | | | | | | | IBM / Lenovo trackpoints allow specifying a sensitivity setting through a ps/2 command, which changes the range of the deltas sent when using the trackpoint. On some models with normal usage only deltas of 1 or 2 are send, resulting in there only being 2 mouse cursor movement speeds, rather than the expected fluid scale. Changing the sensitivity to a higher level than the bootup default fixes this. This commit adds support for setting a POINTINGSTICK_SENSITIVITY value in hwdb to allow changing the sensitivity on boot through udev / hwdb.
* udev: Add hwdb file for setting pointingstick propertiesHans de Goede2015-04-211-0/+58
| | | | | | | | | | | | There is quite a wide spread in the delta events generated by pointingsticks, some generate deltas of 1-2 under normal use, while others generate deltas from 1-20. This commit adds a hwdb file which allows specifying a per model POINTINGSTICK_CONST_ACCEL value which can be used by the userspace input stack to normalize the deltas so that all pointingsticks get the same feeling ootb. The hwdb matching re-uses the existing 60-evdev.rules.
* importd: add CAP_DAC_OVERRIDE capabilityLubomir Rintel2015-04-211-1/+1
| | | | | | | | | | | Fedora's filesystem package ships /usr/bin (and other directories) which are not writable by its owner. machinectl pull-dkr (and possibly others) are not able to extract those: 14182 mkdirat(3, "usr", 0700) = 0 14182 mkdirat(3, "usr/bin", 0500) = 0 14182 openat(3, "usr/bin/[", O_WRONLY|O_CREAT|O_EXCL|O_NOCTTY|O_NONBLOCK|O_CLOEXEC, 0700) = -1 EACCES (Permission denied) ...
* service: transition through SIGKILL states only when SIGKILL is enabledLennart Poettering2015-04-211-3/+3
| | | | | | | | | | If there's no remaining process to kill, skip the SIGKILL states if SIGKILL is disabled. Effectively this doesn't change much since if there's nothing to kill with SIGTERM or SIGABRT then there's also nothing to kill with SIGKILL. However, this avoids confusion with the state engine jumping through SIGKILL states for no reason...
* service: timeout on SIGABRT should also be considered an error to rememberLennart Poettering2015-04-211-3/+2
|
* service: make more use of IN_SET() macroLennart Poettering2015-04-211-26/+11
|
* service: list states always in the same orderLennart Poettering2015-04-211-14/+8
|
* service: make kill operation mapping explicitLennart Poettering2015-04-212-2/+22
|
* networkd: fix confusion between log_netdev_error() but log_warning_netdev()Lennart Poettering2015-04-213-20/+16
| | | | | We should always name the object first, the level second, like everywhere else in the sources.
* tmpfiles: consider an argument of "-" as non-specifiedLennart Poettering2015-04-211-1/+1
|
* sd-bus: when augmenting creds, remember which ones were augmentedLennart Poettering2015-04-217-14/+52
| | | | | Also, when we do permissions checks using creds, verify that we don't do so based on augmented creds, as extra safety check.
* sd-bus: augmenting cgroups-based creds when we have the cgroup path already ↵Lennart Poettering2015-04-211-6/+11
| | | | is free
* sd-bus: when augmenting creds, don't override any creds in any caseLennart Poettering2015-04-211-8/+18
| | | | Let's better be safe than sorry.
* sd-bus: when copying creds objects, make sure we copy even the implicit well ↵Lennart Poettering2015-04-211-13/+15
| | | | known names
* dhcp6: remove unnecessary if checkLennart Poettering2015-04-211-2/+1
|
* update TODOLennart Poettering2015-04-211-0/+8
|
* CODING_STYLE: document how destructors should workLennart Poettering2015-04-211-0/+16
|
* networkd: Add support for bond option.Susant Sahani2015-04-206-4/+627
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds configurational support for bond option. Test conf: bond.netdev --- [NetDev] Name=bond1 Kind=bond [Bond] ArpAllTargets=all PrimaryReselect=better ArpIntervalSec=10s ArpIpTargets= 192.168.8.102 192.168.8.101 192.168.8.102 --- $cat /proc/net/bonding/bond1 Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) Bonding Mode: load balancing (round-robin) MII Status: up MII Polling Interval (ms): 0 Up Delay (ms): 0 Down Delay (ms): 0 ARP Polling Interval (ms): 10000 ARP IP target/s (n.n.n.n form): 192.168.8.100, 192.168.8.101, 192.168.8.102
* networkd vxlan: Add support for enabling UDP checksumsSusant Sahani2015-04-204-0/+51
| | | | | | | | | Add UDPCheckSum option to enable transmitting UDP checksums when doing VXLAN/IPv4. Add UDP6ZeroChecksumRx, and UDP6ZeroChecksumTx options to enable sending zero checksums and receiving zero checksums in VXLAN/IPv6 [tomegun: rebase manpage due to whitespace changes]
* udev: settle should return immediately when timeout is 0Nir Soffer2015-04-201-1/+1
| | | | | | | | | | | | | | | | udevadm manual says: A value of 0 will check if the queue is empty and always return immediately. However, currently we ignore the deadline if the value is 0, and wait without any limit. Zero timeout behaved according to the documentation until commit ead7c62ab7 (udevadm: settle - kill alarm()). Looking at this patch, it seems that the behavior change was unintended. This patch restores the documented behavior.
* util: fix typoRaul Gutierrez S2015-04-201-1/+1
|
* exit-status: Fix "NOTINSSTALLED" typoMartin Pitt2015-04-181-1/+1
|
* cryptsetup: Implement offset and skip optionsMartin Pitt2015-04-172-3/+52
| | | | | | | | | | | These are useful for plain devices as they don't have any metadata by themselves. Instead of using an unreliable hardcoded device name in crypttab you can then put static metadata at the start of the partition for a stable UUID or label. https://bugs.freedesktop.org/show_bug.cgi?id=87717 https://bugs.debian.org/751707 https://launchpad.net/bugs/953875
* sd-device: simplify enumerator hacksDavid Herrmann2015-04-171-12/+5
| | | | | | | | | | | | | | | | | | | | | | | | Boolean arithmetic is great, use it! if (a && !b) return 1; if (!a && b) return -1, is equivalent to if (a != b) return a - b; Furthermore: r = false; if (condition) r = true; is equivalent to: r = condition;
* sd-device: uniformly handle missing devicesTom Gundersen2015-04-172-10/+22
| | | | | sd_device_new_from_* now returns -ENODEV when the device does not exist, and the enumerator silently drops these errors as missing devices is exepected.