J'ai un framberry pi et chaque redémarrage je vois cette sortie en dernier:
root@RaspberryPi:~# last | grep boot reboot system boot 4.4.0-1055-raspi Thu Jan 1 01:00 still running reboot system boot 4.4.0-1055-raspi Thu Jan 1 01:00 still running reboot system boot 4.4.0-1055-raspi Thu Jan 1 01:00 - 23:01 (17305+22:01) reboot system boot 4.4.0-1055-raspi Thu Jan 1 01:00 - 23:01 (17305+22:01) reboot system boot 4.4.0-1055-raspi Thu Jan 1 01:00 - 23:01 (17305+22:01)
C'est en dépit d'avoir à la fois fake-hwclock et un RTC matériel installé.
Actuellement, le service pour fake-hwclock.service commence avant sysinit.target, comme ceci:
[Unit] Before=sysinit.target [Service] ExecStart=/sbin/fake-hwclock load [Install] WantedBy=sysinit.target
Comment puis-je l'exécuter avant que / var / log / wtmp soit mis à jour?