Systemd/src
Michal Koutný 4195077ab4 fstab-generator: Apply _netdev option also to device units
In case the device field of fstab record is an actual device (not an address)
apply same dependencies to the device unit as to the mount unit, i.e.

> After=network-online.target network.target
> Wants=network-online.targe

It makes sense to start the device expecting job only when network is actually
ready (consider e.g. iSCSI devices) since it is device's implicit dependency.

The eventual implementation should better obtain network flag from udev
database and would also take into account device hierarchy (see [1]).
This patch approximates that by taking the `_netdev` option as a hint from the
user both about the filesystem and underlying device. (For local devices with
network filesystems (e.g. ocfs2), this hint leads to unused dependencies.)

[1] https://lists.freedesktop.org/archives/systemd-devel/2014-October/024718.html
2017-04-25 18:00:36 +02:00
..
ac-power
activate
analyze tree-wide: add man: to manpage references (#5402) 2017-02-20 18:45:35 -05:00
ask-password
backlight
basic basic/journal-importer: Fix unaligned access in get_data_size() (#5622) 2017-03-21 22:36:50 -04:00
binfmt
boot sd-boot: stub: check LoadOptions contains data (#5467) 2017-02-27 20:03:07 +01:00
cgls cgroup: change cg_unified() to possibly return errors again 2017-02-24 17:52:58 +01:00
cgroups-agent
cgtop cgtop: use PRIu64 to print uint64_t (#5544) 2017-03-07 07:47:18 +01:00
core job: add JobRunningTimeoutSec for JOB_RUNNING state 2017-04-25 18:00:29 +02:00
coredump coredump: fix handling of premature-eof data for --backtrace 2017-03-05 10:35:44 -05:00
cryptsetup cryptsetup-generator: run cryptsetup service before swap unit (#5480) 2017-02-28 21:30:22 +01:00
dbus1-generator
debug-generator
delta
detect-virt
dissect dissect: generate friendly error messages for more error conditions 2017-02-21 21:41:32 +01:00
environment-d-generator environment-generator: new generator to peruse environment.d 2017-02-20 18:49:14 -05:00
escape
firstboot copy: change the various copy_xyz() calls to take a unified flags parameter 2017-02-17 10:22:28 +01:00
fsck
fstab-generator fstab-generator: Apply _netdev option also to device units 2017-04-25 18:00:36 +02:00
getty-generator
gpt-auto-generator gpt-auto-generator: fix warning when compiling w/o efi (#5456) 2017-02-26 08:24:39 +01:00
hibernate-resume
hostname hostname: detect detachable dmi chassis type (#5489) 2017-02-28 21:57:58 +01:00
hwdb
import import: bump image size safety limit for machinectl pull (#5535) 2017-03-05 13:03:53 +01:00
initctl
journal journal: prevent integer overflow while validating header (#5569) 2017-03-13 08:14:42 +01:00
journal-remote Move export format parsing from src/journal-remote/ to src/basic/ 2017-02-14 23:56:48 -05:00
kernel-install
libsystemd sd-bus: drop kdbus-related docs (#5533) 2017-03-07 07:51:35 +01:00
libsystemd-network fix includes 2017-03-15 13:21:10 +01:00
libudev Revert "udev: Introduce UDEV_PROPAGATE_LOG macro (#5302)" 2017-02-23 12:36:25 +01:00
locale tree-wide: make bus_map_all_properties return a proper sd_bus_error 2017-02-09 16:13:07 +01:00
login logind: check return value from lseek 2017-02-20 16:02:18 -05:00
machine machinectl: don't return 1 in case we couldn't figure out container IP addresses (#5587) 2017-03-14 17:38:19 -04:00
machine-id-setup
modules-load
mount mount-tools: silence gcc warning about uninit var 2017-02-21 11:15:50 -05:00
network Merge pull request #5464 from ssahani/label 2017-02-28 15:11:57 +01:00
notify
nspawn Merge pull request #5444 from poettering/cgroups-revert-no-error 2017-02-24 18:48:57 -05:00
nss-myhostname nss: fix error to ERANGE for nss calls with too little buffer space (#5365) 2017-02-16 21:29:09 +01:00
nss-mymachines nss: fix error to ERANGE for nss calls with too little buffer space (#5365) 2017-02-16 21:29:09 +01:00
nss-resolve nss-resolve: Fix assertion in ifindex_to_scopeid. (#5360) 2017-02-16 11:00:49 +01:00
nss-systemd nss: fix error to ERANGE for nss calls with too little buffer space (#5365) 2017-02-16 21:29:09 +01:00
path
quotacheck
random-seed
rc-local-generator
remount-fs
reply-password treewide: replace homegrown memory_erase with explicit_bzero 2017-02-05 21:07:55 -05:00
resolve resolved: detect and warn other running LLMNR stack 2017-03-21 13:35:12 +09:00
rfkill
run run: also pin unit when we we are in --pty mode 2017-02-28 18:35:05 +01:00
shared fstab-generator: Apply _netdev option also to device units 2017-04-25 18:00:36 +02:00
sleep Merge pull request #5131 from keszybz/environment-generators 2017-02-21 11:11:44 +01:00
socket-proxy
stdio-bridge
sulogin-shell units: simplify rescue.service and emergency.service (#5623) 2017-03-22 23:37:06 -04:00
sysctl
system-update-generator system-update-generator: warn if the command line blocks updates (#5173) 2017-02-01 21:50:03 +01:00
systemctl systemctl: fix broken vertical lines in list-dependencies --all (#5608) 2017-03-20 11:27:39 +01:00
systemd check for _POSIX_C_SOURCE instead of __USE_POSIX* 2017-03-16 03:29:53 +01:00
sysusers copy: change the various copy_xyz() calls to take a unified flags parameter 2017-02-17 10:22:28 +01:00
sysv-generator
test test: skip instead of fail if crypto kmods are not available 2017-03-03 16:45:44 +01:00
timedate tree-wide: add SD_ID128_MAKE_STR, remove LOG_MESSAGE_ID 2017-02-15 00:45:12 -05:00
timesync
tmpfiles Fix missing space in comments (#5439) 2017-02-24 18:14:02 +01:00
tty-ask-password-agent treewide: replace homegrown memory_erase with explicit_bzero 2017-02-05 21:07:55 -05:00
udev udev: Use parent bus id for virtio disk builtin path-id (#5500) 2017-03-01 15:30:17 -05:00
update-done tree-wide: add man: to manpage references (#5402) 2017-02-20 18:45:35 -05:00
update-utmp
user-sessions
vconsole
veritysetup tree-wide: remove consecutive duplicate words in comments (#5148) 2017-01-24 21:45:30 -05:00
volatile-root
.gitignore
Makefile