Finally figured it out - the difference between the two laptops was that one was installed with LM20.0 and then upgraded to LM20.1 while the other was installed with LM20.1 direct.
Between the two versions the file locations for a number of basic utilities have changed. These are the ones I've checked:
Code: Select all
old new
parted /sbin /usr/sbin
mount /bin /usr/bin
umount /bin /usr/bin
partclone /usr/local/sbin /usr/sbin
killall /usr/bin
blockdev /sbin /usr/sbin
dd /bin /usr/bin
partprobe /sbin /usr/sbin
blkid /sbin /usr/sbin
mkswap /sbin /usr/sbin
os-prober /usr/bin
mkdir /bin /usr/bin
rmdir /bin /usr/bin
hdparm /sbin /usr/sbin
nvme /usr/sbin
Doesn't matter to the average user, but if you have defined a polkit to enable them to run as root - no wonder the polkit doesn't work, it's pointing at the wrong location.
Why????
Does this mismatch apply across all distros, e.g. mint <> ubuntu. In the deb for foxclone am I going to have to check the location of every utility I use as root and amend the polkit to suit? Will a polkit with the same rule twice, but with different locations work? Yet to find out, but not very happy.