summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/utx
Commit message (Collapse)AuthorAgeFilesLines
* Unbreak rcorder when MK_UTX == no by moving utx from REQUIRE: in LOGIN tongie2015-02-131-0/+1
| | | | | | BEFORE: in utx MFC after: 1 week
* Simply things so that "#REQUIRE: FILESYSTEMS" means the fileobrien2012-09-111-1/+1
| | | | | | | | | | | systems are fully "ready to go". 'FILESYSTEMS' states: "This is a dummy dependency, for services which require file systems to be mounted before starting." However, we have 'var' which is was run after 'FILESYSTEMS' and can mount /var if it already isn't mounted. Furthermore, several scripts cannot use /var until 'cleanvar' has done its thing. Thus "FILESYSTEMS" hasn't really meant all critical file systems are fully usable.
* Avoid using BEFORE in the utx rc script.ed2012-02-121-1/+0
| | | | Requested by: dougb
* Move utmpx handling out of init(8).ed2012-02-111-0/+18
This has the following advantages: - During boot, the BOOT_TIME record is now written right after the file systems become writable, but before users are allowed to log in. This means that they can't cause `hidden logins' by logging in right before init(8) kicks in. - The pututxline(3) function may potentially block on file locking, though this is very rare to occur. By placing it in an rc script, the user can still kill it with ^C if needed. - Most importantly: jails don't use init(8). This means that a force reboot of a system running jails will leave stale entries in the accounting database of the jails individually.
OpenPOWER on IntegriCloud