Re: [expert] Deleted /tmp now X won't start

2000-07-14 Thread Matt Stegman

That's the /root/tmp directory that's listed, not /tmp.  You're right,
/tmp should have 1777 permissions, but /root/tmp should be 700.

-Matt Stegman
<[EMAIL PROTECTED]>

On Mon, 10 Jul 2000, David Talbot wrote:

> On Fri, 07 Jul 2000, you wrote:
> > > don't delete while running X server but you safely delete them before
> > > running X (and it's what we do in the initscripts).
> > 
> > What should the permissions be inside /root/tmp for X stuff ?
> > Mine looks like this...
> > [root: ~/tmp]# ll -d .
> > drwx--2 root root 2048 Jul  6 11:31 ./
> > [root: ~/tmp]# ll *f
> > -rwx--1 root root   28 Jun 17 16:33 DrakConfdrakboot4HYHxf*
> > -rwx--1 root root   33 Jun 20 00:46 DrakConfdrakfontiYbkff*
> > -rwx--1 root root   28 Jun 27 15:50 DrakConfharddrakehQtGjf*
> > -rwx--1 root root   24 Jun 14 21:21 DrakConflinuxconfgnHUMf*
> > -rwx--1 root root   33 Jun 17 16:29 DrakConfrpmdrake269juf*
> > 
> > Thanks... Dan.
> 
> 
> For /tmp on a system you don't care if it's too insecure, chmod 777 * -R
> -- 
> -David Talbot
> Those who would trade freedom for security deserve neither. -B. Franklin
> 




Re: [expert] Deleted /tmp now X won't start

2000-07-12 Thread David Talbot

On Fri, 07 Jul 2000, you wrote:
> > don't delete while running X server but you safely delete them before
> > running X (and it's what we do in the initscripts).
> 
> What should the permissions be inside /root/tmp for X stuff ?
> Mine looks like this...
> [root: ~/tmp]# ll -d .
> drwx--2 root root 2048 Jul  6 11:31 ./
> [root: ~/tmp]# ll *f
> -rwx--1 root root   28 Jun 17 16:33 DrakConfdrakboot4HYHxf*
> -rwx--1 root root   33 Jun 20 00:46 DrakConfdrakfontiYbkff*
> -rwx--1 root root   28 Jun 27 15:50 DrakConfharddrakehQtGjf*
> -rwx--1 root root   24 Jun 14 21:21 DrakConflinuxconfgnHUMf*
> -rwx--1 root root   33 Jun 17 16:29 DrakConfrpmdrake269juf*
> 
> Thanks... Dan.


For /tmp on a system you don't care if it's too insecure, chmod 777 * -R
-- 
-David Talbot
Those who would trade freedom for security deserve neither. -B. Franklin




Re: [expert] Deleted /tmp now X won't start

2000-07-09 Thread Brian T. Schellenberger

Chmouel Boudjnah wrote:
> 
> "Brian T. Schellenberger" <[EMAIL PROTECTED]> writes:
> 
> > X would not start.
> >
> > *That* is the problem.
> >
> > /tmp should contain only temporary files; it should be perfectly safe to
> > wipe out the entire contents of /tmp and reboot, but with 7.0 it is not.
> 
> what is the permission of your /tmp dir ? 1777 ? need them for xfs.
> 
> > Again, this is apparently fixed in 7.1, and moreover I don't think it
> > has anything to do with the "clean up /tmp" code; it's a bug in the X &
> > fontserver packages, so I'm not blaming you (unless you put those
> > packages together as well).
> 
> --
> MandrakeSoft Inchttp://www.mandrakesoft.com
> San-Francisco, CA USA --Chmouel


This is a problem I reported months ago; civilme diagnosed it, and it
was apparently fixed for 7.1; it's not a problem that is causing me
active difficulty.  (It was causing somebody else active difficulties
which is how this thread re-surfaced.)

My /tmp dir has 1777 permissions now; I believe that I gave it such
permissions as soon as I re-created it, but I could be mistaken.  I *do*
know that re-booting did not fix the problem, but re-installing the X
font server package did; would it have reset the permissions to 1777 for
me?

Seems implausible, but one never knows . . .


-- 
"Brian, the man from babble-on"  [EMAIL PROTECTED]
Brian T. Schellenberger  http://www.babbleon.org
Support http://www.eff.org.  Support decss defendents.
Support http://www.programming-freedom.org.  Boycott amazon.com.




Re: [expert] Deleted /tmp now X won't start

2000-07-09 Thread Chmouel Boudjnah

"Brian T. Schellenberger" <[EMAIL PROTECTED]> writes:

> X would not start.
> 
> *That* is the problem.
> 
> /tmp should contain only temporary files; it should be perfectly safe to
> wipe out the entire contents of /tmp and reboot, but with 7.0 it is not.

what is the permission of your /tmp dir ? 1777 ? need them for xfs.

> Again, this is apparently fixed in 7.1, and moreover I don't think it
> has anything to do with the "clean up /tmp" code; it's a bug in the X &
> fontserver packages, so I'm not blaming you (unless you put those
> packages together as well).

