Re: PCMCIA probles solved: must mount /tmp dev
> 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.
* Heather Stern * star@ many places...
Reply to: