Thanks for outlining your steps in detail.
In my former tests I did use "minimal" instead of "normal" and did not yet 
purge+install open-vm-tools.
Let me try exactly yours to be closer to your case...


1. I get the ISO from 
https://cdimage.ubuntu.com/daily-live/current/jammy-desktop-amd64.iso
  1.1 as I said before, policy-rc.d isn't on the image
2. Create VM in ESXi
 2.1 for me vmware player
3. Install guest OS with this image jammy-desktop-amd64.iso in "normal" mode.
 3.1 do you keep the "download updates while installing" option enabled?
4. reboot after finished installation
 4.1 /usr/sbin/policy-rc.d wasn't present in my case
5. login system, type "apt-get update" in terminal
 5.1 /usr/sbin/policy-rc.d wasn't present in my case yet
6. input "apt-get purge open-vm-tools" in terminal
 6.1 /usr/sbin/policy-rc.d wasn't present in my case yet
 6.2 BTW since ubuntu-desktop meta package depends on it that is removed as 
well which is generally bad
7. input "apt-get install open-vm-tools" in terminal
 7.1 /usr/sbin/policy-rc.d wasn't present in my case yet - all worked fine
 7.2 FYI, that does not re-install ubuntu-desktop nor open-vm-tools-desktop, 
but that isn't the problem here

So in neither of these steps I see policy-rc.d present on the system, it
needs to come from somewhere for you.

Could you please check the following to allow us to get closer to where this 
comes from in your case?
a) You could check just after reboot at #4 - if in your case policy-rc.d is 
there already we can ignore any latter stages for now.
b) maybe it is ESXi or a configuration in your particular current ESXi? I do 
not have an ESXi available at the moment to compare, could you on your side try 
the same on an VMWare player and if possible on a new unmodified ESXi?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1964285

Title:
  hit message "invoke-rc.d: policy-rc.d denied execution of stop" when
  uninstall open-vm-tools in ubuntu desktop 22.04 daily build

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1964285/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to