Bug 19651 - rsnapshot tries to create existing directory again.
Summary: rsnapshot tries to create existing directory again.
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-25 07:57 CEST by Doug Laidlaw
Modified: 2016-10-26 17:17 CEST (History)
2 users (show)

See Also:
Source RPM: rsnapshot-1.3.1-13.mga6
CVE:
Status comment:


Attachments

Description Doug Laidlaw 2016-10-25 07:57:23 CEST
Description of problem:
After rsnapshot has completed a backup as hourly.0, I believe that it should run the command "touch hourly.0".  This may be because it can take a while to complete hourly.0, and the timestamp when it started is fairly old.  I am told that the timestamp is fairly meaningless, anyway.

Now, in Cauldron, I am seeing:

"[25/Oct/2016:16:15:17] /usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded --exclude=*.iso* --exclude=/home/doug/.beagle/ --exclude=/home/doug/Download/ --exclude=/home/doug/torrentsdown/ --exclude=/home/doug/jigsaws/ --exclude=/home/doug/.VirtualBox/ --exclude=/home/doug/VirtualBox?VMs/ --exclude=/home/doug/.ccache/ --exclude=/home/doug/.electricsheep/ --exclude=/home/doug/.thumbnails/ --exclude=/home/doug/storage/ /home/doug /media/backup/rsnapshot/hourly.0/localhost/
[25/Oct/2016:16:25:50] mkdir -m 0755 -p /media/backup/rsnapshot/hourly.0/
[25/Oct/2016:16:25:50] /usr/bin/rsnapshot hourly: ERROR: Could not mkpath("/media/backup/rsnapshot/hourly.0/", 0, 0755);
[25/Oct/2016:16:25:50] rm -f /var/run/rsnapshot.pid"

The program finishes the job, and the backup is complete, then it tries to create hourly.0 again.  Naturally, it can't.

Because the backup itself is O.K., I rate this bug as low priority.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Doug Laidlaw 2016-10-25 11:25:02 CEST
I just ran rsnapshot from a root prompt in an Xterm.  It finished up as it should:

[25/Oct/2016:20:19:55] touch /media/backup/rsnapshot/hourly.0/
[25/Oct/2016:20:19:55] rm -f /var/run/rsnapshot.pid
[25/Oct/2016:20:19:55] /usr/bin/rsnapshot -v hourly: completed successfully
Comment 2 Marja Van Waes 2016-10-26 13:32:18 CEST
Assigning to all packagers collectively, since there is no registered maintainer for this package.

CC: (none) => mageia, marja11
Assignee: bugsquad => pkg-bugs

Comment 3 Doug Laidlaw 2016-10-26 17:17:52 CEST
Closing this as invalid.  I had moved my system to another drive, and that installation had quite a few issues.  I am now back using the drive I left (everything was still there) and this bug has disappeared.

Status: NEW => RESOLVED
Resolution: (none) => INVALID


Note You need to log in before you can comment on or make changes to this bug.