Opened 14 months ago

Closed 7 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 14 months ago.
screenshot1.png (12.1 KB) - added by vidrep 14 months ago.
screenshot2.png (68.3 KB) - added by vidrep 14 months ago.

Download all attachments as: .zip

Change History (8)

Changed 14 months ago by vidrep

Attachment: pkgman_update.txt added

Changed 14 months ago by vidrep

Attachment: screenshot1.png added

Changed 14 months ago by vidrep

Attachment: screenshot2.png added

comment:1 Changed 14 months ago by diver

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 Changed 14 months ago by pulkomandy

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 Changed 14 months ago by vidrep

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

comment:4 Changed 7 months ago by waddlesplash

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 Changed 7 months ago by diver

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