Page MenuHomePhabricator

Equuleus: "reboot at 04:00" command not working
Open, Requires assessmentPublicBUG

Description

vyos@vyos:~$ reboot at 04:00
Unit systemd-shutdownd.service could not be found.
Shutdown is not scheduled

Details

Difficulty level
Unknown (require assessment)
Version
1.3-rolling-201912021432
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

c-po created this task.Mon, Dec 2, 7:56 PM
Viacheslav added a subscriber: Viacheslav.EditedWed, Dec 4, 3:13 PM
vyos@1.3-roll:~$ sh version 
Version:          VyOS 1.3-rolling-201912040242

vyos@1.3-roll:~$ reboot at 04:00
Shutdown scheduled for Thu 2019-12-05 04:00:00 UTC
vyos@1.3-roll:~$

Maybe we need to use "systemd-reboot" and "systemd-poweroff.service"?

root@1:/# systemctl status systemd-shutdownd.service
Unit systemd-shutdownd.service could not be found.

root@1:/# systemctl status systemd-reboot.service
โ— systemd-reboot.service - Reboot
   Loaded: loaded (/lib/systemd/system/systemd-reboot.service; static; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:systemd-halt.service(8)

root@1:/# systemctl status systemd-poweroff.service
โ— systemd-poweroff.service - Power-Off
   Loaded: loaded (/lib/systemd/system/systemd-poweroff.service; static; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:systemd-halt.service(8)
pasik added a subscriber: pasik.Wed, Dec 4, 3:23 PM

I agree. If it works in a way that is consistent with what the command promises, let's use it.