summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2009-05-26Three rdist log file name improvements on one single line:Ingo Schwarze
1) replace +%e by +%d, unescaped blanks don't work at all in file names 2) replace +%b by +%m to make log files sort better by month 3) replace the home-grown +%Y.%m.%d by the standard +%F (= +%Y-%m-%d) from Tim van der Molen <tbvdm at xs4all dot nl>, thanks! ok okan@
2009-05-25polish comments, no functional change:Ingo Schwarze
1) advertise *.local and next_part near the top of the three scripts 2) daily: mention smtpd(8) mailq behaviour (like for sendmail, postfix, exim) 3) weekly: drop a comment trivially rehashing the next two lines of code documenting next_part in the scripts was suggested by jmc@ ok sthen@ okan@ halex@; "i won't object" ajacoutot@
2009-05-24new variable SUIDSKIP to exclude paths from setuid and device checks,Ingo Schwarze
useful for example for release(8) DESTDIRs, ro-mounted foreign OS partitions, nosuid+nodev-mounted backup areas and the like while here, do not call ls w/o args in case find returns nothing based on a patch from halex@, re-implemented by me; variable naming by jmc@ ok halex@ jmc@
2009-05-24Before dd'ing raw partitions around, do stricter sanity checking:Ingo Schwarze
Do not attempt to copy a larger partition onto a smaller one. Backup of non-ffs root partitions was never supported, so don't even try. (Both of the above suggested by guenther@). Also add error messages in case ROOTBACKUP is switched on but severely misconfigured - those were silently ignored in the past: /altroot not defined or wrong type or on the same device as root. otto@ agrees that checking the sizes makes sense
2009-05-24Install root's crontab with gid "crontab" to be consistent with whatAntoine Jacoutot
crontab(1) does. ok miod@
2009-05-23Update `cdroot' disktab entry to match the volume header size we use now,Miod Vallat
and mention this in the Makefile so that this hopefully doesn't get broken next time the size is modified. Repairs install45.iso.
2009-05-21skip the ROOTBACKUP when the destination disk device is not configured;Ingo Schwarze
suggested, tweaked and ok by guenther@
2009-05-20add a group _rwalld tooThordur I. Bjornsson
2009-05-20add _rwalld here tooThordur I. Bjornsson
2009-05-20Do not fall back to using nobody if _user is missing, butThordur I. Bjornsson
error out. Add a new user _rwalld for rpc.rwalld, and use that instead of nobody, also unconditionally drop to _rwalld not only if rpc.rwalld was started with euid 0 (as root). ok deraadt@
2009-05-18handle PATH in the same way as in monthly(8) and weekly(8),Ingo Schwarze
i.e. rely on the PATH set up in the root crontab(5) in case /usr/local/bin is needed, daily.local is a logical place to append it suggested by ajacoutot@; "i like this" okan@; feedback jmc@ deraadt@; "i don't strongly object" sthen@
2009-05-18/usr/libexec should not be put into the PATHIngo Schwarze
rely on the PATH set up in the root crontab(5), just like in monthly(8) suggested by ajacoutot@; "i like this" okan@; feedback jmc@ sthen@; "absolutely" deraadt@
2009-05-18support shell globs on ^+ lines in changelist(5)Ingo Schwarze
based on a patch from John Wong, johnw at wonghome dot net, tweaked by me while here, document globbing for normal lines, too "i like that" okan@; feedback and ok jmc@
2009-05-18more precise comment for sensor *; ok henning@ jmc@Kevin Steves
2009-05-17change comment for pool.ntp.org: not fixed to 8 servers and not justKevin Steves
stratum 2. ok henning@
2009-05-17move kern.version and uptime back to the top of the outputIngo Schwarze
by moving it down to the bottom of the code; "I definitely like this" ajacoutot@
2009-05-16fix a couple of obvious echo -> next_part conversions i forgot;Ingo Schwarze
found while investigating an unrelated bug report from John Wong
2009-05-15install wsconsctl.conf on more machinesTheo de Raadt
2009-05-14replace the $OUTPUT idiom by the new next_part function from daily(8)Ingo Schwarze
shortening the script by 100 lines and making it easier to understand no functional change intended feedback and ok sthen@ ajacoutot@ okan@
2009-05-14Rename sgi GENERIC and RAMDISK with -IP32 suffixes, and have the buildMiod Vallat
machinery minimally cope with this. Discussed with and reluctantely accepted by deraadt@; we both dislike losing the ``naturally comes out of your fingers'' kernel names and the ``one size fits all'' logic; but for now I don't see any easy way to get a single kernel binary able to run on multiple IP## flavours.
2009-05-12regenMark Kettenis
2009-05-12Add /dev/ttyV*.Mark Kettenis
2009-05-12Add /var/db/sysmergeAntoine Jacoutot
ok deraadt@
2009-05-11New variable VERBOSESTATUS (=1 by default).Ingo Schwarze
When set to 0, daily(8) won't send mail unless there is something to report. Using feedback from kettenis@ henning@ jmc@ OK sthen@ jmc@
2009-05-10avoid unnecessary changes of the outputIngo Schwarze
in order not to annoy parser scripts and their owners (like henning@)
2009-05-09make weekly and monthly silent by defaultIngo Schwarze
add the same infrastructure to daily; silencing daily needs another step discussed with ajacoutot@ okan@ todd@ sthen@ deraadt@ jmc@ "immediately commit" deraadt@ (without seeing the final diff)
2009-05-09revert previous, requested by kettenis@ and deraadt@Ingo Schwarze
2009-05-09remove the empty script /etc/monthlyIngo Schwarze
in preparation for improvements in /etc/daily and /etc/weekly using feedback and suggestions from jmc@ and sthen@ ok jmc@, and sthen@ agreed with the general direction
2009-05-07vax iso has to become a teeny bit biggerTheo de Raadt
2009-05-06Skip terminal initialization when logging in from an xterm, weTodd C. Miller
can be fairly sure the terminal is already initialized. Avoids a one second pause on login. Requested and OK deraadt@
2009-05-04The strings "x5y" and "-42" are not valid group IDs, so fix the regex,Ingo Schwarze
and fix two pastos in the printf(1) reporting bad group IDs; ok okan@
2009-05-03remove dead code and the associated documentationIngo Schwarze
while here, remove the misleading shbang and an unused variable and add the missing cross reference to ac(8) ok sthen@ jmc@
2009-05-01Only have tset prompt for the terminal type if it is "unknown" orTodd C. Miller
not listed in /etc/ttys. OK deraadt@ guenther@
2009-04-27do not tset if the terminal is already xterm; ok matthieu guentherTheo de Raadt
2009-04-26remove "set require-order no", it is now the defaultStuart Henderson
2009-04-26correct case; it has to be loginShellTheo de Raadt
2009-04-25Provide users by default with XTerm*loginShell:true. This situation just isTheo de Raadt
ridiculous; xdm is totally broken since it never starts anything which resembles a "login shell". As a result, no configuration is brought into a process context to give to future xterms or *sh shells and thus cause them to run their .profile or .kshrc or such a thing, to get futher configuration. Therefore people are left with a totally bland unconfigured Unix environment in their xterms, and don't know how to change this since .profile is ignored. This problem shows hundreds of thousands of google hits. xdm is fundamentally broken, but we must solve this also for the startx methods, too, and for people running csh. It is clear that .xsession is not a solution to this problem at all (that is, assuming the people who suggest such a thing really mean a .xsession file with the execute bit set). This now becomes the recommended way for new users to get out of this stupid situation; if someone does not like it they can change it or delete it. Few will. Just watch. ok kettenis guenther millert
2009-04-25remove some archaic stuff. Are we still telling people to not use telnet? ↵Theo de Raadt
That is not our job.
2009-04-23shorten subject to be prettierTheo de Raadt
2009-04-23the crt option is a good default for new users; ok millertTheo de Raadt
2009-04-22no more bsdsbc kernels; probably not needed anymore I read from discussionTheo de Raadt
between nick and miod
2009-04-21move bsd and bsd.rd and all such other MD "sets" into the MD files,Theo de Raadt
since we perhaps cannot assume that is what kernels will be in the pathetically stupid world that SGI created
2009-04-20do NOT set defaults to their default hereTheo de Raadt
2009-04-17a scrub was hiding here when nfs was enabled. since we want the no-dfHenning Brauer
behaviour here replace by an explicit set reassemble yes no-df. noticed by Valery Masiutsin <val.masutin at gmail dot com>
2009-04-17syncTheo de Raadt
2009-04-17bpf0 can be created by MAKEDEV; ok krwTheo de Raadt
2009-04-17remove some junkTheo de Raadt
2009-04-17For SHA256 hashes to be ready to go onto the install media, we mustTheo de Raadt
build the sets before we build the media. While there we can get rid of DESTDIR/snapshot too, and simply install straight into RELEASEDIR. (This also ends up saving an astounding amount of traffic/latency in a nfs environment)
2009-04-14build release sets before kernels (so that bsd.rd can know about at leastTheo de Raadt
some of the sets)
2009-04-12regenMark Kettenis