Commit Graph

25 Commits

Author SHA1 Message Date
yo
45e1c57ce4 getJailFromArray filtering by type 2023-08-05 19:49:50 +02:00
yo
bce37e6541 v0.36c: Moved and renamed writeConfigToDisk into utils.go 2023-07-23 15:52:21 +02:00
yo
24439a8181 v0.36b: fix writeConfigToDisk 2023-07-23 15:41:37 +02:00
yo
09b807c78e Comment DEBUG printf 2023-07-09 13:47:57 +02:00
yo
2ddf51f887 Display jail name instead of user given string 2023-07-09 13:45:20 +02:00
yo
7575da794e 0.33c : parallelize start/stop of jails up to gMaxThreads 2023-06-25 23:07:53 +02:00
yo
a4ff9c1d51 datasets now should be specified with zpool 2023-06-03 11:18:40 +02:00
yo
89db166040 FIXME: Update release in config file when stopping jail 2022-11-20 20:17:59 +01:00
yo
07eccffbd1 Add Devfs_ruleset property to reflect generated RS 2022-10-15 16:33:29 +02:00
yo
c97f5317dd Add start and stop all jails for boot/shutdown, add debug mode 2022-10-15 14:53:43 +02:00
yo
0637686f91 Format 2022-09-25 12:01:16 +02:00
yo
9b86d786fe Fix setting Running to false 2022-07-14 12:32:14 +02:00
yo
efd28c03ad Reset Running and JID so we can call start() after stop() 2022-07-14 11:12:13 +02:00
yo
128e2aa0c4 Cosmetic 2022-07-10 20:48:40 +02:00
yo
f29aeb2e23 Execute poststop 2022-07-10 19:54:23 +02:00
yo
e7a6bdd376 Use getJailFromArray so we can handle same name jails 2022-07-10 14:15:26 +02:00
yo
92d8beb58f Delete dynamic ruleset, obtained from /var/run/jail.$InternalName.conf 2022-06-26 20:03:08 +02:00
yo
0f6b7b8b80 Hide ifconfig destroy output 2022-06-19 19:45:36 +02:00
yo
0f4f76a9a2 fix Error unmounting display bug, unconditionally unmount /dev & /dev/fd, remove parameter file 2022-06-19 19:14:11 +02:00
yo
43f26d099f WIP on start, go fmt on * 2022-04-24 16:49:54 +02:00
yo
349ea12979 Unmount local FS before stopping jail 2022-04-02 14:17:10 +02:00
yo
9af50111f3 umount procfs, linprofs, fdescfs and devfs at jail stop 2021-12-19 19:06:41 +01:00
yo
eebc7da169 gocage stop now functionnal 2021-12-19 12:42:29 +01:00
yo
d8c78cfd34 Check if there are rctl rules before calling removeRctlRules() 2021-12-18 22:23:55 +01:00
yo
efb7248973 moved utilities into cmd/utils.go, started working on stop command 2021-12-18 21:34:43 +01:00