Discussion:
[Bug 233682] 12.0-RC2 - /etc/rc.d/devd takes VERY long at boot
b***@freebsd.org
2018-12-01 11:24:31 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233682

Bug ID: 233682
Summary: 12.0-RC2 - /etc/rc.d/devd takes VERY long at boot
Product: Base System
Version: 12.0-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: ***@FreeBSD.org
Reporter: ***@interia.pl

The /etc/rc.d/devd takes VERY long at the boot (waiting for something?).

This was not the case in 11.2-RELEASE.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-12-01 22:13:51 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233682

Mark Linimon <***@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Keywords| |regression
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-12-02 10:08:50 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233682

--- Comment #1 from ***@interia.pl ---
For the record, same with RC3.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-12-09 23:38:45 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233682

***@interia.pl changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |Not A Bug
Status|New |Closed

--- Comment #2 from ***@interia.pl ---
This was my fault.

Its not a bug.

Its because now my 'automount' - https://github.com/vermaden/automount - does
check ugen(4) devices for MTP services and that took too long at boot.

I disabled it at boot (first 45 seconds) and now devd(8) starts fast.

Used code for the record:
| BOOTTIME=$( sysctl -n kern.boottime | awk '{print $4}' | tr -d ',' )
| CURRTIME=$( date +%s )
| DIFFTIME=$(( ${CURRTIME} - ${BOOTTIME} ))
| if [ ${DIFFTIME} -lt 45 ]
| then
| exit 0
| fi

Regards and sorry for 'fake' bug.
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...