Debian Boot Sequence [Withdrawn]

New to Debian (Or Linux in general)? Ask your questions here!

Re: Debian Boot Sequence [Withdrawn]

Postby llewellen » 2018-05-27 20:13

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
llewellen
 
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Debian Boot Sequence [Withdrawn]

Postby Head_on_a_Stick » 2018-05-27 20:29

^ 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.
User avatar
Head_on_a_Stick
 
Posts: 8003
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian Boot Sequence [Withdrawn]

Postby llewellen » 2018-05-27 20:50

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]

Postby llewellen » 2018-05-27 20:51

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]

Postby llewellen » 2018-05-27 21:04

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
llewellen
 
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Debian Boot Sequence [Withdrawn]

Postby Head_on_a_Stick » 2018-05-27 21:22

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
User avatar
Head_on_a_Stick
 
Posts: 8003
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian Boot Sequence [Withdrawn]

Postby llewellen » 2018-05-27 22:27

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]

Postby llewellen » 2018-05-27 23:03

@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
llewellen
 
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Previous

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable