Mailinglist Archive: opensuse-buildservice (213 mails)

< Previous Next >
Re: [opensuse-buildservice] rpmlint and {non-,}executable-crontab-file
  • From: Ludwig Nussel <ludwig.nussel@xxxxxxx>
  • Date: Tue, 2 Jun 2009 13:08:42 +0200
  • Message-id: <200906021308.42879.ludwig.nussel@xxxxxxx>
Christian wrote:
Ludwig Nussel schrieb:
Don't use world writeable directories for such hacks!

Do you have a suggestion ? perhaps /root/ ?

/var/run would be a better place.

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.

You don't add stuff to the sudoers file. You could at most document
what changes are needed to enable sudo support. However, not
involving sudo all would be even better.

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 ?

Well, if you are lucky /etc/hosts will prevent an actual DNS lookup
but you can't rely on that.

cu
Ludwig

--
(o_ Ludwig Nussel
//\
V_/_ http://www.suse.de/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups