That is a very good observation about not having to be on startup!!
After I disabled both vmware.service and virtualbox.service, I cleaned-up: 
delete the '/root' and then make sure to mount it from the zfs dataset.

Then I shutdown the system yesterday evening (2020-06-25).
When I started the system this morning (2020-06-26): I saw that again the zfs 
dataset could not be mounted because a '/root' already exists, this time with 
an empty ".cache" folder in it.
So it seems you were right about the vwmware or virtualbox that they use 
pulseaudio as root.

But that is not the real issue: problem is with the ".cache" folder
which is created at shutdown 'after' the zfs dataset is unmounted, just
like you said.

I'm not sure how to investigate what happens at shutdown, but I'll try
to find out.

Meanwhile it's clear this not a pulseaudio issue ==> this ticket should
be closed (I'm not sure if I can do that, or you or someone else needs
to do it).

Daniel, thank you very much for your quick and very helpful responses: I
appreciate it a lot!


Filesystem details after a night of shutdown:
-----------------
root@minighost:~# pwd
/root

root@minighost:~# ls -la 
total 10
drwxr-xr-x  3 root root  3 Jun 26 07:12 .
drwxr-xr-x 34 root root 38 Jun 25 20:12 ..
drwx------  2 root root  2 Jun 25 20:23 .cache

root@minighost:~# tree -a
.
└── .cache

1 directory, 0 files
root@minighost:~# 
-----------------

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

Title:
  pulseaudio creates /root/.config/pulse/ before zfs-mount.service can
  mount the /root dataset

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1884455/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to