Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debian Boot Sequence [Withdrawn]

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
llewellen
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Debian Boot Sequence [Withdrawn]

#16 Post by llewellen »

Does apt-daily.service actually delay your desktop startup time?

As observed in the bug report, the time reported by `systemd-analyze` does *not* represent the time taken to achieve a usable desktop but rather indicates when all of the startup processes have finished.

Have you timed how long it takes for your box to show a login prompt with a stopwatch and compared it with the command output'?
Power on to login window = 70 seconds. Almost identical to what the command produced.
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Debian Boot Sequence [Withdrawn]

#17 Post by Head_on_a_Stick »

^ Disable it then:

Code: Select all

# systemctl disable apt-daily{,-upgrade}.timer
It just runs `apt update` every day, see /usr/lib/apt/apt.systemd.daily for the gory details.
deadbang

llewellen
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Debian Boot Sequence [Withdrawn]

#18 Post by llewellen »

Yes but as my previous quote from Ask Ubuntu said, perhaps it shouldn't be doing that during boot. The scripit that was proposed there would delay it running until after the boot finished. Do you agree with that approach or should I just kill it altogether since I do run apt update apt upgrade manually everyday anyway.
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope

llewellen
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Debian Boot Sequence [Withdrawn]

#19 Post by llewellen »

Sorry, I just re-read you post and you advise to disable it. That's what I will do.
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope

llewellen
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Debian Boot Sequence [Withdrawn]

#20 Post by llewellen »

I ran # systemctl disable apt-daily #but the boot still takes 65 seconds.

It's hanging up at a line:

/dev/sda2 : clean, 179382/30236672 files 3866965/120945920 blocks

???
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Debian Boot Sequence [Withdrawn]

#21 Post by Head_on_a_Stick »

llewellen wrote:I ran # systemctl disable apt-daily
You have to disable the .timer units (there are two) rather than the .service (which is not directly enabled), see my last post for the command you need.

Check afterwards with:

Code: Select all

systemctl list-timers
deadbang

llewellen
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Debian Boot Sequence [Withdrawn]

#22 Post by llewellen »

Head_on_a_Stick wrote:
llewellen wrote:I ran # systemctl disable apt-daily
You have to disable the .timer units (there are two) rather than the .service (which is not directly enabled), see my last post for the command you need.

Check afterwards with:

Code: Select all

systemctl list-timers
Boot time is still taking approx 60-70 seconds from power to login

Code: Select all

 drew@dell:~$ su
Password: 
root@dell:/home/drew# systemctl disable apt-daily{,-upgrade}.timer
root@dell:/home/drew# systemctl list-timers
NEXT                         LEFT       LAST                         PASSED   UN
Sun 2018-05-27 16:20:14 PDT  9min left  n/a                          n/a      sy
Sun 2018-05-27 17:03:34 PDT  52min left Sun 2018-05-27 16:03:10 PDT  7min ago an

2 timers listed.
Pass --all to see loaded but inactive timers, too.
lines 1-6/6 (END)
 
Note: I ran the disable command and it showed two files as being removed but the boot time didn't change at all. So, I re-ran the disable command then ran list-timers.
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope

llewellen
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Debian Boot Sequence [Withdrawn]

#23 Post by llewellen »

@Head_on_a_Stick: You have already spent an overly generous amount of time helping me with this and I don't want to impose on you any longer.

At the next Stable release I'm going to do a fresh install of that so I'm starting with a completely clean slate. I'm going to do a net install and then learn my way along as I install and add what I need.

In the meantime, a slow boot now with Testing is not a huge deal and I can live with it for the time being.

Thanks again :)
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope

Post Reply