Opened 17 months ago

Closed 9 months 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:
Has a Patch: no 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 17 months ago.
screenshot1.png (12.1 KB ) - added by vidrep 17 months ago.
screenshot2.png (68.3 KB ) - added by vidrep 17 months ago.

Download all attachments as: .zip

Change History (8)

by vidrep, 17 months ago

Attachment: pkgman_update.txt added

by vidrep, 17 months ago

Attachment: screenshot1.png added

by vidrep, 17 months ago

Attachment: screenshot2.png added

comment:1 by diver, 17 months 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, 17 months 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, 17 months 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, 9 months 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, 9 months ago

Blocked By: 9348 added
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.