Patrick should confirm if we have the sudoers issue fixed or not in
the latest release but I just want to confirm that the order was:
1) have 7160 with kernel-kvm and kvm-host
2) remove kernel-kvm and kvm-host
3) update -> 7770
4) try verify --fix
On Sat, Apr 30, 2016 at 5:00 AM, fb.dev.clx <fb.dev.clx(a)gmail.com> wrote:
While removing `kvm-host` and `kernel-kvm` bundles on a bare metal
Clear Linux rev. 7160 install upgraded to rev. 7770, I was stuck as a
standard user without any option since removing `kvm-host` put me out
of the sudoers file. Here are the steps done:
$ sudo swupd bundle-remove kvm-host kernel-kvm
Copyright (c) 2012-2016 Intel Corporation
Deleting bundle files...
Total deleted files: 230
Untracking bundle from system...
Success: Bundle removed
sudo swupd verify --fix
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of the others.
#2) Think before you type
#3) With great power comes great responsibility.
clruser is not in the sudoers file. This incident will be reported.
After a reboot (log out and then log in again was not sufficient), the
system was able to read correctly `/etc/sudoers.d/clruser` in order to
behave again as if the standard user originally created at install time
was in the sudoers file.
This bug is reproducible.
NOTE: on Sat, 02 Apr 2016, I wrote to the list as swupd verify wanted
to delete sudoers.d after adding kvm-host bundle on a new bare metal
install (rev. 7160). Maybe there is a relation?
Dev mailing list