SPECS (AC-branch): rpm.spec - add /etc/cron.daily/rpm -- caches pa...

Radoslaw Zielinski radek at karnet.pl
Sat Jan 8 16:20:15 CET 2005


Paweł Żurowski <pzurowski at pld-linux.org> [07-01-2005 17:34]:
> Dnia 07-01-2005, pią o godzinie 18:21 +0200, Elan Ruusamäe napisał(a):
>> On Friday 07 January 2005 14:13, Paweł Żurowski wrote:
>>> another idea:
>>>         in /etc/sysconfig/rpm:
>>>                 +RPM_CRON_RPMQA_CACHE=no
>>>         in /etc/cron.daily/rpm:
>>>                 +. /etc/sysconfig/rpm
>>>                 +
>>>                 +if [ ${RPM_CRON_RPMQA_CACHE:-no} != "yes" ]; then exit
>>>                 0; fi
>>>                 +
>> seems fair. added

Glen, I don't like the way you're adding your specific system
configuration to core PLD packages, and therefore *my* system.  Evil
"mount /boot", now this...  I'd appreciate if you tried to do it in a
way that doesn't have impact on anything else; preferably with optional
subpackages.

>> but perhaps default=yes ? :)
> i think rather default=no, let's ask others (CC: pld-devel-pl)

Definitely no.  And I don't like the idea of useless script in my
cron.daily queue either; I'd vote for a subpackage.  Not that "sh
something" once a day would kill my machines; it's just *another*
useless piece of nothing, *another* line in `find /etc`, *another*
variable in /etc/sysconfig/system, *another*... wasted inode. ;-)

Besides, using /var/log (do I remember correctly?  it's in /var/log?)
for a *cache* is a FHS violation.  /var/cache/useless/.

-- 
Radosław Zieliński <radek at karnet.pl>
[ GPG key: http://radek.karnet.pl/ ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /mailman/pipermail/pld-devel-en/attachments/20050108/a8dd764d/attachment-0002.bin


More information about the pld-devel-en mailing list