Bugzilla – Bug 105331
Empty file /success
Last modified: 2005-08-18 12:41:57 UTC
After updating to 10.0 beta1, I found an empty file /success on my harddisk. Who or what is creating this file? Should it stay there intentional or is its deletion just forgotten?
Please attatch y2logs and timestamp of that file.
# ls -l success -rw-r--r-- 1 root root 0 2005-08-15 21:04 success I doubt that it has something to do with YaST - nearly every file in /var/log/YaST2 is two days older. Only y2start.log is newer that /success. Aditionally, I found the problem in an init script, so: no y2logs this time ;-) I'll attach /var/log/messages instead - please note it ends at Aug 15 21:03:56 with a reboot (init 6). (I didn't start 10.0 beta since then.) One moment... # grep "/success" /etc/init.d/* Found it: It's in /etc/init.d/halt (and its symlink /etc/init.d/reboot) in line 67: # Set a flag that we had success upto this point > /success It seems the / filesystem is still mounted writeable at this moment...
Created attachment 46471 [details] /var/log/messages
So the file is in fact a flag and will also be removed in boot.localfs. Everything is fine.