New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rsyslog.d/90-google.conf directs logging to /dev/console, but rsyslog doesn't have perm to open #889
Comments
I remember there used to be an udev rule file in the old package that changed ownership of |
At first glance, it looks related to the Privilege Drop in rsyslog that both point to syslog for the user and group. Looking in Bionic/18.04LTS,
I was able to reproduce with the PrivDrop, but I can't without it since it is obsviously always using 'root'. I'm still investigating, but wanted to give my 2 cents so far.
|
While I would not suggest getting rid of the privileges drop, unless if it's a debug exercise in a non-production system, like I did. |
Please see this Ubuntu bug: I'll soon upload a fix in Ubuntu (Focal) that the Ubuntu SRU verification team already pre approved (pre SRU). Note that during the verification phase of the package, I'll need feedbacks from affected users. Thanks in advance. |
Awesome, thank you. I was mistaken then. I thought this issue was because of the rsyslog conf provided by this GCP guest OS package, but I take it that configuration should work? |
Could someone affected by this bug test the focal-proposed package ? and report the outcome to the bug ? |
@slashdd I'll install it on a few servers today and report there. |
It seems that the issue is still out there.
|
This is still happening on 22.04 cloud images, but adding the syslog user to the tty group does seem fix it. After running |
There's a udev rule in Running |
@pib FYI this is a closed issue on a deprecated repository. if there's a current bug you should file an issue on the guest-configs repo https://github.com/GoogleCloudPlatform/guest-configs |
Thanks, Liam ;) |
Hello! This has been going on for ages but I hadn't taken the time to track it down until now. Our GCE VM logs (Ubuntu 19.10, nearly out-of-box) are filled with these messages:
That config comes from
compute-image-packages/packages/google-compute-engine/src/etc/rsyslog.d/90-google.conf
Line 6 in 66ca87b
and indeed the syslog user doesn't have access
Should there be a udev rule in this package to change permissions on
/dev/console
?Looks like this has been happening for quite some time for at least one other user (xenial, bionic): https://irclogs.ubuntu.com/2018/11/14/%23ubuntu.html#t16:07
The text was updated successfully, but these errors were encountered: