juju add-machine stops with chown invalid user syslog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
Hi,
When adding a machine to juju (ver. 2.9.34-
Created symlink /etc/systemd/
Processing triggers for dbus (1.12.20-2ubuntu4) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
NEEDRESTART-VER: 3.5
NEEDRESTART-KCUR: 5.15.0-47-generic
NEEDRESTART-KEXP: 5.15.0-47-generic
NEEDRESTART-KSTA: 1
NEEDRESTART-SVC: packagekit.service
NEEDRESTART-SVC: unattended-
chown: invalid user: ‘syslog:adm’
06:55:55 ERROR juju.environs.
06:55:55 ERROR juju.environs.
06:55:55 DEBUG juju.api monitor.go:35 RPC connection died
06:55:55 DEBUG juju.api monitor.go:35 RPC connection died
ERROR subprocess encountered error code 1
06:55:55 DEBUG cmd supercommand.go:537 error stack:
subprocess encountered error code 1
github.
Workaround: add user syslog to the remote machine.
Installation is:
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
Ubuntu server, minimal install.
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Low |
Ubuntu minimal does not come with rsyslog installed by default thus the user syslog is not created, hence the error.
Please verify if rsyslog is installed on your remote host running ubuntu minimal:
- sudo apt list rsyslog -a
- sudo systemctl status rsyslog
If needed install on your remote host running ubuntu minimal with:
- sudo apt install rsyslog
Now verify again on your remote host running ubuntu minimal with:
- sudo systemctl status rsyslog
- id syslog
I believe we should mark this as invalid.