Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 310773

Summary: net-misc/chrony-1.24 Ebuild "unintelligently" adds the -s argument when it shouldn't.
Product: Gentoo Linux Reporter: Walther <walther.md>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: tove
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Walther 2010-03-22 18:28:02 UTC
The ebuild auto adds the -s flag to the server startup if the "rtcfile" string is found in the chrony config.

But using grep -q 'rtcfile' "${CFGFILE}" && ARGS="${ARGS} -s"  is the wrong way to do this. What if the rtcfile line happens to be commented?

Try grep -q '^rtcfile' "${CFGFILE}" && ARGS="${ARGS} -s" next time, okay? The same applies to dumponexit.

Reproducible: Always
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2010-03-23 09:12:41 UTC
The anchors were lost while fixing bug 279477.
<http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/chrony/files/chronyd.conf?r1=1.5&r2=1.6>

Fixed. Thanks
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2010-03-23 09:15:15 UTC
Reassign it first
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2010-03-23 09:15:59 UTC
.