6+ minute apt-daily.service boot delay
NoOp
glgxg at sbcglobal.net
Mon Nov 14 23:53:32 UTC 2016
On 11/14/2016 02:03 PM, Tom H wrote:
> On Mon, Nov 14, 2016 at 9:12 PM, NoOp <glgxg at sbcglobal.net> wrote:
>> On 11/14/2016 7:36 AM, Oliver Grawert wrote:
>>> On So, 2016-11-13 at 18:11 -0800, NoOp wrote:
>>>> On 11/13/2016 03:51 PM, Karl Auer wrote:
>>>>> On Sun, 2016-11-13 at 14:42 -0800, NoOp wrote:
...
>>>>>
>>>>> That sort of delay is almost always either a failing hard disk or a
>>>>> network issue.
>>>>
>>>> Reboot after purging: bind9, miredo, clamav
>>>
>>> smells like
>>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739363
>>>
>>> (which slows down DNS resolution on boot ... as karl mentioned above,
>>> looks like a network issue, not like the fault of apt)
>>
>> That smells right... looking at syslogs with miredo installed I was seeing:
>> miredo-checkconf[1329]: Invalid host name “teredo-debian.remlab.net” at
>> line 6: Name or service not known
>> miredo-checkconf[1329]: Server address not specified
>> miredo-checkconf[1329]: Fatal configuration error
>> systemd[1]: miredo.service: Control process exited, code=exited status=255
>> systemd[1]: Failed to start Teredo IPv6 tunneling.
>> systemd[1]: miredo.service: Unit entered failed state.
>> systemd[1]: miredo.service: Failed with result 'exit-code'.
>>
>> I'll reinstall later today & check the result then.
>
> I assume that you mean re-install miredo!
Yeah :-)
>
> Both the Debian bug above and the following one
>
> https://bugs.launchpad.net/ubuntu/+source/miredo/+bug/1482069
>
> advise to add:
>
> After=network-online.target
> Wants=network-online.target
I'll give those a try.
>
> to "miredo.service" (preferably as a drop-in in
> "/etc/systemd/system/miredo.service.d/").
>
> It's due to the problem that systemd exposes the fact that depending
> on "network.target" - corresponding to the "$network" LSB target -
> isn't enough for certain services, including, apparently, mired.
>
Any idea on how to trigger apt-daily.service on a new boot? I think that
it has a 12 hour timer somewhere & I'd like to test it repeatedly.
More information about the ubuntu-users
mailing list