-- 
MandrakeSoft Inchttp://www.mandrakesoft.com
San-Francisco, CA USA --Chmouel




Re: [expert] Deleted /tmp now X won't start

2000-07-09 Thread Alexander Skwar

On Sat, Jul 08, 2000 at 11:05:17PM -0600, Steve Browne wrote:
> On 07 Jul 2000 12:11:04 -0700, you wrote:
> 
> >Steve Browne <[EMAIL PROTECTED]> writes:
> 
> >> When I boot Mandrake 7.1, the run list says at one point "clean-up
> >> /tmp". So /tmp is cleared out on every boot. /root/tmp is where the X
> >> files are that you shouldn't delete.
> >
> >yes right if you have the variable :
> >
> >CLEAN_TMP=1
> >
> >in /etc/sysconfig/system set.
> 
> That's the installation default setting.

No, it's not.  I haven't touched this file, and mine reads like this:

SECURITY=2
TYPE=developer
HDPARM=1
CLASS=medium

Alexander Skwar
-- 
Homepage:   http://www.digitalprojects.com
Sichere Mail?   Mail an [EMAIL PROTECTED] fuer GnuPG Keys
ICQ:7328191

 PGP signature


Re: [expert] Deleted /tmp now X won't start

2000-07-09 Thread Brian T. Schellenberger

Chmouel Boudjnah wrote:
> 
> "Brian T. Schellenberger" <[EMAIL PROTECTED]> writes:
> 
> > It seems pretty obvious that they DIDN'T think about it.
> 
> i did the implementation of ''Clean up /tmp'' and i don't see what is
> the problem ? you can have problem if you have a cron who delete the
> .X* files when X running but since it is only in the initscripts there
> is _no_ problems.
> 
> > It's been fixed in 7.1 anyway, as I understand it.
> 
> --
> MandrakeSoft Inchttp://www.mandrakesoft.com
> San-Francisco, CA USA --Chmouel

In 7.0, I deleted my /tmp partition and created a brand new one.
Then I rebooted.

X would not start.

*That* is the problem.

/tmp should contain only temporary files; it should be perfectly safe to
wipe out the entire contents of /tmp and reboot, but with 7.0 it is not.

Again, this is apparently fixed in 7.1, and moreover I don't think it
has anything to do with the "clean up /tmp" code; it's a bug in the X &
fontserver packages, so I'm not blaming you (unless you put those
packages together as well).


-- 
"Brian, the man from babble-on"  [EMAIL PROTECTED]
Brian T. Schellenberger  http://www.babbleon.org
Support http://www.eff.org.  Support decss defendents.
Support http://www.programming-freedom.org.  Boycott amazon.com.




Re: [expert] Deleted /tmp now X won't start

2000-07-09 Thread Steve Browne

On 07 Jul 2000 12:11:04 -0700, you wrote:

>Steve Browne <[EMAIL PROTECTED]> writes:

>> When I boot Mandrake 7.1, the run list says at one point "clean-up
>> /tmp". So /tmp is cleared out on every boot. /root/tmp is where the X
>> files are that you shouldn't delete.
>
>yes right if you have the variable :
>
>CLEAN_TMP=1
>
>in /etc/sysconfig/system set.

That's the installation default setting.

Steve
Stephen B. Browne
[EMAIL PROTECTED]




Re: [expert] Deleted /tmp now X won't start

2000-07-08 Thread Chmouel Boudjnah

"Brian T. Schellenberger" <[EMAIL PROTECTED]> writes:

> It seems pretty obvious that they DIDN'T think about it.

i did the implementation of ''Clean up /tmp'' and i don't see what is
the problem ? you can have problem if you have a cron who delete the
.X* files when X running but since it is only in the initscripts there
is _no_ problems.

> It's been fixed in 7.1 anyway, as I understand it.

-- 
MandrakeSoft Inchttp://www.mandrakesoft.com
San-Francisco, CA USA --Chmouel




Re: [expert] Deleted /tmp now X won't start

2000-07-08 Thread Chmouel Boudjnah

Steve Browne <[EMAIL PROTECTED]> writes:

> On 06 Jul 2000 11:21:29 -0700, you wrote:
> 
> >John Aldrich <[EMAIL PROTECTED]> writes:
> >
> >> > ? ok what is the question excatly i didn't followed the thread...
> >> Thanks. :-) The question was why you folks put the stuff in /tmp and
> >> later in /root/tmp that causes X to go bad when you delete it? You
> >
> >we put nothing in /root/tmp only DrakConf has a stupid bug to leave
> >temporary files in ~/tmp/
> 
> When I boot Mandrake 7.1, the run list says at one point "clean-up
> /tmp". So /tmp is cleared out on every boot. /root/tmp is where the X
> files are that you shouldn't delete.

yes right if you have the variable :

CLEAN_TMP=1

in /etc/sysconfig/system set.

-- 
MandrakeSoft Inchttp://www.mandrakesoft.com
San-Francisco, CA USA --Chmouel




Re: [expert] Deleted /tmp now X won't start

2000-07-08 Thread John Aldrich

