Duplicated entries in the systemd service journal
bdaase opened this issue · comments
Using the mentioned snap-sync systemd service from the man page seems to produce duplicated entries in the journal.
journalctl -u snap-sync.service -b 0
normally looks as follows for me then:
Feb 03 00:00:22 xps-9370 systemd[1]: Started Run snap-sync backup.
Feb 03 00:00:22 xps-9370 snap-sync[261393]: snap-sync version 0.7, Copyright (C) 2016-2021 Wes Barnett
Feb 03 00:00:22 xps-9370 snap-sync[261393]: snap-sync comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the license for more information.
Feb 03 00:00:22 xps-9370 sudo[261412]: root : PWD=/ ; USER=bjoern ; COMMAND=/usr/bin/id -u
Feb 03 00:00:22 xps-9370 sudo[261421]: root : PWD=/ ; USER=bjoern ; ENV=DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus ; COMMAND=/usr/bin/notify-send -a snap-sync Backup started Starting backups to 62af43f8-f34d-4856-b94a-942fdded4ef4 subvolid=5... --icon=dialog-information
Feb 03 00:00:22 xps-9370 snap-sync[261462]: You selected the disk with uuid=62af43f8-f34d-4856-b94a-942fdded4ef4, subvolid=5.
Feb 03 00:00:22 xps-9370 snap-sync[261401]: You selected the disk with uuid=62af43f8-f34d-4856-b94a-942fdded4ef4, subvolid=5.
Feb 03 00:00:22 xps-9370 snap-sync[261464]: The disk is mounted at '/run/media/bjoern/intenso_external_usb3.0'.
Feb 03 00:00:22 xps-9370 snap-sync[261401]: The disk is mounted at '/run/media/bjoern/intenso_external_usb3.0'.
Feb 03 00:00:22 xps-9370 snap-sync[261393]: Interactively cycling through all snapper configurations...
Feb 03 00:00:22 xps-9370 snap-sync[261489]: Creating new local snapshot for 'home' configuration...
Feb 03 00:00:22 xps-9370 snap-sync[261401]: Creating new local snapshot for 'home' configuration...
Feb 03 00:00:23 xps-9370 snap-sync[261501]: Will backup /home/.snapshots/371/snapshot to /run/media/bjoern/intenso_external_usb3.0/@home/home/371//snapshot
Feb 03 00:00:23 xps-9370 snap-sync[261401]: Will backup /home/.snapshots/371/snapshot to /run/media/bjoern/intenso_external_usb3.0/@home/home/371//snapshot
Feb 03 00:00:23 xps-9370 snap-sync[261522]: Creating new local snapshot for 'root' configuration...
Feb 03 00:00:23 xps-9370 snap-sync[261401]: Creating new local snapshot for 'root' configuration...
Feb 03 00:00:23 xps-9370 snap-sync[261530]: Will backup //.snapshots/517/snapshot to /run/media/bjoern/intenso_external_usb3.0/@/root/517//snapshot
Feb 03 00:00:23 xps-9370 snap-sync[261401]: Will backup //.snapshots/517/snapshot to /run/media/bjoern/intenso_external_usb3.0/@/root/517//snapshot
Feb 03 00:00:23 xps-9370 snap-sync[261533]: Performing backups...
Feb 03 00:00:23 xps-9370 snap-sync[261401]: Performing backups...
Feb 03 00:00:23 xps-9370 sudo[261539]: root : PWD=/ ; USER=bjoern ; COMMAND=/usr/bin/id -u
Feb 03 00:00:23 xps-9370 sudo[261544]: root : PWD=/ ; USER=bjoern ; ENV=DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus ; COMMAND=/usr/bin/notify-send -a snap-sync Backup in progress Backing up home configuration. --icon=dialog-information
Feb 03 00:00:23 xps-9370 snap-sync[261562]: Sending incremental snapshot for 'home' configuration...
Feb 03 00:00:23 xps-9370 snap-sync[261401]: Sending incremental snapshot for 'home' configuration...
Feb 03 00:00:23 xps-9370 snap-sync[261564]: At subvol /home/.snapshots/371/snapshot
Feb 03 00:00:52 xps-9370 snap-sync[261566]: At snapshot snapshot
Feb 03 00:00:52 xps-9370 snap-sync[261597]: Deleting old snapshot for home...
Feb 03 00:00:52 xps-9370 snap-sync[261401]: Deleting old snapshot for home...
Feb 03 00:00:52 xps-9370 snap-sync[261602]: Tagging local snapshot as latest backup for 'home' configuration...
Feb 03 00:00:52 xps-9370 snap-sync[261401]: Tagging local snapshot as latest backup for 'home' configuration...
Feb 03 00:00:52 xps-9370 snap-sync[261401]: Backup complete for 'home' configuration.
Feb 03 00:00:52 xps-9370 sudo[261610]: root : PWD=/ ; USER=bjoern ; COMMAND=/usr/bin/id -u
Feb 03 00:00:52 xps-9370 sudo[261615]: root : PWD=/ ; USER=bjoern ; ENV=DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus ; COMMAND=/usr/bin/notify-send -a snap-sync Backup in progress Backing up root configuration. --icon=dialog-information
Feb 03 00:00:53 xps-9370 snap-sync[261636]: Sending incremental snapshot for 'root' configuration...
Feb 03 00:00:53 xps-9370 snap-sync[261401]: Sending incremental snapshot for 'root' configuration...
Feb 03 00:00:53 xps-9370 snap-sync[261637]: At subvol //.snapshots/517/snapshot
Feb 03 00:02:14 xps-9370 snap-sync[261639]: At snapshot snapshot
Feb 03 00:02:14 xps-9370 snap-sync[261723]: Deleting old snapshot for root...
Feb 03 00:02:14 xps-9370 snap-sync[261401]: Deleting old snapshot for root...
Feb 03 00:02:14 xps-9370 snap-sync[261729]: Tagging local snapshot as latest backup for 'root' configuration...
Feb 03 00:02:14 xps-9370 snap-sync[261401]: Tagging local snapshot as latest backup for 'root' configuration...
Feb 03 00:02:14 xps-9370 snap-sync[261401]: Backup complete for 'root' configuration.
Feb 03 00:02:14 xps-9370 snap-sync[261733]: Done!
Feb 03 00:02:14 xps-9370 snap-sync[261401]: Done!
Feb 03 00:02:14 xps-9370 sudo[261739]: root : PWD=/ ; USER=bjoern ; COMMAND=/usr/bin/id -u
Feb 03 00:02:14 xps-9370 sudo[261743]: root : PWD=/ ; USER=bjoern ; ENV=DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus ; COMMAND=/usr/bin/notify-send -a snap-sync Finished Backups to 62af43f8-f34d-4856-b94a-942fdded4ef4 complete! --icon=dialog-information
Feb 03 00:02:14 xps-9370 systemd[1]: snap-sync.service: Succeeded.
Feb 03 00:02:14 xps-9370 systemd[1]: snap-sync.service: Consumed 28.590s CPU time.