Page MenuHomeVyOS Platform

systemd dependencies issues
Open, Requires assessmentPublicBUG

Description

what do you see:

run sudo systemctl restart vyos-hostsd
found yourself locked out of the router
iptables, having run again, vyos-router having tried to restart

what you would expect:
vyos-hostsd restart ..

Details

Difficulty level
Unknown (require assessment)
Version
current
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

[Unit]
Description=VyOS HTTP API service

[Install]
# Installing in a earlier target leaves ExecStartPre waiting
WantedBy=getty.target

That is what must be causing the lock down on console.

It causes this:

9140 ?        Ss     0:00 /bin/bash /usr/libexec/vyos/init/vyos-router start
 9427 ?        S      0:00  \_ /bin/bash /usr/libexec/vyos/init/vyos-router start
 9428 ?        S      0:00      \_ python3 /usr/libexec/vyos/vyos-boot-config-loader.py /opt/vyatta/etc/config/config.boot
 9451 ?        S      0:00          \_ /opt/vyatta/sbin/my_commit
 9522 ?        S      0:00              \_ sudo sh -c VYOS_TAGNODE_VALUE='eth0' /usr/libexec/vyos/conf_mode/interfaces-ethernet.py
 9523 ?        Sl     0:00                  \_ python3 /usr/libexec/vyos/conf_mode/interfaces-ethernet.py
 9531 ?        R      0:00                      \_ /bin/cli-shell-api --show-active-only --show-show-defaults --show-ignore-edit showConfig
pasik added a subscriber: pasik.Sat, May 23, 8:55 AM