freebsd-nq/sbin
Andrew Gallatin 47528c67ef Make lagg creation more fault tolerant
- Warn, don't exit, when SIOCSLAGGPORT returns an error.

When we exit with an error during lagg creation, a single
failed NIC (which no longer attaches) can prevent lagg
creation and other configuration, such as adding an IPv4
address, and thus leave a machine unreachable.

- Preserve non-EEXISTS errors for exit status from SIOCSLAGGPORT,
  in case scripts are looking for it. Hopefully this can be
  extended if other parts of ifconfig can allow a "soft" failure.

- Improve the warning message to mention what lagg and what
  member are problematic.

Reviewed by: jtl, glebius
Sponsored by: Netflix
Differential Revision:	https://reviews.freebsd.org/D15046
2018-04-17 12:54:58 +00:00
..
adjkerntz
bsdlabel
camcontrol Strip trailing whitespace. 2018-04-10 08:13:59 +00:00
ccdconfig
clri
comcontrol
conscontrol
ddb
decryptcore
devd Remove support for FDDI and token ring media types in userland utilities. 2018-04-16 18:07:51 +00:00
devfs
devmatch
dhclient
dmesg
dump Revert r313780 (UFS_ prefix) 2018-03-17 12:59:55 +00:00
dumpfs
dumpon
etherswitchcfg Remove support for FDDI and token ring media types in userland utilities. 2018-04-16 18:07:51 +00:00
fdisk
ffsinfo
fsck
fsck_ffs Revert r313780 (UFS_ prefix) 2018-03-17 12:59:55 +00:00
fsck_msdosfs
fsdb When using the fsdb `blocks' command, replace the long and ugly list of 2018-04-08 07:06:12 +00:00
fsirand
gbde
geom Introduce dry run option for attaching the device. 2018-04-10 13:22:48 +00:00
ggate
growfs
gvinum
hastctl
hastd
ifconfig Make lagg creation more fault tolerant 2018-04-17 12:54:58 +00:00
init
ipf
ipfw Fix indenting in ipv6.c file, use tabs instead of mixing tabs and spaces. 2018-04-12 20:05:26 +00:00
iscontrol
kldconfig
kldload
kldstat
kldunload
ldconfig
md5
mdconfig
mdmfs
mknod
mksnap_ffs
mount vfs_donmount: in certain cases try r/o mount if r/w mount fails 2018-03-27 14:31:42 +00:00
mount_cd9660
mount_fusefs
mount_msdosfs
mount_nfs
mount_nullfs
mount_udf
mount_unionfs
nandfs
natd
newfs Revert r313780 (UFS_ prefix) 2018-03-17 12:59:55 +00:00
newfs_msdos
newfs_nandfs
nfsiod
nos-tun
nvmecontrol Add some argument checks to be more user-friendly. 2018-03-13 15:29:13 +00:00
pfctl
pflogd
ping
ping6
quotacheck Revert r313780 (UFS_ prefix) 2018-03-17 12:59:55 +00:00
rcorder
reboot Exit with usage when extra arguments are on command line 2018-04-05 15:00:08 +00:00
recoverdisk
resolvconf
restore Revert r313780 (UFS_ prefix) 2018-03-17 12:59:55 +00:00
route Fix memory leaks in route(8). 2018-03-31 15:06:14 +00:00
routed
rtsol
savecore Bump .Dd after r331113. 2018-03-27 16:38:32 +00:00
sconfig
setkey
shutdown
spppcontrol
sunlabel
swapon
sysctl Permit sysctl(8) to set an array of numeric values for a single node. 2018-03-09 23:37:19 +00:00
tests
tunefs Revert r313780 (UFS_ prefix) 2018-03-17 12:59:55 +00:00
umount
zfsbootcfg
Makefile
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.mips
Makefile.powerpc64
Makefile.sparc64