On Thu, 06 Jul 2000, you wrote:
> 
> It seems pretty obvious that they DIDN'T think about it.
> It's been fixed in 7.1 anyway, as I understand it.
> 
Sort of. It's now in /root/tmp, instead of /tmp. *shrug*
John




Re: [expert] Deleted /tmp now X won't start

2000-07-08 Thread John Aldrich

On Thu, 06 Jul 2000, you wrote:
> John Aldrich <[EMAIL PROTECTED]> writes:
> 
> > On Wed, 05 Jul 2000, you wrote:
> > > 
> > > Try it at
> > > 
> > > http://forum.mandrakesoft.com
> > > 
> > > Our own version of slashdot
> > > 
> > I emaild Chmouel. Maybe he'll deign to post in here their thinking on
> > that subject. :-) It would be NICE if they'd use this mail list!
> 
> i can deign everything since there is emacs binding ;)
> 
Thank you, sir. :-)
John




Re: [expert] Deleted /tmp now X won't start

2000-07-07 Thread Daniel Woods


> don't delete while running X server but you safely delete them before
> running X (and it's what we do in the initscripts).

What should the permissions be inside /root/tmp for X stuff ?
Mine looks like this...
[root: ~/tmp]# ll -d .
drwx--2 root root 2048 Jul  6 11:31 ./
[root: ~/tmp]# ll *f
-rwx--1 root root   28 Jun 17 16:33 DrakConfdrakboot4HYHxf*
-rwx--1 root root   33 Jun 20 00:46 DrakConfdrakfontiYbkff*
-rwx--1 root root   28 Jun 27 15:50 DrakConfharddrakehQtGjf*
-rwx--1 root root   24 Jun 14 21:21 DrakConflinuxconfgnHUMf*
-rwx--1 root root   33 Jun 17 16:29 DrakConfrpmdrake269juf*

Thanks... Dan.





Re: [expert] Deleted /tmp now X won't start

2000-07-06 Thread Brian T. Schellenberger

John Aldrich wrote:
> 
> On Wed, 05 Jul 2000, you wrote:
> >
> > Try it at
> >
> > http://forum.mandrakesoft.com
> >
> > Our own version of slashdot
> >
> I emaild Chmouel. Maybe he'll deign to post in here their thinking on
> that subject. :-) It would be NICE if they'd use this mail list!
> John

It seems pretty obvious that they DIDN'T think about it.
It's been fixed in 7.1 anyway, as I understand it.

-- 
"Brian, the man from babble-on"  [EMAIL PROTECTED]
Brian T. Schellenberger  http://www.babbleon.org
Support http://www.eff.org.  Support decss defendents.
Support http://www.programming-freedom.org.  Boycott amazon.com.





Re: [expert] Deleted /tmp now X won't start

2000-07-06 Thread Brian T. Schellenberger

Mark Weaver wrote:
> 
> Have you tried re-creating this directory? sorry if you already stated
> this in an earlier post. I don't have that one in my inbox any longer, but
> it seems to me that would be the next logical step in the process.
> 
> I would think that /tmp would be an important part of the file system and
> a server such as "X" wouldn't be able to run without it. Maybe I'm
> speaking out of turn here, but where else would it write the temp files to
> if not to /tmp. I'm not sure about the permissions, but it's worth a try.

No, no.  In 7.0, Manrake put PERMANENT files into /tmp.

Contrary wo what Chmouel said, it FAILED if /tmp was deleted and
re-created,
even if X wasn't up at the time, and even if you rebooted.

The easy fix is to re-install the font server.

(Of course, you must also re-create /tmp and all that, but the Mandrake
bug was much worse than that.  It does appear, however, that it's fixed
in 7.1.)


> 
> --
> Mark
> 
> I love my Linux Box...
> REASON # 2 ...X-windows is just a suedonym.
> Registered Linux user # 1299563
> 
> On Wed, 5 Jul 2000, John Aldrich wrote:
> 
> > On Wed, 05 Jul 2000, you wrote:
> > >
> > > Maybe a question for the cooker list?  I don't really know how else to
> > > direct a question to the Mandrake team.
> > >
> > Maybe, but I've had the distinct impression that some of
> > the Mandrake team hang out in this list apparently the
> > ones who hang out either don't know the answer or choose to
> > remain silent on that one No idea which. :-)
> >   John
> >
> >

-- 
"Brian, the man from babble-on"  [EMAIL PROTECTED]
Brian T. Schellenberger  http://www.babbleon.org
Support http://www.eff.org.  Support decss defendents.
Support http://www.programming-freedom.org.  Boycott amazon.com.




Re: [expert] Deleted /tmp now X won't start

2000-07-06 Thread bobby dowling

The people on cooker have answers, but you just have to be careful not to 
ask too many non-cooker related questions, I guess.


>From: Chmouel Boudjnah <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: [expert] Deleted /tmp now X won't start
>Date: 06 Jul 2000 11:22:05 -0700
>MIME-Version: 1.0
>Received: from [216.71.84.35] by hotmail.com (3.2) with ESMTP id 
>MHotMailBB2E90A800A5D82197D1D8475423132E0; Thu Jul 06 19:51:21 2000
>Received: (from sympa@localhost)by mandrakesoft.mandrakesoft.com 
>(8.8.5/8.8.5) id VAA30726for [EMAIL PROTECTED]; Thu, 6 Jul 2000 
>21:49:49 -0500
>Received: from hawk.prod.itd.earthlink.net (hawk.prod.itd.earthlink.net
>[207.217.120.22]) by mandrakesoft.mandrakesoft.com (8.8.5/8.8.5) with
>ESMTP id NAA20613 for <[EMAIL PROTECTED]>; Thu, 6 Jul 2000
>13:49:56 -0500
>Received: from cassini.us.mandrakesoft.com
>(pool0541.cvx19-bradley.dialup.earthlink.net [209.179.246.31]) by
>hawk.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id LAA02828
>for <[EMAIL PROTECTED]>; Thu, 6 Jul 2000 11:49:40 -0700 (PDT)
>Received: (from chmou@localhost) by cassini.us.mandrakesoft.com
>(8.10.1/8.8.7/Chmouel Boudjnah - Sendmail - 04/12/98) id e66IM6U09369;
>Thu, 6 Jul 2000 11:22:06 -0700
>From [EMAIL PROTECTED] Thu Jul 06 19:55:30 2000
>X-Authentication-Warning: cassini.us.mandrakesoft.com: chmou set sender to  
>   [EMAIL PROTECTED] using -f
>References: 
><[EMAIL PROTECTED]>
><0007052200500F.01684@slave1> <[EMAIL PROTECTED]>
><00070609023905.30325@front>
>Organisation: MandrakeSoft
>In-Reply-To: John Aldrich's message of "Thu, 6 Jul 2000 09:02:08 -0400"
>Message-Id: <[EMAIL PROTECTED]>
>Lines: 18
>User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.6
>X-Loop: [EMAIL PROTECTED]
>X-Sequence: 564
>Precedence: list
>
>John Aldrich <[EMAIL PROTECTED]> writes:
>
> > On Wed, 05 Jul 2000, you wrote:
> > >
> > > Try it at
> > >
> > > http://forum.mandrakesoft.com
> > >
> > > Our own version of slashdot
> > >
> > I emaild Chmouel. Maybe he'll deign to post in here their thinking on
> > that subject. :-) It would be NICE if they'd use this mail list!
>
>i can deign everything since there is emacs binding ;)
>
>--
>MandrakeSoft Inchttp://www.mandrakesoft.com
>San-Francisco, CA USA --Chmouel
>


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




Re: [expert] Deleted /tmp now X won't start

2000-07-06 Thread Steve Browne

On 06 Jul 2000 11:21:29 -0700, you wrote:

>John Aldrich <[EMAIL PROTECTED]> writes:
>
>> > ? ok what is the question excatly i didn't followed the thread...
>> Thanks. :-) The question was why you folks put the stuff in /tmp and
>> later in /root/tmp that causes X to go bad when you delete it? You
>
>we put nothing in /root/tmp only DrakConf has a stupid bug to leave
>temporary files in ~/tmp/

When I boot Mandrake 7.1, the run list says at one point "clean-up
/tmp". So /tmp is cleared out on every boot. /root/tmp is where the X
files are that you shouldn't delete.

Steve
Stephen B. Browne
[EMAIL PROTECTED]




Re: [expert] Deleted /tmp now X won't start

2000-07-06 Thread Mark Weaver

Have you tried re-creating this directory? sorry if you already stated
this in an earlier post. I don't have that one in my inbox any longer, but
it seems to me that would be the next logical step in the process.

I would think that /tmp would be an important part of the file system and
a server such as "X" wouldn't be able to run without it. Maybe I'm
speaking out of turn here, but where else would it write the temp files to
if not to /tmp. I'm not sure about the permissions, but it's worth a try.

-- 
Mark

I love my Linux Box...
REASON # 2 ...X-windows is just a suedonym.
Registered Linux user # 1299563

On Wed, 5 Jul 2000, John Aldrich wrote:

> On Wed, 05 Jul 2000, you wrote:
> > 
> > Maybe a question for the cooker list?  I don't really know how else to
> > direct a question to the Mandrake team.
> > 
> Maybe, but I've had the distinct impression that some of
> the Mandrake team hang out in this list apparently the
> ones who hang out either don't know the answer or choose to
> remain silent on that one No idea which. :-)
>   John
> 
> 




Re: [expert] Deleted /tmp now X won't start

2000-07-06 Thread Chmouel Boudjnah

John Aldrich <[EMAIL PROTECTED]> writes:

> On Wed, 05 Jul 2000, you wrote:
> > 
> > Try it at
> > 
> > http://forum.mandrakesoft.com
> > 
> > Our own version of slashdot
> > 
> I emaild Chmouel. Maybe he'll deign to post in here their thinking on
> that subject. :-) It would be NICE if they'd use this mail list!

i can deign everything since there is emacs binding ;)

-- 
MandrakeSoft Inchttp://www.mandrakesoft.com
San-Francisco, CA USA --Chmouel




