Bug 242048

Summary: etcupdate should acquire lock to avoid racing with another instance
Product: Base System Reporter: Xin LI <delphij>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me CC: emaste, jhb, kevans
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Xin LI freebsd_committer 2019-11-18 05:42:01 UTC
Currently etcupdate(8) does not acquire any lock prior to operation, but the operations are not re-entrant safe, for example, if the administrator performs another 'etcupdate' in a different SSH session, the etcupdate state would be damaged.