Bug 43493

Summary: /etc/rsolv.conf created early when in diskless or /etc RO flashdisk boot mode
Product: Base System Reporter: dirkx
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description dirkx 2002-09-29 22:50:06 UTC
  /etc/resolv.conf is created very early using kenv in rc or rc.d/diskless.

It would be nice if it was created (or be tried to created again) after the MD version of /etc (or /var with ln -s /etc/resolv->/var/run/resolv.con) creation on diskless or RO environments.

Or at least perhaps protected to see if /etc is RO or RW.

Fix: 

Perhaps create /etc/resolv.conf after rc.d/diskless
Comment 1 dirkx 2002-09-29 23:04:30 UTC
Please close - my / user error which was fixed after a cvsup to -HEAD.

Sorry for the noice.

Dw
Comment 2 Maxim Konovalov freebsd_committer freebsd_triage 2002-09-30 08:13:07 UTC
State Changed
From-To: open->closed

Closed at submitter's request.