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

Re: libnss-db and /usr/lib/* libraries



On Fri, 12 Aug 2005 10:23:41 +0200
Piotr Roszatycki <Piotr_Roszatycki@netia.net.pl> wrote:

> On Thursday 11 of August 2005 11:35, Tim Dijkstra wrote:
> > > $ ldd /usr/lib/libnss_db.so.2 | grep /usr
> > >         libdb-4.3.so => /usr/lib/libdb-4.3.so (0xb7e10000)
> > >
> > > So the system can't unmount /usr partition on poweroff process. I
> > > wonder if I should link statically the BDB library. The other
> > > distros works that way. It might be a problem if the libdb4.3
> > > package will be updated and then the libnss-db should be
> > > recompiled. Another thing is the PIC and non-PIC stuff, so I'm
> > > afraid that I would need the libdb4.3-pic package which doesn't
> > > exist yet.
> > >
> > > What do you think?
> >
> > This is probably bug
> >
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=120340
> 
> Should it be fixed with replacing #!/bin/sh with #!/bin/dash 
> in /e/i/umountfs ?

dash is optional so you can't do that anyway.

> I thougt the problem was not the /e/i/umountfs but /etc/init.d/rc
> script which also uses /bin/bash so  /usr/lib/libdb-4.3.so library...
> 
> If umountfs is the only blocker, it could be splitted into umountfs
> and i.e. remountrootro. I think it could solve the problem.

I think any bash-script running at umount time will give you this
problem, so yes also rc. So only installing dash as /bin/sh will help
you for sure.

Anything else would be a work-a-round for #120340, which stays a bug
IMHO.

grts Tim



Reply to: