The NetBSD Project

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

[BACK] Up to [cvs.NetBSD.org] / src / etc / rc.d

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.3 / (download) - annotate - [select for diffs], Mon Dec 25 07:46:12 2023 UTC (2 months, 1 week ago) by kre
Branch: MAIN
CVS Tags: triaxx-drm, HEAD
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)


Whitespace:  8 spaces -> tab

Revision 1.2 / (download) - annotate - [select for diffs], Mon Dec 25 07:43:03 2023 UTC (2 months, 1 week ago) by kre
Branch: MAIN
Changes since 1.1: +4 -5 lines
Diff to previous 1.1 (colored)


No longer use obsolete test(1) -a option/operator, use sh && instead.

While here a couple of minor formatting improvements - in general it
is always a good idea to surround sh operator chars (like '>' '(' ...)
with white space, to guard against thet possibility that some other (or
later enhanced) sh might have additional operators which happen to be
the character string used.

I don't understand while the final part of the condition for not doing
anything needs to run in a subshell, but that can stay for now.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Oct 2 13:26:04 2023 UTC (5 months ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.1.2.1: +54 -0 lines
Diff to previous 1.1.2.1 (colored) next main 1.2 (colored)

Pull up following revision(s) (requested by riastradh in ticket #381):

	distrib/utils/embedded/conf/evbarm.conf: revision 1.42
	distrib/sets/lists/etc/mi: revision 1.273
	etc/rc.d/Makefile: revision 1.118
	distrib/utils/embedded/conf/usermode.conf: revision 1.7
	etc/rc.d/certctl_init: revision 1.1
	distrib/evbarm/liveimage/armimage/rc.conf.armimage: revision 1.2
	etc/defaults/rc.conf: revision 1.166
	distrib/amd64/liveimage/emuimage/rc.conf.emuimage: revision 1.3
	distrib/utils/embedded/conf/x86.conf: revision 1.11
	distrib/utils/embedded/conf/evbmips.conf: revision 1.4

/etc/rc.d/cerctl_init: New script for certctl rehash in live images.

This is very limited -- it does not supplant postinstall to rehash
certificates on upgrade; it only runs certctl rehash if
/etc/openssl/certs is an empty directory, as you get in live images
not created with sysinst.

We could also have a more general-purpose way to run postinstall(8)
on first boot of an image, but that has a lot more moving parts to
think about, so let's start with this limited-scope low-risk
approach.

PR install/57629

/etc/rc.d/certctl_init: Default off.
Otherwise in systems without certctl_init=YES, such as systems
installed with sysinst(8) where it's unnecessary because the rehash
has already happened at install time, you'll get spurious warnings.

Revision 1.1.2.1, Wed Sep 27 00:24:13 2023 UTC (5 months, 1 week ago) by martin
Branch: netbsd-10
Changes since 1.1: +0 -54 lines
FILE REMOVED

file certctl_init was added on branch netbsd-10 on 2023-10-02 13:26:04 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Wed Sep 27 00:24:13 2023 UTC (5 months, 1 week ago) by riastradh
Branch: MAIN
Branch point for: netbsd-10

/etc/rc.d/cerctl_init: New script for certctl rehash in live images.

This is very limited -- it does not supplant postinstall to rehash
certificates on upgrade; it only runs certctl rehash if
/etc/openssl/certs is an empty directory, as you get in live images
not created with sysinst.

We could also have a more general-purpose way to run postinstall(8)
on first boot of an image, but that has a lot more moving parts to
think about, so let's start with this limited-scope low-risk
approach.

PR install/57629

XXX pullup-10

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.




CVSweb <webmaster@jp.NetBSD.org>