Re: [expert] Deleted /tmp now X won't start

2000-07-06 Thread Chmouel Boudjnah

John Aldrich <[EMAIL PROTECTED]> writes:

> > ? ok what is the question excatly i didn't followed the thread...
> Thanks. :-) The question was why you folks put the stuff in /tmp and
> later in /root/tmp that causes X to go bad when you delete it? You

we put nothing in /root/tmp only DrakConf has a stupid bug to leave
temporary files in ~/tmp/

> recall the hubub when 7.x came out and people started emptying their
> /tmp directory only to find they had to reinstall X to get it
> working again??? We recently had another case of that in here and
> told 'em the sad, sad story about how you DON'T delete stuff in /tmp
> or /root/tmp. :-) John

don't delete while running X server but you safely delete them before
running X (and it's what we do in the initscripts).

-- 
MandrakeSoft Inchttp://www.mandrakesoft.com
San-Francisco, CA USA --Chmouel




Re: [expert] Deleted /tmp now X won't start

2000-07-06 Thread John Aldrich

On Thu, 06 Jul 2000, you wrote:
> John Aldrich <[EMAIL PROTECTED]> writes:
> 
> > > Maybe a question for the cooker list?  I don't really know how else to
> > > direct a question to the Mandrake team.
> > Maybe, but I've had the distinct impression that some of the
> > Mandrake team hang out in this list apparently the ones who hang
> > out either don't know the answer or choose to remain silent on that
> > one No idea which. :-)
> 
> ? ok what is the question excatly i didn't followed the thread...
> 
> /Chmouel Technical Support/
>
Thanks. :-) The question was why you folks put the stuff in /tmp and
later in /root/tmp that causes X to go bad when you delete it? You
recall the hubub when 7.x came out and people started emptying their
/tmp directory only to find they had to reinstall X to get it working
again??? We recently had another case of that in here and told 'em
the sad, sad story about how you DON'T delete stuff in /tmp or
/root/tmp. :-)
John




Re: [expert] Deleted /tmp now X won't start

2000-07-06 Thread John Aldrich

On Wed, 05 Jul 2000, you wrote:
> 
> Try it at
> 
> http://forum.mandrakesoft.com
> 
> Our own version of slashdot
> 
I emaild Chmouel. Maybe he'll deign to post in here their thinking on
that subject. :-) It would be NICE if they'd use this mail list!
John




Re: [expert] Deleted /tmp now X won't start

2000-07-06 Thread Chmouel Boudjnah

John Aldrich <[EMAIL PROTECTED]> writes:

> > Maybe a question for the cooker list?  I don't really know how else to
> > direct a question to the Mandrake team.
> Maybe, but I've had the distinct impression that some of the
> Mandrake team hang out in this list apparently the ones who hang
> out either don't know the answer or choose to remain silent on that
> one No idea which. :-)

? ok what is the question excatly i didn't followed the thread...

/Chmouel Technical Support/




Re: [expert] Deleted /tmp now X won't start

2000-07-05 Thread Civileme

John Aldrich wrote:

> On Wed, 05 Jul 2000, you wrote:
> >
> > Maybe a question for the cooker list?  I don't really know how else to
> > direct a question to the Mandrake team.
> >
> Maybe, but I've had the distinct impression that some of
> the Mandrake team hang out in this list apparently the
> ones who hang out either don't know the answer or choose to
> remain silent on that one No idea which. :-)
> John

Try it at

http://forum.mandrakesoft.com

Our own version of slashdot

Civileme




Re: [expert] Deleted /tmp now X won't start

2000-07-05 Thread John Aldrich

On Wed, 05 Jul 2000, you wrote:
> 
> Maybe a question for the cooker list?  I don't really know how else to
> direct a question to the Mandrake team.
> 
Maybe, but I've had the distinct impression that some of
the Mandrake team hang out in this list apparently the
ones who hang out either don't know the answer or choose to
remain silent on that one No idea which. :-)
John




Re: [expert] Deleted /tmp now X won't start

2000-07-05 Thread Michael Holt

Civileme wrote:
> 
> Michael Holt wrote:
> >
> >
> > > Socket programming protocols basically form sockets for ONE task
> > > and then destroy it.  In this case, it appears to be needed at
> > > boot time as the target of a symlink.
> > >
> > > Civileme
> >
> > Ok, that makes sense; which brings my next question, what would be a
> > simpler term for 'socket programming protocols'?  What is a socket?
> >
> > Thanks, Mike
> > --
> > 
> > Mike & Tracy Holt
> > Kirkland, WA
> > [EMAIL PROTECTED]
> > 
> 
> Hmmm, well the absolute best simple explanation I have seen for
> socket programming comes with the html on-line and downloadable
> documentation for Python at http://www.python.org  It may be part
> of what made me a python convert.  I think it has its own
> chapter.
> 
> But basically a socket is a transport for a message--it either
> sends one or receives one and is then destroyed (and possibly a
> new socket created).  Naturally they are closely associated with
> servers and clients, including X servers and font servers.  And,
> like everything else in a unix universe, they are files as well.
> 
> Civileme

