[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: startup: separate /var partition hoses /run, shm (shared memory)?

On Thu, 15 Nov 2012 22:47:12 -0500
Tom Roche <Tom_Roche@pobox.com> wrote:

> What must one do to make /run mount appropriately on startup if one
> has a separate /var partition? What I mean, why I ask:
> Awhile ago, I got a new box with win7 preinstalled. I repartitioned,
> adding separate partitions for swap, /, /boot, /home, /tmp, /usr, /var
> (in addition to the win7 partition). I then installed LMDE (Linux Mint
> Debian Edition, a directly-debian-derived, rolling-release,
> APT-packaged distro). This has worked well, except for a problem at
> startup, whether after restart (i.e., warm boot) or shutdown (i.e.,
> cold boot):
> On every startup, on the initial {black screen, white text} I get
> errors beginning with
> > Mount point '/run' does not exist. Skipping mount.
> and ending (just before it goes to X) with many (10 > n > 100) lines
> beginning with
> > shm_open() failed
> I suspect this is related to having a separate /var partition, since,
> once the box is booted and I'm logged in, I see that
> * /run is symlinked to /var/run
> * /run/shm is a directory
> I'm wondering, how to fix this problem? E.g., can I make /var (and
> therefore /var/run) mount before whatever is trying to mount /run?
> If there is a better place to ask this question, please lemme know.
> TIA, Tom Roche <Tom_Roche@pobox.com>

If the Debian version is that Debian as the Ubuntu version I once
tested was Ubuntu, then I wouldn't call it a directly-debian-derived,
but crap that has nothing to do with Debian. But to be fair, I don't
know current Mint. Btw. Debian isn't a rolling release and if Mint is
a rolling release, than I guess I understand whats going wrong. Perhaps
they simply use Debian and build own packages the way upstream tries
to force dependencies. So you might use init, but systemd already is
installed too, or perhaps they mix it with Ubuntu, upstart.

At the moment there are several ways for startup and for the filesystem
hierarchy used by different distros. The package maintainers have to
fix upstream dependencies to the distro specific needs.

I've got issues with major distros regarding to "innovations". I
suspect that such a smal distro with such a small community, less
testers and bug reports must fail.

"Run" even isn't used by latest Ubuntu. It's used by Fedora and Arch,
both use systemd instead of init.

I only have an outdated AV Linux, really a Debian stable with less
customization and I don't know the current state of Debian, but I
suspect the filesystem hierarchy today sill is the same.

Again, I suspect that the Mint file hierarchy is equal to Debian, but
some Mint packages are simply build directly from upstream and don't
fit to this hierarchy.

Does Mint still use init?


Reply to: