Mailinglist Archive: opensuse-factory (745 mails)

< Previous Next >
Re: [opensuse-factory] Cannot boot after upgrading to Snapshot 20180120
  • From: Stefan Brüns <stefan.bruens@xxxxxxxxxxxxxx>
  • Date: Mon, 22 Jan 2018 18:54:57 +0100
  • Message-id: <3735125.7nTzDzV1Qj@pebbles>
On Monday, 22 January 2018 11:10:05 CET Thorsten Kukuk wrote:
On Mon, Jan 22, CnZhx wrote:
Maybe the OS now performs maintenance at boot because even the BtrFS now
uses systemd-timer for scheduling actions.

During the first boot with a new timer systemd finds out this timer
did never run before and starts it immeaditly.
If somebody knows how to tell systemd that btrfs-balance.timer should
run once a month, but not during the first 2 hours of a reboot ...

Thorsten

I found no way to specify this directly, but what might work is using a
"blocking" target, see e.g. the time-sync.target.

For the beginning, putting "After=default.target" should mitigate the problem.
It may slow down the login, but with some luck the user already had the
display manager idle around a bit.

Regards,

Stefan

--
Stefan Brüns / Bergstraße 21 / 52062 Aachen
home: +49 241 53809034 mobile: +49 151 50412019
< Previous Next >