I've done some looking around and found that that's quite a big
question!  Time to hit the books.
Thanks, Mike
-- 

Mike & Tracy Holt
Kirkland, WA
[EMAIL PROTECTED]





Re: [expert] Deleted /tmp now X won't start

2000-07-05 Thread Michael Holt

John Aldrich wrote:
> 
> On Tue, 04 Jul 2000, you wrote:
> > > Has there ever been a satisfactory explanation of WHY they
> > > put PERMANENT stuff in a temporary directory? It seems
> > > rather loco to me to put ANYTHING you want to keep in a
> > > TEMP directory... :-)
> > > John
> >
> > Is it something that is overwritten at each boot?  Just a thought.
> >
> I dunno.  I wish someone from Mandrakesoft would speak up and explain
> their thinking on this I'm sure they had a logical reason for
> doing so, which, upon thinking about it we'd all slap our head and
> say "Doh! How obvious!" :-)
> John

Maybe a question for the cooker list?  I don't really know how else to
direct a question to the Mandrake team.

Mike
-- 

Mike & Tracy Holt
Kirkland, WA
[EMAIL PROTECTED]





Re: [expert] Deleted /tmp now X won't start

2000-07-05 Thread Matt Stegman

Oh, wait!  When you `ls -ld /tmp` do the permissions read:

drwxrwxrwt

If not, `chmod 1777 /tmp`, which should fix your permissions.  Try
starting X again.

-Matt Stegman
<[EMAIL PROTECTED]>

On Mon, 3 Jul 2000, John Aldrich wrote:

> On Mon, 03 Jul 2000, you wrote:
> > On Tue, Jun 27, 2000 at 08:20:54AM -0400, Thiessen David G DLVA wrote:
> > 
> > > Like an idiot, I accidentally deleted my /tmp directory.  
> > > I recreated the directory, but after rebooting, X fails to
> > > start.  It seems to be stuck in an infinite loop trying to
> > > start X or KDM.
> > > I can boot into text mode fine.
> > > 
> > > What can I do to get X back up and running...
> > 
> > What are the permissions on the directory?
> > 
> Known problem -- Mandrake has put some X stuff in /tmp. The
> only solution is to uninstall and reinstall X.
>   John
> 




Re: [expert] Deleted /tmp now X won't start

2000-07-05 Thread John Aldrich

On Tue, 04 Jul 2000, you wrote:
> > Has there ever been a satisfactory explanation of WHY they
> > put PERMANENT stuff in a temporary directory? It seems
> > rather loco to me to put ANYTHING you want to keep in a
> > TEMP directory... :-)
> > John
> 
> Is it something that is overwritten at each boot?  Just a thought.
> 
I dunno.  I wish someone from Mandrakesoft would speak up and explain
their thinking on this I'm sure they had a logical reason for
doing so, which, upon thinking about it we'd all slap our head and
say "Doh! How obvious!" :-)
John




Re: [expert] Deleted /tmp now X won't start

2000-07-05 Thread Civileme

Michael Holt wrote:
> 
> 
> > Socket programming protocols basically form sockets for ONE task
> > and then destroy it.  In this case, it appears to be needed at
> > boot time as the target of a symlink.
> >
> > Civileme
> 
> Ok, that makes sense; which brings my next question, what would be a
> simpler term for 'socket programming protocols'?  What is a socket?
> 
> Thanks, Mike
> --
> 
> Mike & Tracy Holt
> Kirkland, WA
> [EMAIL PROTECTED]
> 


Hmmm, well the absolute best simple explanation I have seen for
socket programming comes with the html on-line and downloadable
documentation for Python at http://www.python.org  It may be part
of what made me a python convert.  I think it has its own
chapter.

But basically a socket is a transport for a message--it either
sends one or receives one and is then destroyed (and possibly a
new socket created).  Naturally they are closely associated with
servers and clients, including X servers and font servers.  And,
like everything else in a unix universe, they are files as well.

Civileme




Re: [expert] Deleted /tmp now X won't start

2000-07-04 Thread Michael Holt

 
> Socket programming protocols basically form sockets for ONE task
> and then destroy it.  In this case, it appears to be needed at
> boot time as the target of a symlink.
> 
> Civileme

Ok, that makes sense; which brings my next question, what would be a
simpler term for 'socket programming protocols'?  What is a socket?

Thanks, Mike
-- 

Mike & Tracy Holt
Kirkland, WA
[EMAIL PROTECTED]





Re: [expert] Deleted /tmp now X won't start

2000-07-04 Thread Civileme

Michael Holt wrote:
> 
> John Aldrich wrote:
> >
> > On Tue, 04 Jul 2000, you wrote:
> > >
> > > Yes, /tmp should be for temporary stuff.  And this "stuff" is
> > > sockets, in this case, in a hidden directory.  In 7.1 the use of
> > > /tmp for these sockets has been discontinued.  Now they use
> > > /root/tmp which most people leave alone.
> > >
> > Has there ever been a satisfactory explanation of WHY they
> > put PERMANENT stuff in a temporary directory? It seems
> > rather loco to me to put ANYTHING you want to keep in a
> > TEMP directory... :-)
> > John
> 
> Is it something that is overwritten at each boot?  Just a thought.
> 
> Mike
> --
> 
> Mike & Tracy Holt
> Kirkland, WA
> [EMAIL PROTECTED]
> 

