~alpine/users

swclock on Alpine diskless

Details
Message ID
<iUOQ9RNazfYQSgC1O-fpaR453VhqTtVK6vQoWCxwU4ux5kBvUGjrX6zkIlHHdi2Dk_RJq501hTYtXD2bx--e9gdM5wy8AG5UCLguIrCBApo=@proton.me>
DKIM signature
missing
Download raw message
Any ideas on getting init.d/swclock to work in Alpine diskless mode?

Persistent storage filesystems are defined in /etc/fstab for LBU, APK cache, and the swclock file defined in conf.d/swclock[swclock_file]. The required filesystem isn't mounted when swclock runs in boot/shutdown (screenshots below). Modifying init./swclock[depend()] with "need localmount" causes boot errors and 60s shutdown delays. Other localmount depend() options failed too.

boot
https://github.com/user-attachments/assets/11b60f0e-32ed-48d5-b016-7488b5a95873

shutdown
https://github.com/user-attachments/assets/001a8f43-00bc-4817-9bda-499122765233

need-localmount-boot
https://github.com/user-attachments/assets/e98629f1-6825-4060-8c36-989587499077

need-localmount-shutdown
https://github.com/user-attachments/assets/796f1917-f16a-46d5-99c5-42e8f065ca4e
Reply to thread Export thread (mbox)