Comment # 28 on bug 1165780 from
(In reply to Franck Bui from comment #27)
> (In reply to Karl Mistelberger from comment #26)
> > With a fresh install of Tumbleweed 20200416 the problem no longer persists.
> > Units
> > btrfsmaintenance-refresh.path and btrfsmaintenance-refresh.service indeed
> > wait until local-fs.target is reached.
> 
> That should have always been the case otherwise that would be a bug.
> 

I ask users affected to report:
https://forums.opensuse.org/showthread.php/539905-How-to-fix-btrfsmaintenance?p=2933726#post2933726


> > However due to btrfsmaintenance-refresh.service being enabled the unit runs
> > during boot without /etc/sysconfig/btrfsmaintenance being changed:
> > 
> > [...]
> > 
> > Disabling btrfsmaintenance-refresh.service and enabling
> > btrfsmaintenance-refresh.path fixes this:
> > 
> 
> Which is the reason why I asked the point of enabling btrfsmaintenance
> service in comment #18.
> 
> Actually this service doesn't seem to need a [Install] section at all.

I agree. However you may want to load it at boot:

erlangen:~ # systemctl cat btrfsmaintenance-refresh.service 
# /etc/systemd/system/btrfsmaintenance-refresh.service
[Unit]
Description=Update cron periods from /etc/sysconfig/btrfsmaintenance

[Service]
ExecStart=/usr/share/btrfsmaintenance/btrfsmaintenance-refresh-cron.sh
systemd-timer
Type=oneshot

[Install]
WantedBy=multi-user.target
erlangen:~ #


You are receiving this mail because: