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

Re: PCMCIA probles solved: must mount /tmp dev



on Tue, May 22, 2001 at 11:12:35AM -0700, Heather (star@betelgeuse.starshine.org) wrote:
> > I'd had problems dealing with PCMCIA support on my TuxTops 20U laptop,
> > reported here January 30.
> > 
> > Characteristics were that running 'cardmgr' would produce the following
> > /var/syslog output:
> > 
> >     May 21 00:18:58 ego cardmgr[15743]: starting, version is 3.1.22
> >     May 21 00:18:58 ego cardmgr[15743]: open_sock(socket 0) failed:
> >     Permission denied
> >     May 21 00:18:58 ego cardmgr[15743]: no sockets found!
> >     May 21 00:18:58 ego cardmgr[15743]: exiting
> > 
> > ...which had me stymied.
> > 
> > So, I read the manpage *carefully* and note:
> > 
> >        At  startup,  cardmgr  requires  that  /tmp  reside  on  a
> >        filesystem that permits special device files (i.e., a real
> >        linux filesystem, that is not mounted "nodev").
> > 
> > ...well, guess what yours truly had had for /tmp -- it's a modest
> > security precaution.
> > 
> > Just checked -- it *is* possible to mount /tmp 'nodev' *after* cardmgr
> > is started, so all that's really required is to make sure the partition
> > (if any) is mounted 'dev' while cardmgr is launched.
> 
> (script snipped)
> 
> Does mounting /tmp nodev prevent X from creating sockets?  If you intend to
> live in a command line world this may even be preferred, but I figured I'd 
> point that out.

No, it doesn't.  I've consistently mounted /tmp nodev for freakin' ages,
and it's never been an issue until now.

Incidentally, I had to add a short delay to the 'tmpmntrestore' function
to allow cardmgr to load properly.  Two seconds appears to work, though
I may be experimenting with this over time.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org

Attachment: pgpHzaSrZQTCz.pgp
Description: PGP signature


Reply to: