[Spacewalk-list] config management trouble once again
Jens Neu
jens.neu at biotronik.com
Mon Jul 9 10:13:15 UTC 2012
Dear all,
I have a Spacewalk managed file: "/etc/sudoers"
md5:f33b659f171218940fb8b1460fdd4226
spacewalk server is 1.5.1-1.el5, rhncfg-* is 5.10.9-1.el5,
spacewalk-client is 1.5.3-1.el5
When I deploy the file on a machine, sudo (all versions from 1.7 to 1.8.5)
complains:
[root at icinga-master ~]# rhn_check
[root at icinga-master ~]# md5sum /etc/sudoers
f33b659f171218940fb8b1460fdd4226 /etc/sudoers
[neu_j1 at master ~]$ sudo -i
sudo: >>> /etc/sudoers: syntax error near line 5 <<<
sudo: parse error in /etc/sudoers near line 5
[root at master ~]# cat /etc/sudoers
# Spacewalk managed
#
root ALL=(ALL) ALL
## Read drop-in files from /etc/sudoers.d (the # here does not mean a
comment)
#includedir /etc/sudoers.d
[root at master ~]#
It seems to be independent from (correct) contents of the file, the
problem is connected to the Spacewalk deployment. If visudo is called, it
complains also, Problem goes away as soon as you open all files
(/etc/sudoers and /etc/sudoers.d/*) with visudo and save them again (no
changes!).
any thoughts?
Jens Neu
Health Services Network Administration
www.biotronik.com
BIOTRONIK SE & Co. KG
Woermannkehre 1, 12359 Berlin, Germany
Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRA 6501
Vertreten durch ihre Komplementärin:
BIOTRONIK MT SE
Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRB 118866 B
Geschäftsführende Direktoren: Christoph Böhmer, Dr. Werner Braun, Dr.
Lothar Krings, Dr. Torsten Wolf
BIOTRONIK - A global manufacturer of advanced Cardiac Rhythm Management
systems and Vascular Intervention devices. Quality, innovation, and
reliability define BIOTRONIK and our growing success. We are innovators of
technologies like the first wireless remote monitoring system - Home
Monitoring®, Closed Loop Stimulation and coveted lead solutions as well as
state-of-the-art stents, balloons and guide wires for coronary and
peripheral indications. We highly invest in the development of drug
eluting devices and are leading the industry with our drug eluting
absorbable metal scaffold program.
This e-mail and the information it contains including attachments are
confidential and meant only for use by the intended recipient(s);
disclosure or copying is strictly prohibited. If you are not addressed,
but in the possession of this e-mail, please notify the sender immediately
and delete the document.
More information about the Spacewalk-list
mailing list