Commit graph

34 commits

Author SHA1 Message Date
Ariadne Conill
243a9b92ce ifupdown: skip over template interfaces at warning time instead of letting lif_lifecycle_run() fail 2020-09-23 11:52:22 -06:00
Ariadne Conill
f9683c2242 ifupdown: complain to the user if they try to bring up or tear down a template interface 2020-09-23 11:42:09 -06:00
Ariadne Conill
ceb82f4fd2 ifupdown: only display skip messages in verbose mode 2020-09-09 19:38:29 -06:00
Ariadne Conill
258e2e8a52 lifecycle: return the maximum tree depth for the dependency tree when counting depth 2020-09-09 18:12:13 -06:00
Ariadne Conill
2569503afa lifecycle: add lif_lifecycle_count_rdepends(), which calculates reverse dependency depth 2020-09-09 17:39:26 -06:00
Ariadne Conill
885126174d ifupdown: consistently update the state file when exiting 2020-09-09 14:18:16 -06:00
Ariadne Conill
b514d31c26 ifupdown: implement --force 2020-09-08 19:17:00 -06:00
Ariadne Conill
efe9b60e37 ifupdown: skip interface config/deconfig based on refcounts 2020-09-08 19:10:20 -06:00
Ariadne Conill
df9c0284b1 interface-file: let commands initialize the interface collection themselves 2020-08-20 03:45:56 -06:00
Ariadne Conill
520b831bdf cmd: add manpage xrefs where we have manpages already 2020-08-18 14:14:33 -06:00
Ariadne Conill
f7d21d4b46 ifupdown: port to use option groups 2020-08-11 23:14:55 -06:00
Ariadne Conill
fda7bfae57 ifquery: use generic_usage() instead of ifquery_usage() 2020-08-11 23:10:35 -06:00
Ariadne Conill
fdfe8ac080 multicall: migrate execution options to common code 2020-08-11 22:52:15 -06:00
Ariadne Conill
52509c508c multicall: migrate match options to shared collection 2020-08-11 22:37:36 -06:00
Ariadne Conill
b817bdb999 multicall: move match_options to a common include 2020-08-11 22:12:37 -06:00
Ariadne Conill
ebd04cafda commands: refactor applet_usage functions to take a status code (ref #16) 2020-08-11 20:44:04 -06:00
Ariadne Conill
58bc969bbb ifupdown: only show granular locking errors in verbose mode 2020-07-29 03:18:12 -06:00
Ariadne Conill
ef3bdd79da clean up locking-related errors further 2020-07-29 03:17:12 -06:00
Ariadne Conill
c71c01862d ifupdown: make the locking errors more useful 2020-07-29 03:13:34 -06:00
Ariadne Conill
0ca8e42ee6 refactoring locking, make it per-interface to avoid deadlocks 2020-07-29 03:10:55 -06:00
Ariadne Conill
91115edeee ifupdown: use fcntl advisory locks to serialize state changes (closes #8) 2020-07-29 03:01:49 -06:00
Ariadne Conill
e1918f3fd5 ifupdown: add --force for compatibility with busybox ifupdown 2020-07-28 08:23:58 -06:00
Ariadne Conill
9e4e17707f lifecycle: expose INTERFACES_FILE env var to executors 2020-07-26 02:50:01 -06:00
Ariadne Conill
dca34ebba7 ifupdown: allow for the executor path to be changed 2020-07-25 02:22:27 -06:00
Ariadne Conill
96112d5dc9 libifupdown: execute: add lif_maybe_try_executor() 2020-07-25 02:17:27 -06:00
Ariadne Conill
8714dab11d multicall: expose argv0, use in applets 2020-07-24 04:52:15 -06:00
Ariadne Conill
e0a7444640 state: add ability to sync a state to if_collection cache 2020-07-24 04:48:50 -06:00
Ariadne Conill
f0050e9a72 cmd/ifupdown: clean up tracing messages 2020-07-24 03:57:52 -06:00
Ariadne Conill
38537339ab lifecycle: implement requires keyword 2020-07-24 03:42:34 -06:00
Ariadne Conill
1a9fd7a0cc convert to multicall binary 2020-07-24 03:07:29 -06:00
Ariadne Conill
0624052339 ifupdown: handle state translation for ifdown aliases 2020-07-24 00:15:26 -06:00
Ariadne Conill
de94c2a5a4 ifupdown: update ifstate 2020-07-23 11:01:05 -06:00
Ariadne Conill
5e99e689a8 ifupdown: make --auto work 2020-07-23 10:57:46 -06:00
Ariadne Conill
6e262ab3ed add ifupdown skeleton 2020-07-23 10:44:45 -06:00