Hi Ludwig, Ludwig Nussel schrieb:
Did you actually read the rpmlint message?
entreon.noarch: W: non-executable-script /etc/cron.d/centstorage 0644 centreon.noarch: W: non-executable-script /etc/cron.d/centreon 0644 This text file contains a shebang or is located in a path dedicated for executables, but lacks the executable bits and cannot thus be executed. If the file is meant to be an executable script, add the executable bits, otherwise remove the shebang or move the file elsewhere.
remove the #!/bin/sh in those files and the warning will disappear.
OK, I will remove it. :)
Also a glance at the spec file shows several issues not covered by any automatic check:
194 echo $pre_version > /tmp/rpm_%{name}
Don't use world writeable directories for such hacks!
Do you have a suggestion ? perhaps /root/ ?
212 %{__cat} >> /etc/sudoers << EOF
*shudder* don't touch that file!
This is easy saying. Please tell me how to add needed stuff to sudoers without breaking perm/ownership.
240 sed -i -e "s,@FQDN@,$(hostname -f)," -e "s,@ALIAS@,$(hostname -s), ...
This will cause DNS lookups during install. If at all use the value from /etc/HOSTNAME instead.
I always thought: - at first files are read - at second dns is asked isn't it ?
cu Ludwig
Thanks Chris -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org