[Slackbuilds-users] leafnode: nasty side-effect on /var
g_r_a_n_t_ at bugsplatter.id.au
Fri Oct 31 16:16:05 UTC 2008
On Fri, 31 Oct 2008 10:30:22 -0500, you wrote:
>On Sun, 19 Oct 2008 03:41:30 +1100
>Grant <g_r_a_n_t_ at bugsplatter.id.au> wrote:
>> Hi Andrew,
>> On Sat, 18 Oct 2008 11:07:43 +1100, you wrote:
>> >On Sat, Oct 18, 2008 at 09:14:50AM +1100, Grant wrote:
>> >> The leafnode-2 slackbuild killed my system! Panic!
>> >No more so than the idea that my script might have killed someone's
>> >system :-).
>> >> Actually the bugger did a permissions o-rx on /var, killing itself
>> >> and web server and...
>> >Just to be sure I ran the script again and I cannot duplicate your
>> >findings. On my own system:
>> >drwxr-xr-x 17 root root 4096 2008-10-18 10:43 var
>> Well, I just built the package again, and:
>> root at deltree:/opt/src/xxx/leafnode# tar xzf
>> root at deltree:/opt/src/xxx/leafnode# ls -l total 456
>> drwxr-xr-x 3 root root 72 2008-10-19 03:27 etc/
>> drwxr-xr-x 2 root root 112 2008-10-19 03:27 install/
>> -rw-r--r-- 1 root root 466579 2008-10-19 03:27
>> leafnode-2.0.0.alpha20080904a-i486-1_SBo.tgz drwxr-xr-x 6 root
>> root 144 2008-10-19 03:27 usr/ drwxrwx--- 3 root root 72
>> 2008-10-19 03:27 var/
>> Guess I'll install from source. Did I mention somewhere this is on
>> slack-11.0? Sorry if I forgot that.
>> Suspect: '--localstatedir=/var \' on line 68?? I haven't checked
>> the source.
Not the above suspect, I haven't gone back to source to trace what went awry.
>FWIW, I can't reproduce this either. It almost surely can't be the
>build script doing -- did the same thing happen with a manual build
No, but I had a little trouble with permissions, had to set them up properly,
something had cleared world permissions also under /var/<forgot_what>. Oh,
and permissions on /tmp were wrecked too, had to fix the cleared world perms
there -- cron jobs run as user were failing 'cos no /tmp file creation :(
But this could have been left over from the /var oddness, took a while for
me to notice another process failing.
Anyway, leafnode-2 built from source is running okay except sometimes it
stops with a stuck lock file that I have to delete manually and run
fetchnews again. I have it setup for once/hour operation but ISP NNTP
connections have lots of packet loss, which is why I'm running leafnode
in the first place. Using two NNTP servers, news.motzarella.org + ISP's
netnews.dodo.com.au, both on 90 second timeout
3am here, hope this makes some sense :)
More information about the SlackBuilds-users