Socket programming protocols basically form sockets for ONE task
and then destroy it.  In this case, it appears to be needed at
boot time as the target of a symlink.

Civileme




Re: [expert] Deleted /tmp now X won't start

2000-07-04 Thread Michael Holt

John Aldrich wrote:
> 
> On Tue, 04 Jul 2000, you wrote:
> >
> > Yes, /tmp should be for temporary stuff.  And this "stuff" is
> > sockets, in this case, in a hidden directory.  In 7.1 the use of
> > /tmp for these sockets has been discontinued.  Now they use
> > /root/tmp which most people leave alone.
> >
> Has there ever been a satisfactory explanation of WHY they
> put PERMANENT stuff in a temporary directory? It seems
> rather loco to me to put ANYTHING you want to keep in a
> TEMP directory... :-)
> John

Is it something that is overwritten at each boot?  Just a thought.

Mike
-- 

Mike & Tracy Holt
Kirkland, WA
[EMAIL PROTECTED]





Re: [expert] Deleted /tmp now X won't start

2000-07-04 Thread Michael Holt

John Aldrich wrote:
> 
> On Mon, 03 Jul 2000, you wrote:
> > I would like to add a question here if I may; I'm used to Windows where the
> > 'temp' directory is for temporary stuff and should be dumped periodically.
> > What is the /tmp directory in *nix used for and why can't I delete it's
> > contents?
> >
> Generally, it's exactly what you'd think it's for. However,
> Mandrake folks, in their wisdom, have apparently put some
> vital X-related stuff in /tmp. Why in heaven's name, I
> don't know, as most of us are used to thinking EXACTLY what
> you're thinking. This has been a complaint since at least
> 7.02, if not 6.5.
> John

That makes sense, although I remember sometime back dumping the /tmp
folder in either RedHat 6 or SuSE 6.3 (I don't remember which) and
having problems after that.  At that point it was just easier to
reinstall, but I haven't done that since and I just chalked it up to
*nix stuff being different that way.  Is it just Mandrake that puts
stuff in there?  What is safe to clean up on a regular basis?

Thanks, Mike
-- 

Mike & Tracy Holt
Kirkland, WA
[EMAIL PROTECTED]





Re: [expert] Deleted /tmp now X won't start

2000-07-04 Thread Henrik Edlund

On Tue, 4 Jul 2000, John Aldrich wrote:

> On Tue, 04 Jul 2000, you wrote:
> > 
> > Yes, /tmp should be for temporary stuff.  And this "stuff" is
> > sockets, in this case, in a hidden directory.  In 7.1 the use of
> > /tmp for these sockets has been discontinued.  Now they use
> > /root/tmp which most people leave alone.  
> > 
> Has there ever been a satisfactory explanation of WHY they
> put PERMANENT stuff in a temporary directory? It seems
> rather loco to me to put ANYTHING you want to keep in a
> TEMP directory... :-)

Actually they are temporary sockets (files), but they are more persistent
than other temporary files so /var/tmp would have been a better
location. /root/tmp seems quite illogical.

-- 
Henrik Edlund
http://www.edlund.org/

"In the grand design, women were definitely drawn from a different set of 
blueprints."
-- FBI Special Agent Dale Cooper




Re: [expert] Deleted /tmp now X won't start

2000-07-04 Thread John Aldrich

On Tue, 04 Jul 2000, you wrote:
> 
> Yes, /tmp should be for temporary stuff.  And this "stuff" is
> sockets, in this case, in a hidden directory.  In 7.1 the use of
> /tmp for these sockets has been discontinued.  Now they use
> /root/tmp which most people leave alone.  
> 
Has there ever been a satisfactory explanation of WHY they
put PERMANENT stuff in a temporary directory? It seems
rather loco to me to put ANYTHING you want to keep in a
TEMP directory... :-)
John




Re: [expert] Deleted /tmp now X won't start

2000-07-04 Thread Charles Curley

On Mon, Jul 03, 2000 at 05:28:56PM -0700, Mike & Tracy Holt wrote:
> I would like to add a question here if I may; I'm used to Windows where the
> 'temp' directory is for temporary stuff and should be dumped periodically.
> What is the /tmp directory in *nix used for and why can't I delete it's
> contents?

The /tmp directory (and others located around the system) are indeed for
temporaty files. Well behaved programs should remove their own temporary
files, but they don't all do so, and if a program crashes it can leave its
temporary files behind.

You can delete only the files you have permission to delete, which is to
say only the files you made or which have been set to allow other users to
delete. Unix security again. Root can delete anything anywhere, one of
many reasons not to use the root account for day-to-day stuff.


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: [expert] Deleted /tmp now X won't start

2000-07-03 Thread Civileme

