sbackup lock not stored in /var/lock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sbackup (Ubuntu) |
Fix Released
|
Medium
|
Oumar Aziz OUATTARA |
Bug Description
Binary package hint: sbackup
When I run sbackup it would not execute for several days.
After setting up cron to send me e-mail when executed, received e-mail stating "Another Simple Backup daemon already running: exiting"
I found an form posting for this message at: http://
The forum posting reported that "...problem was caused by a lock file left over in /root."
After examining the sbackup source code, I discovered that this poblem was caused by the location of the lock being redefined. In sbackupd "lockfile" is initialized to point to /var/lock/
Thus when sbackupd is executed by root the current directory is /root, thus the lock is set in /root.
Changed in sbackup: | |
assignee: | nobody → desktop-bugs |
Changed in sbackup: | |
importance: | Undecided → Medium |
Changed in sbackup: | |
status: | Fix Committed → Fix Released |
Indeed I see sbackup locks at least under /root and /var/run. End result is sbackup fails.