OpenBSD CVS

CVS log for src/etc/rc.d/vmd


[BACK] Up to [local] / src / etc / rc.d

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.12 / (download) - annotate - [select for diffs], Mon Aug 29 19:14:25 2022 UTC (21 months ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, HEAD
Changes since 1.11: +2 -3 lines
Diff to previous 1.11 (colored)

Use rc_configtest.

Revision 1.11 / (download) - annotate - [select for diffs], Sat May 21 12:42:21 2022 UTC (2 years ago) by ajacoutot
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

${rcexec} -> rc_exec

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jan 21 01:41:16 2019 UTC (5 years, 4 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

Use ${rcexec} in rc_pre to do the config testing. This allows to specify
macros with spaces in them. With and OK ajacoutot

Revision 1.9 / (download) - annotate - [select for diffs], Thu Sep 27 17:15:36 2018 UTC (5 years, 8 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.8: +2 -9 lines
Diff to previous 1.8 (colored)

Add vmctl stop -a [-fw] option to stop or terminate all running VMs.

This is also be used to simplify the vmd rc stop script.

OK mlarkin@ ccardenas@

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jul 11 13:19:47 2018 UTC (5 years, 10 months ago) by reyk
Branch: MAIN
Changes since 1.7: +2 -5 lines
Diff to previous 1.7 (colored)

Add -w option to vmctl stop to wait for completion of VM termination.

Use it in /etc/rc.d/vmd accordingly.

OK sthen@

Revision 1.7 / (download) - annotate - [select for diffs], Tue Feb 20 10:12:14 2018 UTC (6 years, 3 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.6: +16 -1 lines
Diff to previous 1.6 (colored)

Call "vmctl stop" on each VM at shutdown, for OpenBSD guests this means they
are signalled to shutdown cleanly. Wait for each to finish to avoid too much
busy work at once; this may need revising if it turns out to be too slow with
a larger number of VMs (e.g. signal/delay/signal/delay/... then wait for
shutdowns), but let's avoid making it more complex unless we know it's needed.

Based on a diff from abieber@, discussed with mlarkin@ aja@ rpe@, ok rpe

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jan 11 22:44:44 2018 UTC (6 years, 4 months ago) by rpe
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Comments

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jan 11 19:52:12 2018 UTC (6 years, 4 months ago) by rpe
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Change the shebang line from /bin/sh to /bin/ksh in all base rc.d
daemon scripts.

discussed with and OK aja@
OK tb

Revision 1.4 / (download) - annotate - [select for diffs], Tue Feb 2 17:51:11 2016 UTC (8 years, 4 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.3: +1 -3 lines
Diff to previous 1.3 (colored)

Remove setproctitle() for the parent process. Because rc.d(8) uses process
titles (including flags) to distinguish between daemons, this makes it
possible to manage multiple copies of a daemon using the normal infrastructure
by symlinking rc.d scripts to a new name. ok jung@ ajacoutot@, smtpd ok gilles@

Revision 1.3 / (download) - annotate - [select for diffs], Sat Dec 19 13:45:12 2015 UTC (8 years, 5 months ago) by ajacoutot
Branch: MAIN
Changes since 1.2: +6 -1 lines
Diff to previous 1.2 (colored)

Child will not return a config parsing error to the parent so rc.d will lie and
tell you that the daemon succesfully started; prevent this by running a config
check first.
Note that we only do this for those particular daemons, not all that support a
config test mode.

ok benno@ phessler@

Revision 1.2 / (download) - annotate - [select for diffs], Wed Dec 16 14:21:28 2015 UTC (8 years, 5 months ago) by jturner
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

Add pexp match otherwise rcctl stop vmd doesn't work. OK deraadt@

Revision 1.1 / (download) - annotate - [select for diffs], Sat Dec 5 09:55:18 2015 UTC (8 years, 5 months ago) by jasper
Branch: MAIN

add rcscript for vmd

ok mlarkin@
prompted by deraadt@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.