John Aldrich wrote:
> 
> On Mon, 03 Jul 2000, you wrote:
> > I would like to add a question here if I may; I'm used to Windows where the
> > 'temp' directory is for temporary stuff and should be dumped periodically.
> > What is the /tmp directory in *nix used for and why can't I delete it's
> > contents?
> >
> Generally, it's exactly what you'd think it's for. However,
> Mandrake folks, in their wisdom, have apparently put some
> vital X-related stuff in /tmp. Why in heaven's name, I
> don't know, as most of us are used to thinking EXACTLY what
> you're thinking. This has been a complaint since at least
> 7.02, if not 6.5.
> John

Yes, /tmp should be for temporary stuff.  And this "stuff" is
sockets, in this case, in a hidden directory.  In 7.1 the use of
/tmp for these sockets has been discontinued.  Now they use
/root/tmp which most people leave alone.  

Civileme




Re: [expert] Deleted /tmp now X won't start

2000-07-03 Thread John Aldrich

On Mon, 03 Jul 2000, you wrote:
> I would like to add a question here if I may; I'm used to Windows where the
> 'temp' directory is for temporary stuff and should be dumped periodically.
> What is the /tmp directory in *nix used for and why can't I delete it's
> contents?
> 
Generally, it's exactly what you'd think it's for. However,
Mandrake folks, in their wisdom, have apparently put some
vital X-related stuff in /tmp. Why in heaven's name, I
don't know, as most of us are used to thinking EXACTLY what
you're thinking. This has been a complaint since at least
7.02, if not 6.5.
John




Re: [expert] Deleted /tmp now X won't start

2000-07-03 Thread Mike & Tracy Holt

I would like to add a question here if I may; I'm used to Windows where the
'temp' directory is for temporary stuff and should be dumped periodically.
What is the /tmp directory in *nix used for and why can't I delete it's
contents?

Thanks, Mike

> On Mon, 03 Jul 2000, you wrote:
> > On Tue, Jun 27, 2000 at 08:20:54AM -0400, Thiessen David G DLVA wrote:
> >
> > > Like an idiot, I accidentally deleted my /tmp directory.
> > > I recreated the directory, but after rebooting, X fails to
> > > start.  It seems to be stuck in an infinite loop trying to
> > > start X or KDM.
> > > I can boot into text mode fine.
> > >
> > > What can I do to get X back up and running...
> >
> > What are the permissions on the directory?
> >
> Known problem -- Mandrake has put some X stuff in /tmp. The
> only solution is to uninstall and reinstall X.
> John
>




Re: [expert] Deleted /tmp now X won't start

2000-07-03 Thread John Aldrich

On Tue, 27 Jun 2000, you wrote:
> Experts -
> 
> Like an idiot, I accidentally deleted my /tmp directory.  
> I recreated the directory, but after rebooting, X fails to
> start.  It seems to be stuck in an infinite loop trying to
> start X or KDM.
> I can boot into text mode fine.
> 
> What can I do to get X back up and running...
> 
Reinstall X. That's the only way, from what I've read.
Mandrake has put some X stuff in /tmp for some strange
reason, so when you deleted /tmp, you deleted some vital
hidden files.
John




Re: [expert] Deleted /tmp now X won't start

2000-07-03 Thread John Aldrich

On Mon, 03 Jul 2000, you wrote:
> On Tue, Jun 27, 2000 at 08:20:54AM -0400, Thiessen David G DLVA wrote:
> 
> > Like an idiot, I accidentally deleted my /tmp directory.  
> > I recreated the directory, but after rebooting, X fails to
> > start.  It seems to be stuck in an infinite loop trying to
> > start X or KDM.
> > I can boot into text mode fine.
> > 
> > What can I do to get X back up and running...
> 
> What are the permissions on the directory?
> 
Known problem -- Mandrake has put some X stuff in /tmp. The
only solution is to uninstall and reinstall X.
John




Re: [expert] Deleted /tmp now X won't start

2000-07-03 Thread Jon

On Tue, Jun 27, 2000 at 08:20:54AM -0400, Thiessen David G DLVA wrote:

> Like an idiot, I accidentally deleted my /tmp directory.  
> I recreated the directory, but after rebooting, X fails to
> start.  It seems to be stuck in an infinite loop trying to
> start X or KDM.
> I can boot into text mode fine.
> 
> What can I do to get X back up and running...

What are the permissions on the directory?

-- 
Jon Changnon - Freelancer
e: [EMAIL PROTECTED]
http://www.dncc.net




[expert] Deleted /tmp now X won't start

2000-07-03 Thread Thiessen David G DLVA

Experts -

Like an idiot, I accidentally deleted my /tmp directory.  
I recreated the directory, but after rebooting, X fails to
start.  It seems to be stuck in an infinite loop trying to
start X or KDM.
I can boot into text mode fine.

What can I do to get X back up and running...

Dave

--
David G. Thiessen   [EMAIL PROTECTED]
Strategic and Strike Systems (K) Department
Strike Weapons Systems Division (K70)
Weapons Software Engineering Branch (K72)
NAVSEA Surface Warfare Center Dahlgren
Dahlgren, VA 22448
Building 194 (Hanger 2) Room 210
540.653.8489