Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 565146

Summary: app-backup/backintime 1.0.36-r2 does not run with anacron enabled
Product: Gentoo Linux Reporter: Stephan Litterst <stephan.litterst>
Component: Current packagesAssignee: Michael Weber (RETIRED) <xmw>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stephan Litterst 2015-11-08 15:50:40 UTC
I've installed backintime and configured it with "sudo backintime-kde4".
Everything works fine (e.g. cronjobs or backup every reboot) except running it with anacron.

I can see a crontab entry for root:
#Back In Time system entry, this will be edited by the gui:
*/15 * * * * test -x /usr/sbin/anacron && test -e /root/.config/backintime/anacrontab && /usr/sbin/anacron -s -t /root/.config/backintime/anacrontab -S /root/.local/share/backintime/anacron
which seems to be executed (grep anacron /var/log/messages):
Nov  8 16:13:37 gen2 anacron[2381]: Anacron 2.3 started on 2015-11-08
Nov  8 16:13:37 gen2 anacron[2381]: Normal exit (0 jobs run)

Unfortunately 0 backintime jobs have been run and no snapshots are visible in backintime-kde4.



Reproducible: Always

Steps to Reproduce:
1. start backintime-kde4 with sudo
2. select schedule with anacron
3. anacron starts but does not start a backintime job
Actual Results:  
anacron does not run a backintime job.

Expected Results:  
anacron starts a backintime job.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2015-11-09 09:46:05 UTC
Do you have any new informations about that? Does it still exist in backintime-1.1* ?
Comment 2 Stephan Litterst 2015-11-09 20:19:52 UTC
1.0.36-r2 is the stable version in gentoo.
I've opened a stable request (565150) for 1.1.4 and a verson bump ticket (565148) for 1.1.8.
As soon as a 1.1.* version is in stable I will check if the bug still exists...
Comment 3 Stephan Litterst 2015-12-08 20:38:43 UTC
with backintime 1.1.4 I'm getting the following when changing the settings:

Check snapshot folder: /mnt/backup
Clearing system Back In Time entries
crontab: usage error: file name must be specified for replace
usage:  crontab [-u user] file
        crontab [-u user] [ -e | -l | -r ]
                (default operation is replace, per 1003.2)
        -e      (edit user's crontab)
        -l      (list user's crontab)
        -r      (delete user's crontab)
Profile: Hauptprofil
Automatic backup: Wiederholend (anacron)
crontab: usage error: file name must be specified for replace
usage:  crontab [-u user] file
        crontab [-u user] [ -e | -l | -r ]
                (default operation is replace, per 1003.2)
        -e      (edit user's crontab)
        -l      (list user's crontab)
        -r      (delete user's crontab)
sh: Zeile 1: echo: Schreibfehler: Datenübergabe unterbrochen (broken pipe).
QObject::startTimer: QTimer can only be used with threads started with QThread
QObject::startTimer: QTimer can only be used with threads started with QThread
Comment 4 Stephan Litterst 2016-01-07 07:08:07 UTC
with backintime 1.1.8-r1 it works.