summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2011-07-03let reload report (ok) or (failed) just like all other actions;Ingo Schwarze
ajacoutot@ and robert@ couldn't really remember the reason to be different, either
2011-07-02Add resourceproto documentation directory.Matthieu Herrb
2011-06-26regen makedevTed Unangst
2011-06-26remove mcdTed Unangst
2011-06-24machdep.kbdreset enables a shutdown by Ctrl-Alt-Del on amd64 andChristian Weisgerber
i386. Stop abusing it on other archs for controling a shutdown by pressing the soft power button: * Add a MI sysctl hw.allowpowerdown; if set to 1 (the default) it allows a power button shutdown. * Make acpi(4)/acpibtn(4) honor hw.allowpowerdown. * Switch the various power button intercepts on landisk, sgi, sparc64 and zaurus over to hw.allowpowerdown. * Garbage collect the machdep.kbdreset sysctl on all archs other than amd64 and i386. ok miod@
2011-06-23bye bye /usr/X11R6/man/cat*Ingo Schwarze
2011-06-23switch to installing source manuals (base part)Ingo Schwarze
discussed with lots of people, tested by naddy@, "move fast" deraadt@
2011-06-22sync; add IPv6 address for d.root-servers.netJakob Schlyter
2011-06-20Refactoring for simplicity, no functional change:Ingo Schwarze
* Instead of nesting subshells, perform a linear series of operations and bail out as soon as one of them fails. * Rename rc_print to rc_exit, let it calculate the exit code itself and let it exit, considerably simplifying error handling; new name suggested by sthen@. OK ajacoutot@ sthen@
2011-06-15Stop providing a bsd.scsi3 kernel on sparc. If you have a system with multipleMiod Vallat
disks and scsi id#3 as the boot device, by all means, use DUIDs to mount your filesystems and it won't matter what sd unit number the boot disk attaches with.
2011-06-10Finally deal with background processes: "rc_cmd start" will now returnAntoine Jacoutot
the correct code according whether the daemon did start successfully or not. rc_wait() This function has been extended, first we need to pass in which mode we are running (start or stop) and second we can pass a number of seconds to wait (optionnal, will default to 30s). The function will return the correct code whether we are running during "rc_cmd start" or "rc_cmd stop". rc_cmd() start If we are running in background mode, then we call rc_wait with the "start" argument. The sleep(1) is needed to prevent a race condition where the process will appear in the list before failing and rc_check will see it as running. Call rc_post() when failing to prevent being left in an inconsistent state (because rc_pre() would have run successfully) rc_cmd() stop We are now calling rc_wait with the "stop" argument. "looks good" sthen@, ok robert@
2011-06-08Revert fakecdrom elimination pending further testing. ariane@ pointedKenneth R Westerback
out that sparc64 iso at least does not boot. Retain the svnd -> vnd changes that happened after the original commit.
2011-06-04mtree update for xkeyboard-config. remainded to commit by ajacoutot@Matthieu Herrb
2011-05-30Update for libX11 1.4.3 and libXext 1.3.0.Matthieu Herrb
2011-05-26Add svlan(4) startup bits.Marco Pfatschbacher
From markus@. OK naddy, claudio, reyk.
2011-05-19Setting RC_DEBUG is enough, it does not need to be explicitely set toAntoine Jacoutot
"1". hint from MERIGHI Marcus ok robert@
2011-04-28ftp-proxy(8) now requires a divert-to ruleMike Belopuhov
2011-04-24sync with xorg-docs 1.6 changesMatthieu Herrb
2011-04-23Even though SUIDSKIP used to be a mere shell variable, it was propagatedIngo Schwarze
to the old /etc/security script because daily sourced it. Now we fork and exec, so SUIDSKIP must be promoted to the environment. Problem reported, fix tested and ok weerd@.
2011-04-23Remove yet another mention of /etc/security that i missed (doh).Ingo Schwarze
Also pointed out by Mattieu Baptiste <mattieu dot b at gmail dot com>, thanks.
2011-04-22Move the rc.d(8) bits from rc.{local,shutdown} directly into /etc/rc.Antoine Jacoutot
By default, rc.{local,shutdown} don't output anything anymore. original idea from schwarze@ discussed with deraadt@ and no objection from millert@ ok schwarze@ robert@
2011-04-19syncTodd T. Fries
2011-04-19as confirmed by my 11mo old son, this makes midi keyboards work with macppcTodd T. Fries
"no objection" drahn@
2011-04-19/etc/security does not exist any longer,Ingo Schwarze
so stop it from trying to check itself for changes; noticed by Mattieu Baptiste <mattieu dot b at gmail dot com>.
2011-04-19UUCP is no longer contained in the base system, so its home directoryIngo Schwarze
does not require special permissions. The security(8) scripts hates group-writeable home directories, so remove the needless permissions. Issue noticed by Andrew Fresh <andrew at afresh1 dot com>. If i understand naddy@ correctly, this is unlikely to harm even UUCP users. "Just remove the group writeable bit" deraadt@.
2011-04-18do not print 'starting local daemons' if rc_scripts is emptyRobert Nagy
asked by/ok deraadt@, ajacoutot@
2011-04-18Deprecate vnds in favour of svnds.Thordur I. Bjornsson
In effect, this removes the "old" vndX nodes, and renames the svndX nodes to vndX. Old svndX nodes will still continue to work though, for now. Cleanup accordingly. ok deraadt@, todd@ comments and ok on the man page bits from jmc@
2011-04-17Replaced by src/libexec/security a few minutes ago;Ingo Schwarze
deraadt@ suggests to remove the old file right away.
2011-04-17Switch from the old shell script /etc/securityIngo Schwarze
to the new Perl script /usr/libexec/security. The new script was tested by sthen@ and ajacoutot@. Committing now due to repeated prodding from deraadt@. In case problems show up, they will be fixed in tree.
2011-04-16Output 'starting standard daemons:' to be consistent with the rest.Antoine Jacoutot
ok deraadt@
2011-04-15Silence errors in the temp dir cleanup processAlexander Hall
ok phessler@ sthen@
2011-04-15No need to make depend kernelsTheo de Raadt
2011-04-14Don't compress wtmp by default; the tools dealing with this log areStuart Henderson
cumbersome to use with compressed files. Idea from ian@ following a discussion started with a diff to last(1) from by Peter Philipp. ok martynas@ mk@ millert@
2011-04-11allow man(1) to find the ports/infrastructure manpages by default.Stuart Henderson
ok dcoppa@ phessler@ jasper@ landry@ rpointel@ giovanni@ ajacoutot@ henning@ no problem jmc@
2011-04-11Delete 'OpenBSD2.1' and 'simpleroot'. Two entries previously usedKenneth R Westerback
in install image creation and no longer required. ok deraadt@
2011-04-10'fakecdrom' disktab entry no longer needed, nor is mksuncd mangling ofKenneth R Westerback
the boot cd image. ok deraadt@
2011-04-09Fix multiple issues and make the code simpler and more robust:Ingo Schwarze
- As noticed by ajacoutot@, re_format(7) does not treat '\t' as a tab, so some t's got stripped from daemon names. - The tr(1) failed to sanitize mixtures of blanks and tabs. ok ajacoutot@
2011-04-07Update transparent HTTP proxy example:Reyk Floeter
- Use the URL filter to block www.example.com/ - Use "forward to destination" instead of "forward to nat lookup" to use divert-to instead of rdr-to in PF.
2011-04-06- in case reload fails, print the failed message (from Piotr Sikora)Robert Nagy
- (ok) is only printed while in interactive mode, but (failed) stays even for rc if the command fails ok ajacoutot@
2011-04-06Remove leading/trailing spaces from daemon_flags.Antoine Jacoutot
ok schwarze@
2011-04-05Remove portalfs.Thordur I. Bjornsson
While it is a terribly cool idea, it's just awful and since noone has stepped up to the plate to keep it up with the current vop state, retire it to the attic. ok krw@, deraadt@, guenther@, miod@. comments from jmc@
2011-04-05Bye bye, kern.emul.freebsdPhilip Guenthe
Pointed out by aja@
2011-04-05Handle a daemon_flags of '-n' by using printf '%s\n' instead of echoPhilip Guenthe
ok otto@, aja@
2011-04-05Quote $daemon_flags to prevent echo(1) picking them as input flags.Antoine Jacoutot
from Piotr Sikora ok robert@
2011-04-04Dump some useless calls to dhclient-script. i.e. MEDIUM, PREINIT,Kenneth R Westerback
ARPSEND, ARPCHECK. Drop support for 'media', 'medium' and 'alias' specifications in dhclient.conf. Old leases still parse but these options now have no effect. Be more polite and decline all offers we don't accept. Fix a IMSG length check. Many expressions of support at various bars. ok henning@ deraadt@ beck@
2011-04-04show how to disable pool_debugTheo de Raadt
2011-03-25Bump timeout to 30s.Antoine Jacoutot
ok robert@
2011-03-24if daemon_flags=NO is set, just exitRobert Nagy
ok ajacoutot@
2011-03-23use ssh-keygen -A; ok deraadtKevin Steves
2011-03-23Update since ICMP6 redirects are disabled by default now.Federico G. Schwindt
After discussion with bluhm@, fgsch@, sthen@ and deraadt@ claudio@ and sthen@ ok.