Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#66721 - [btrfs-progs] systemd timers use incorrect WantedBy=multi-user.target
Attached to Project:
Arch Linux
Opened by Nils (nlswrnr) - Wednesday, 20 May 2020, 12:12 GMT
Last edited by Sébastien Luttringer (seblu) - Thursday, 21 May 2020, 08:37 GMT
Opened by Nils (nlswrnr) - Wednesday, 20 May 2020, 12:12 GMT
Last edited by Sébastien Luttringer (seblu) - Thursday, 21 May 2020, 08:37 GMT
|
DetailsSummary and Info:
While for system timers it is technically possible to use a [Install] WantedBy=multi-user.target section, the correct way is to use [Install] WantedBy=timers.target The timers in most packages do it right, however these two/four timers do not: ./community/gitlab/repos/community-x86_64/gitlab-backup.timer ./community/gitlab/trunk/gitlab-backup.timer ./packages/btrfs-progs/repos/core-x86_64/btrfs-scrub@.timer ./packages/btrfs-progs/trunk/btrfs-scrub@.timer Steps to Reproduce: Grep all packages in both community.git and packages.git: grep -R --include="*.timer" WantedBy=multi-user . Steps to Fix: Simply replace [Install] WantedBy=multi-user.target with [Install] WantedBy=timers.target |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Thursday, 21 May 2020, 08:37 GMT
Reason for closing: Fixed
Additional comments about closing: btrfs-progs-5.6.1-3
Thursday, 21 May 2020, 08:37 GMT
Reason for closing: Fixed
Additional comments about closing: btrfs-progs-5.6.1-3
Comment by Eli Schwartz (eschwartz) -
Wednesday, 20 May 2020, 12:20 GMT
- Field changed: Attached to Project (Pacman → Arch Linux)
- Field changed: Summary (Several systemd timers use incorrect WantedBy=multi-user.target → [btrfs-progs] systemd timers use incorrect WantedBy=multi-user.target)
How on earth is this supposed to be a bug in the /usr/bin/pacman program???
Comment by Nils (nlswrnr) -
Wednesday, 20 May 2020, 12:21 GMT
Patches attached
Comment by Nils (nlswrnr) -
Wednesday, 20 May 2020, 12:24 GMT
Sorry for the incorrect report, I am unfamiliar with this tool and didn't know if/how I could select the project the ticket was going to.
Comment by Eli Schwartz (eschwartz) -
Wednesday, 20 May 2020, 15:13 GMT
If you go to https://www.archlinux.org/packages/core/x86_64/btrfs-progs/ the "Package Details" sidebar has a link to "Add New Bug" which automatically handles assigning to the correct project and component.
Comment by Nils (nlswrnr) -
Wednesday, 20 May 2020, 19:21 GMT
Ah I see. I searched the entire package tree and didn't think of reporting them individually. Sorry again.
0001-community-systemd-timers...
(1.1 KiB)