Joe_90
Moderator
Yes, I know what is calling ntp-sync. I fixed that already. Needs testing. But I think I will remove the cronjob.
Can you enlighten?
EDIT - ignore. Found it in StartEnigma.py
Can test if you wish.
Last edited:
Yes, I know what is calling ntp-sync. I fixed that already. Needs testing. But I think I will remove the cronjob.
So ignoring the cronjob for the time being... try these.Can you enlighten?
EDIT - ignore. Found it in StartEnigma.py
Can test if you wish.
May 11 17:29:22 ax61 cron.info crond[2113]: (CRON) INFO (Syslog will be used instead of sendmail.)
May 11 17:29:22 ax61 cron.info crond[2113]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 17% if used.)
May 11 17:29:22 ax61 kern.info kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
May 11 17:29:23 ax61 daemon.info avahi-daemon[2103]: Server startup complete. Host name is ax61.local. Local service cookie is 936921535.
May 11 17:29:23 ax61 daemon.info avahi-daemon[2103]: Service "FTP file server on ax61" (/services/ftp.service) successfully established.
May 11 17:29:24 ax61 daemon.info avahi-daemon[2103]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::2e0:4cff:fe0d:398e.
May 11 17:29:24 ax61 daemon.info avahi-daemon[2103]: New relevant interface wlan0.IPv6 for mDNS.
May 11 17:29:24 ax61 daemon.info avahi-daemon[2103]: Registering new address record for fe80::2e0:4cff:fe0d:398e on wlan0.*.
May 11 17:31:23 ax61 daemon.notice ntpdate[2046]: step time server 194.58.202.148 offset +113.065724 sec
May 11 17:31:24 ax61 daemon.err ntpdate[2119]: no server suitable for synchronization found
May 11 17:31:24 ax61 kern.warn kernel: UDF-fs: warning (device mmcblk0p1): udf_fill_super: No partition found (2)
May 11 17:31:24 ax61 kern.warn kernel: UDF-fs: warning (device mmcblk0p1): udf_fill_super: No partition found (2)
May 11 17:31:24 ax61 kern.info kernel: yaffs: dev is 187695105 name is "mmcblk0p1" rw
May 11 17:31:24 ax61 kern.info kernel: yaffs: passed flags ""
May 11 17:31:24 ax61 kern.debug kernel: yaffs: yaffs: Attempting MTD mount of 179.1,"mmcblk0p1"
May 11 17:31:24 ax61 kern.debug kernel: yaffs: yaffs: MTD device 1 either not valid or unavailable
May 11 17:31:25 ax61 kern.info kernel: yaffs: dev is 187695105 name is "mmcblk0p1" rw
May 11 17:31:25 ax61 kern.info kernel: yaffs: passed flags ""
May 11 17:31:25 ax61 kern.debug kernel: yaffs: yaffs: Attempting MTD mount of 179.1,"mmcblk0p1"
May 11 17:31:25 ax61 kern.debug kernel: yaffs: yaffs: MTD device 1 either not valid or unavailable
May 11 17:31:25 ax61 kern.info kernel: tntfs info (device mmcblk0p1, pid 2151): ntfs_fill_super(): fail_safe is enabled.
May 11 17:31:25 ax61 kern.warn kernel: UDF-fs: warning (device mmcblk0p3): udf_fill_super: No partition found (2)
May 11 17:31:25 ax61 kern.warn kernel: UDF-fs: warning (device mmcblk0p3): udf_fill_super: No partition found (2)
May 11 17:31:25 ax61 kern.info kernel: yaffs: dev is 187695107 name is "mmcblk0p3" rw
May 11 17:31:25 ax61 kern.info kernel: yaffs: passed flags ""
May 11 17:31:25 ax61 kern.debug kernel: yaffs: yaffs: Attempting MTD mount of 179.3,"mmcblk0p3"
May 11 17:31:25 ax61 kern.debug kernel: yaffs: yaffs: MTD device 3 either not valid or unavailable
May 11 17:31:25 ax61 kern.info kernel: yaffs: dev is 187695107 name is "mmcblk0p3" rw
May 11 17:31:25 ax61 kern.info kernel: yaffs: passed flags ""
May 11 17:31:25 ax61 kern.debug kernel: yaffs: yaffs: Attempting MTD mount of 179.3,"mmcblk0p3"
May 11 17:31:25 ax61 kern.debug kernel: yaffs: yaffs: MTD device 3 either not valid or unavailable
May 11 17:31:25 ax61 kern.info kernel: tntfs info (device mmcblk0p3, pid 2190): ntfs_fill_super(): fail_safe is enabled.
May 11 17:31:33 ax61 daemon.info automount[2071]: key "logs" not found in map source(s).
May 11 17:31:54 ax61 authpriv.info crond[2256]: pam_unix(crond:session): session opened for user root(uid=0) by (uid=0)
May 11 17:31:54 ax61 cron.info CROND[2257]: (root) CMD (/usr/bin/ntpdate-sync silent)
May 11 17:32:01 ax61 daemon.notice ntpdate[2261]: adjust time server 85.91.1.164 offset +0.007328 sec
May 11 17:32:01 ax61 cron.info CROND[2256]: (root) CMDEND (/usr/bin/ntpdate-sync silent)
May 11 17:32:01 ax61 authpriv.info CROND[2256]: pam_unix(crond:session): session closed for user root
Done it already.Don't bother with that.
I'll leave that for a while until my previous debug/messages files are looked at.Done it already.
This is a better ntpdate-sync script. Just exits if another is already running.
View attachment 63872
Yes. the comments imply that the backgrounding is done because of how ntpdate/ntpd run in systemd systems.So, in your new script all the lockfile creation and check is in the foreground, correct?
Yes. the comments imply that the backgrounding is done because of how ntpdate/ntpd run in systemd systems.
The locking (or whatever you call what is now there) has got nothing to do with this, so there's no reason to background it.
Yes. But the script might be used elsewhere. Since I didn't need to break the logic, I didn't.But doesn't vix use init, rather than systemd? Just asking.