Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#1
I have a couple of files that won't go away in my /tmp. They are rather small, but I get a little error message on boot about not being able to cleanup /tmp.

so far, I have run fsck, with no errors. I have tried deleting the files as root from a livecd, and that didn't work either. Any ideas?
Alanarchy
Posts 0
Alanarchy
#2
Any ideas?
Yes! Don't download that kind of stuff any more!!!!

__{{emoticon}}__ __{{emoticon}}__ __{{emoticon}}__

Try shred, or bleachbit.
Posts: 765
rust collector
Joined: 27 Dec 2011
#3
or remove /tmp, and make a new one?
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#4
@alanarchy : __{{emoticon}}__

@rc - well, it doens't seem to want to let me.

the offending file seems to be /var/tmp/antix_usb/boot/extlinux/ldlinux.sys although why that file is there I do not know. I cannot delete it as root nor as user.

**edit** edit to correct filename
Last edited by dolphin_oracle on 03 Jan 2014, 00:27, edited 1 time in total.
Posts: 765
rust collector
Joined: 27 Dec 2011
#5
rm -r /tmp doesn't work?
Alanarchy
Posts 0
Alanarchy
#6
All I have in there is .spacefm.socket:0-alan and .X0-lock.

I notice /var/tmp has identical files so is there some kind of sym-link?
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#7

Code: Select all

harry@biker:~
$ cd /tmp
harry@biker:/tmp
$ ls
orbit-harry  xmms_harry.0
harry@biker:/tmp
$ cd orbit-harry
harry@biker:/tmp/orbit-harry
$ ls
harry@biker:/tmp/orbit-harry
$ cd
harry@biker:~
$ cd /var/tmp
harry@biker:/var/tmp
$ ls
orbit-harry  xmms_harry.0
harry@biker:/var/tmp
$ cd orbit-harry
harry@biker:/var/tmp/orbit-harry
$ ls
harry@biker:/var/tmp/orbit-harry

I'm running streaming radio in XMMS and orbit-harry is empty. Are these hidden files D,O?
Maybe you found a bug with antix_usb/boot/extlinux/ldlinux.sys script?
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#8
yes, /tmp is a symlink. I removed it per rc's instruction, and it rendered my system nearly inoperable. I put the link back and things are working, but I still can't get rid of that file.

plus I've tried to remove the file from a livecd session and that didn't work either. its only 32K but those little red warnings in the boot text are bugging me. as far as I can tell I have no practicle system impact other than my tmp directory never deletes anything.
Posts: 765
rust collector
Joined: 27 Dec 2011
#9
If we are going to be like this....ok...

kberg@antixtest:~
$ la /tmp
.ICE-unix .org.chromium.Chromium.Hdi1VF .X0-lock
mc-kberg .org.chromium.Chromium.Nc5W3l .X11-unix
orbit-kberg pulse-PKdhtXMmr18n
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#10
here's what's in my /tmp

Code: Select all

antix_usb
kdecache-dolphin
kde-dolphin
ksocket-dolphin
orbit-dolphin
plugtmp
plugtmp-1
plugtmp-2
plugtmp-3
plugtmp-4
pulse-PKdhtXMmr18n
spacefm.tmp
zim-dolphin
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#11
pulse isn't even installed anymore. I set that up a long time ago when messing around with my microphone and screencaster. Iceweasel apparently needs orbit-dolphin or it won't open. I assume kde-dolphin is there due to the fact that I use kdenlive. but this thing should empty on bootup and it doesn't due to that ldlinux.sys file.

I did install this setup from a liveusb though so maybe its related.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#12
Hmmm. Mine is the emptiest and this box has been through a major face lift. Have you ran the antix2usb script recent like?
Maybe it is a bug.

Edit:
I did install this setup from a liveusb though so maybe its related.
Sure looks like it. Was it remastered 1st? Since you have KDE stuff is why I ask.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#13
Yeah, sort of. I used a large usb pendrive and ran with persistence to install all my stuff. That way whenever I need to reinstall I already have my apps. There are a couple of other bugs when you install this way (rc.local still does some livecd stuff without an edit), but I haven't had a problem lately.
Posts: 1,444
skidoo
Joined: 09 Feb 2012
#14

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://lesbonscomptes.com/pages/extattrs.html"
linktext was:"http://lesbonscomptes.com/pages/extattrs.html"
====================================


perhaps immutable attribute has been set for one/some of the target files?
(if so, needs to be unset else deletion cannot be performed)
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#15
Try this:

chattr -i /var/tmp/antix_usb/boot/extlinux/ldlinux.sys
rm /var/tmp/antix_usb/boot/extlinux/ldlinux.sys

from here:


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://archtr.org/wiki/index.php?title=Syslinux"
linktext was:"http://archtr.org/wiki/index.php?title=Syslinux"
====================================