frebib@vyos# del system syslog
[edit]
frebib@vyos# compare
[system]
- syslog {
- global {
- facility all {
- level "info"
- }
- facility local7 {
- level "debug"
- }
- }
- }
[edit]
frebib@vyos# commit
[ system syslog ]
DEBUG/COMMAND cmd 'uname -m'
DEBUG/COMMAND returned (out):
x86_64
DEBUG/COMMAND cmd 'hvinfo'
DEBUG/COMMAND returned (out):
KVM
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:
https://support.vyos.io/
- Make sure you are running the latest version of VyOS available at:
https://vyos.net/get/
- Consult the community forum to see how to handle this issue:
https://forum.vyos.io
- Join us on Slack where our users exchange help and advice:
https://vyos.slack.com
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: vyos@frebib.net
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/system-syslog.py", line 146, in <module>
generate(c)
File "/usr/libexec/vyos/conf_mode/system-syslog.py", line 114, in generate
os.path.unlink(rsyslog_conf)
^^^^^^^^^^^^^^
AttributeError: module 'posixpath' has no attribute 'unlink'
delete [ system syslog ] failed
Commit failed
DEBUG/COMMAND cmd '/opt/vyatta/sbin/vyatta-save-config.pl /tmp/config.boot.12640'
DEBUG/COMMAND returned (out):
Saving configuration to '/tmp/config.boot.12640'...
Done
[edit]Description
Description
Details
Details
- Version
- 1.4
- Is it a breaking change?
- Unspecified (possibly destroys the router)
- Issue type
- Bug (incorrect behavior)
Related Objects
Related Objects
Event Timeline
Comment Actions
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: syslog.socket DEBUG/COMMAND cmd 'systemctl stop syslog.service'