Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#14206 closed bug (duplicate)

Update system time after network up

Reported by: vidrep Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: Servers/launch_daemon Version: R1/Development
Keywords: Cc:
Blocked By: #9348 Blocking:
Platform: All

Description

Fresh install of hrev52014

After first boot, I could not do pkgman updates nor would web pages load without SSL certification error notifications.

This will happen if the clock is out of sync.

Upon first boot, Haiku should invoke an alert to check the time and set the clock if necessary, so as to avoid this issue.

Screenshots attached

Attachments (3)

pkgman_update.txt (89 bytes ) - added by vidrep 6 years ago.
screenshot1.png (12.1 KB ) - added by vidrep 6 years ago.
screenshot2.png (68.3 KB ) - added by vidrep 6 years ago.

Download all attachments as: .zip

Change History (9)

by vidrep, 6 years ago

Attachment: pkgman_update.txt added

by vidrep, 6 years ago

Attachment: screenshot1.png added

by vidrep, 6 years ago

Attachment: screenshot2.png added

comment:1 by diver, 6 years ago

Component: - GeneralPreferences/Time & Date

It could be that network is not ready to run Time --update

See https://git.haiku-os.org/haiku/tree/data/launch/user#n30

comment:2 by pulkomandy, 6 years ago

An alert for this would be annoying. We should review the boot process so that Time --update is run when network become ready. Can Launch Daemon help us there?

comment:3 by vidrep, 6 years ago

I had in mind a notification on first boot post install, such as what we currently use for daylight savings time changes.

comment:4 by waddlesplash, 6 years ago

Component: Preferences/Time & DateServers/launch_daemon
Owner: changed from nobody to axeld
Summary: SSL errors if clock not setUpdate system time after network up

The launch_daemon doesn't have a "network up" trigger yet. Reassign to axeld and switch component.

comment:5 by diver, 6 years ago

Blocked By: 9348 added
Resolution: duplicate
Status: newclosed

comment:6 by nielx, 5 years ago

Remove milestone for tickets with status = closed and resolution != fixed

Note: See TracTickets for help on using tickets.