How is usrlocal mounted in 4.3?

The mount point is no longer in fstab, and usr-local.mount is called elsewhere. While playing with minimal template I must have deleted something vital by accident – now home does mount. but usr-local does not and qubes-bind-dirs service cannot start because of unmet dependency. How do I diagnose it? Is it documented somewhere?

Not sure if that helps to piece it together, but that commit and the corresponding pull request is where it changed for R4.3.

1 Like

Pretty strange. Still have no idea how come my home mounts automatically but usrlocal needs manual start :confused:

I essentially had to stop using /usr/local for installing code I had written myself (I was actually installing to whatever directory gets linked to /usr/local/bin–I’m for some reason mentally blocked and can’t recall its name right now). A few of my AppVMs would fail to mount it, for no apparent reason–at least not before I created named disposables off of them. And this was on 4.2.

I eventually just created /usr/custom and installed that stuff there in my templates, then softlinked them all to /usr/bin. Perhaps a similar approach could be a workaround for you.

1 Like