[Pkg-sysvinit-devel] Bug#694379: initscripts: Symlinking /dev/shm to /run/shm makes Oracle Database XE unable to start. Bind mount makes it work.
rleigh at codelibre.net
Mon Dec 17 23:08:11 UTC 2012
On Mon, Dec 10, 2012 at 11:34:47PM +0000, Roger Leigh wrote:
> On Mon, Dec 10, 2012 at 09:47:39PM +0000, Roger Leigh wrote:
> > On Sun, Dec 09, 2012 at 05:24:50PM +0100, Jozsef Marton wrote:
> > > Thank you, Roger, for your comments.
> > >
> > > You're right that the test Oracle XE applies is badly broken. See
> > > details inline your comment below.
> > >
> > > This has not been reported to Oracle as Debian Linux is not a
> > > supported platform for running their Database product. (I will make
> > > a try reporting this.)
> > >
> > > Though I understand that dev/shm is an implementation detail, it was
> > > user for ages and would using bind mount would simplify Debian
> > > users' life when they intend to use Oracle Database.
> > >
> > > I'm attaching a patch I have tested that makes this behaviour
> > > configurable in /etc/default/tmpfs leaving symlink as the default
> > > value. I hope that this can be intergated in Wheezy.
> > Thanks very much for the patch. I'll look at merging this, or
> > something very similar to it--there are some other details which
> > also need taking care of.
> Preliminary patch is at
A fixed version of sysvinit has now been uploaded. Note that it's
much simpler than the above patch. All you need to do is add an
entry for /dev/shm in /etc/fstab as documented in fstab(5), i.e.
tmpfs /dev/shm tmpfs nosuid,nodev,size=40%,mode=1777 0 0
and it will all just work. Note that /run/shm will then be linked
to /dev/shm, so it won't preclude us switching the default to
/run/shm down the line.
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools
`- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800
More information about the Pkg-sysvinit-devel