Description of problem: Environment variable in /etc/sysconfig/atop is not reflected. Version-Release number of selected component (if applicable): 1.23-8 How reproducible: change variable in /etc/sysconfig/atop, and restart atop Steps to Reproduce: 1. Modify INTERVAL to 60 2. service atop restart 3. $ ps auxww|grep atop Actual results: /usr/bin/atop -a -w /var/log/atop/atop_20100804 600 Expected results: /usr/bin/atop -a -w /var/log/atop/atop_20100804 60 Additional info: The environment variables is overwritten in followings. /usr/bin/atopd /etc/cron.daily/atop I have changed operator from || to &&, then it works correctly. - [ -z $INTERVAL ] || INTERVAL=600 + [ -z $INTERVAL ] && INTERVAL=600
looks like ti be a duplicate of the https://bugzilla.redhat.com/show_bug.cgi?id=609124
Thanks. This bug is duplicate. *** This bug has been marked as a duplicate of bug 609124 ***