Page MenuHomeVyOS Platform

del system syslog fails
Closed, ResolvedPublic


frebib@vyos# del system syslog
frebib@vyos# compare
- syslog {
-     global {
-         facility all {
-             level "info"
-         }
-         facility local7 {
-             level "debug"
-         }
-     }
- }

frebib@vyos# commit
[ system syslog ]
DEBUG/COMMAND cmd 'uname -m'
DEBUG/COMMAND returned (out):
DEBUG/COMMAND cmd 'hvinfo'
DEBUG/COMMAND returned (out):
DEBUG/COMMAND cmd ' grep -e '^overlay.*/filesystem.squashfs' /proc/mounts >/dev/null'
VyOS had an issue completing a command.

We are sorry that you encountered a problem while using VyOS.
There are a few things you can do to help us (and yourself):
- Contact us using the online help desk if you have a subscription:
- Make sure you are running the latest version of VyOS available at:
- Consult the community forum to see how to handle this issue:
- Join us on Slack where our users exchange help and advice:

When reporting problems, please include as much information as possible:
- do not obfuscate any data (feel free to contact us privately if your
  business policy requires it)
- and include all the information presented below

Report time:      2023-05-14 11:38:23
Image version:    VyOS 1.4-rolling-202305102018
Release train:    current

Built by:         [email protected]
Built on:         Wed 10 May 2023 20:18 UTC
Build UUID:       44324cf2-fc41-4162-92c9-e2de3c258e0a
Build commit ID:  a234c0cb6cfa2d

Architecture:     x86_64
Boot via:         livecd
System type:      KVM guest

Hardware vendor:  QEMU
Hardware model:   Standard PC (Q35 + ICH9, 2009)
Hardware S/N:
Hardware UUID:    bf8bf83b-da84-467a-8c92-c293925a7686

Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/", line 146, in <module>
  File "/usr/libexec/vyos/conf_mode/", line 114, in generate
AttributeError: module 'posixpath' has no attribute 'unlink'

delete [ system syslog ] failed
Commit failed
DEBUG/COMMAND cmd '/opt/vyatta/sbin/ /tmp/config.boot.12640'
DEBUG/COMMAND returned (out):
Saving configuration to '/tmp/config.boot.12640'...


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

frebib created this object in space S1 VyOS Public.

Fixing that causes this to also be logged. We should probably stop the socket too

frebib@vyos# commit
[ system syslog ]
DEBUG/COMMAND returned (err):
Warning: Stopping syslog.service, but it can still be activated by:
DEBUG/COMMAND cmd 'systemctl stop syslog.service'