Re: [opensuse] Clean /tmp & /var/tmp on boot
On Monday 15 October 2007 07:13:53 am James Knott wrote: > Rajko M. wrote: > > On Sunday 14 October 2007 10:54:24 pm Bob S wrote: > >> Hello SuSE people, > >> > >> On my 10.2 machine I had a setting to clear the tmp files at boot time. > >> Can't seem to find it in 10.3. I thought it was in Yast > System > >> Settings or Runlevel. > >> > >> Anybody know ? Remember?? > >> > >> Bob S. > > > > You set what you want to be cleaned in /etc/sysconfig/cron and than run: > > SuSEconfig > > It can also be set in Yast > Etc > /etc/sysconfig Editor. The tmp stuff > is under cron. Thanks James, Got it from Rajko & G T also. Bob S -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Clean /tmp & /var/tmp on boot
On Monday 15 October 2007 05:06:29 am G T Smith wrote: > Rajko M. wrote: > > On Sunday 14 October 2007 10:54:24 pm Bob S wrote: > >> Hello SuSE people, > >> > >> On my 10.2 machine I had a setting to clear the tmp files at boot time. > >> Can't seem to find it in 10.3. I thought it was in Yast > System > >> Settings or Runlevel. > >> > >> Anybody know ? Remember?? > >> > >> Bob S. > > > > You set what you want to be cleaned in /etc/sysconfig/cron and than run: > > SuSEconfig > > Yast2->System->SysConfigEditor->System->cron > > and you have a couple of choices... > > Yast2 will run the SuSEconfig stuff > Thanks Rajko and G T. Bob S -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Clean /tmp & /var/tmp on boot
Rajko M. wrote: > On Sunday 14 October 2007 10:54:24 pm Bob S wrote: > >> Hello SuSE people, >> >> On my 10.2 machine I had a setting to clear the tmp files at boot time. >> Can't seem to find it in 10.3. I thought it was in Yast > System Settings >> or Runlevel. >> >> Anybody know ? Remember?? >> >> Bob S. >> > > You set what you want to be cleaned in /etc/sysconfig/cron and than run: > SuSEconfig > > It can also be set in Yast > Etc > /etc/sysconfig Editor. The tmp stuff is under cron. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Clean /tmp & /var/tmp on boot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rajko M. wrote: > On Sunday 14 October 2007 10:54:24 pm Bob S wrote: >> Hello SuSE people, >> >> On my 10.2 machine I had a setting to clear the tmp files at boot time. >> Can't seem to find it in 10.3. I thought it was in Yast > System Settings >> or Runlevel. >> >> Anybody know ? Remember?? >> >> Bob S. > > You set what you want to be cleaned in /etc/sysconfig/cron and than run: > SuSEconfig > Yast2->System->SysConfigEditor->System->cron and you have a couple of choices... Yast2 will run the SuSEconfig stuff - -- == I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup == -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHEy2VasN0sSnLmgIRAggQAKDkRzxvwjBWb81S5T620DNoc1hmaQCg8ixK O2DBlMTLcK8/2oBjEX5nkj0= =/iYA -END PGP SIGNATURE- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Clean /tmp & /var/tmp on boot
On Sunday 14 October 2007 10:54:24 pm Bob S wrote: > Hello SuSE people, > > On my 10.2 machine I had a setting to clear the tmp files at boot time. > Can't seem to find it in 10.3. I thought it was in Yast > System Settings > or Runlevel. > > Anybody know ? Remember?? > > Bob S. You set what you want to be cleaned in /etc/sysconfig/cron and than run: SuSEconfig -- Regards, Rajko. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[opensuse] Clean /tmp & /var/tmp on boot
Hello SuSE people, On my 10.2 machine I had a setting to clear the tmp files at boot time. Can't seem to find it in 10.3. I thought it was in Yast > System Settings or Runlevel. Anybody know ? Remember?? Bob S. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] clean /tmp
Carlos E. R. schrieb: Hi Carlos > No, I was commenting about /var/tmp. I usually delete all stuff in /var/tmp at bootup, at least on my clients. On my server however I delete those files manually. Till now w/o any probs m8. Thx Jan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] clean /tmp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Thursday 2007-05-31 at 15:30 +0800, tino perez wrote: > same same here../tmp is full of what looks like yunk and what-not and > so-forth. No, I was commenting about /var/tmp. > > how can i be sure that those files are not being use? lsof. P.S.: Please, do not top post, and trim unneeded text. - -- Cheers, Carlos E. R. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGXpistTMYHG2NR9URAlnMAJ4wIJx+HtbgBvcHz3TPothebBkrTACfX1FQ +ubKRYA3FhCgk0jOxvdJvbw= =K21K -END PGP SIGNATURE- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] clean /tmp
same same here../tmp is full of what looks like yunk and what-not and so-forth. how can i be sure that those files are not being use? Tq On Thu, 2007-05-31 at 01:34 +0200, Carlos E. R. wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > The Wednesday 2007-05-30 at 19:58 +0200, Richard Bos wrote: > > > > The name "LONG_TMP" of the variables must be indicative of something :-? > > > > LONG as in time. This one can be used for e.g. /var/tmp as that can be > > populated by users and they may want to have access to their files after > > some > > time. > > > > The other varsTMP_DIRS_TO_CLEAR and MAX_DAYS_IN_TMP are meant for e.g. /tmp > > To > > remove garbage left behind by system processes. > > Still... > > My /var/tpm contains 17 directories named like "zypp.CU5YqK", containing > about 14 KB each, dating since March (system was updated to 10.2 in mid > Feb). They seem to contain gpg data. That data should not be there still. > > There is also a checkinstall.C18067 dir containing 73MB of files of a > would be rpm, failed. > > Neither of those two things are long term needed, I think. Not to mention > two files dated 2005 > > - -- > Cheers, >Carlos E. R. > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.5 (GNU/Linux) > Comment: Made with pgp4pine 1.76 > > iD8DBQFGXgn9tTMYHG2NR9URAizrAJ9oZs2MG/qYIf3/r23nH8Bwcv+DNQCaAlcx > a3kJaFstda9K0YKGZH7itag= > =gxGR > -END PGP SIGNATURE- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] clean /tmp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Wednesday 2007-05-30 at 19:58 +0200, Richard Bos wrote: > > The name "LONG_TMP" of the variables must be indicative of something :-? > > LONG as in time. This one can be used for e.g. /var/tmp as that can be > populated by users and they may want to have access to their files after some > time. > > The other varsTMP_DIRS_TO_CLEAR and MAX_DAYS_IN_TMP are meant for e.g. /tmp > To > remove garbage left behind by system processes. Still... My /var/tpm contains 17 directories named like "zypp.CU5YqK", containing about 14 KB each, dating since March (system was updated to 10.2 in mid Feb). They seem to contain gpg data. That data should not be there still. There is also a checkinstall.C18067 dir containing 73MB of files of a would be rpm, failed. Neither of those two things are long term needed, I think. Not to mention two files dated 2005 - -- Cheers, Carlos E. R. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGXgn9tTMYHG2NR9URAizrAJ9oZs2MG/qYIf3/r23nH8Bwcv+DNQCaAlcx a3kJaFstda9K0YKGZH7itag= =gxGR -END PGP SIGNATURE-
Re: [opensuse] clean /tmp
Op Wednesday 30 May 2007 12:24:40 schreef Carlos E. R.: > Correction, it is included, but as those files are owned by root, they > are not cleaned up. Plus, there are two new variables: New? They are there since, well since a long time suse-8.2 or somewhere around there. > MAX_DAYS_IN_LONG_TMP > LONG_TMP_DIRS_TO_CLEAR > > The name "LONG_TMP" of the variables must be indicative of something :-? LONG as in time. This one can be used for e.g. /var/tmp as that can be populated by users and they may want to have access to their files after some time. The other varsTMP_DIRS_TO_CLEAR and MAX_DAYS_IN_TMP are meant for e.g. /tmp To remove garbage left behind by system processes. -- Richard Bos We are borrowing the world of our children, It is not inherited from our parents. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] clean /tmp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carlos E. R. wrote: > > The Wednesday 2007-05-30 at 10:00 +0800, tino perez wrote: > >> Too late, now the machine wont boot! :) > > X-) > > >> Seriously.. what directories are safe to clean? > >> i too had a problem few-moths ago in where my system run out of space in > >MAX_DAYS_IN_LONG_TMP >LONG_TMP_DIRS_TO_CLEAR I think the LONG refers to long term. These two settings wrong footed me after I upgraded to 10.2. I was a bit puzzled as to why my Windows Profile completely disappeared, (I find using a roaming profile is a useful way of ensuring that some windows stuff gets backed up). I found that the samba profile directories were in the latter, while checking something else out. Now how they got there is a complete mystery g > > -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGXVRaasN0sSnLmgIRAuUmAJ97qPOAlJBpfrrz5sm6CRG+rYjbMgCgzJc5 z9jgWhmSU0DXI1XVbfnK6Zc= =YSyE -END PGP SIGNATURE- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] clean /tmp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Wednesday 2007-05-30 at 10:00 +0800, tino perez wrote: > Too late, now the machine wont boot! :) X-) > Seriously.. what directories are safe to clean? > > i too had a problem few-moths ago in where my system run out of space in > a few short days after I inadvisable installed a intrusion detection > system that created huge log files... Well, /tmp is prety safe. Then there is /var/tmp, which some times is a link to /tmp, sometimes not. I don't know why there are two temp dirs. In fact, I have noticed that my "/etc/sysconfig/cron" doesn't have /var/tmp included to cleanup. Correction, it is included, but as those files are owned by root, they are not cleaned up. Plus, there are two new variables: MAX_DAYS_IN_LONG_TMP LONG_TMP_DIRS_TO_CLEAR The name "LONG_TMP" of the variables must be indicative of something :-? Then, there are programs that use their own temporary space, which might be under /tmp or not. Plus, some old files have to be purged by their own applications. Printer queues, fax, mail... usually, somewhere under /var/spool. And there are some that don't clean up; for instance, snort. Jobs for the admin! ;-) - -- Cheers, Carlos E. R. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGXVDxtTMYHG2NR9URAm0BAJ0b8ra3Uh/2ZGVXiuKWKFtUK8E7lACeJHQ9 Yn1QyHgfkwk1IlwPYrBtrXk= =Jfgn -END PGP SIGNATURE- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] clean /tmp
After I follow the steps on previous email. It seems work on my case. Now my /temp folder are getting lesser in size. Thanks a lot. Tommy On Wed, 2007-05-30 at 10:00 +0800, tino perez wrote: > Too late, now the machine wont boot! :) > > Seriously.. what directories are safe to clean? > > i too had a problem few-moths ago in where my system run out of space in > a few short days after I inadvisable installed a intrusion detection > system that created huge log files... > > > > > > On Tue, 2007-05-29 at 02:23 +0200, Carlos E. R. wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > > > The Sunday 2007-05-27 at 11:32 +0200, Richard Bos wrote: > > > > > > As I noticed my free space after one year using SUSE is really small i > > > > noticed that directories whitch was almost empty after instalation have > > > > some size is tehere an easy way to clean it > > > > > > > > /var 543MB > > > > /tmp 634MB > > > > > > > > or if there is some other places where I can find useless files to > > > > delete > > > > > > yast -> /etc/sysconfig editor -> system -> cron -> *dirs to clear etc > > > > But don't add /var to that! > > > > - -- > > Cheers, > >Carlos E. R. > > > > -BEGIN PGP SIGNATURE- > > Version: GnuPG v1.4.5 (GNU/Linux) > > Comment: Made with pgp4pine 1.76 > > > > iD8DBQFGW3KFtTMYHG2NR9URApsZAJwNa68mBtA1a8Vna12nlKyqEzZ2UgCcCWo1 > > WRpwn3kWxxl8JSDvuLcgxOA= > > =ucpy > > -END PGP SIGNATURE- > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] clean /tmp
Too late, now the machine wont boot! :) Seriously.. what directories are safe to clean? i too had a problem few-moths ago in where my system run out of space in a few short days after I inadvisable installed a intrusion detection system that created huge log files... On Tue, 2007-05-29 at 02:23 +0200, Carlos E. R. wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > The Sunday 2007-05-27 at 11:32 +0200, Richard Bos wrote: > > > > As I noticed my free space after one year using SUSE is really small i > > > noticed that directories whitch was almost empty after instalation have > > > some size is tehere an easy way to clean it > > > > > > /var 543MB > > > /tmp 634MB > > > > > > or if there is some other places where I can find useless files to delete > > > > yast -> /etc/sysconfig editor -> system -> cron -> *dirs to clear etc > > But don't add /var to that! > > - -- > Cheers, >Carlos E. R. > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.5 (GNU/Linux) > Comment: Made with pgp4pine 1.76 > > iD8DBQFGW3KFtTMYHG2NR9URApsZAJwNa68mBtA1a8Vna12nlKyqEzZ2UgCcCWo1 > WRpwn3kWxxl8JSDvuLcgxOA= > =ucpy > -END PGP SIGNATURE- > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] clean /tmp
On 2007-05-28 18:23, Carlos E. R. wrote: > > The Sunday 2007-05-27 at 11:32 +0200, Richard Bos wrote: > > >> As I noticed my free space after one year using SUSE is really small i > >> noticed that directories whitch was almost empty after instalation have > >> some size is tehere an easy way to clean it > >> > >> /var 543MB > >> /tmp 634MB > >> > >> or if there is some other places where I can find useless files to > delete > > yast -> /etc/sysconfig editor -> system -> cron -> *dirs to clear etc > > But don't add /var to that! > Indeed not! /tmp and /var/tmp are the only directories I ever consider need to be cleaned out, but that still leaves a lot of stuff in /var/adm/. I would feel very uncomfortable using a cron task to clean out very much in there, except for /var/adm/backup/rpmdb, which is handled in cron.daily (file /etc/sysconfig/backup). -- Moral indignation is jealousy with a halo. -- HG Wells -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] clean /tmp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Sunday 2007-05-27 at 11:32 +0200, Richard Bos wrote: > > As I noticed my free space after one year using SUSE is really small i > > noticed that directories whitch was almost empty after instalation have > > some size is tehere an easy way to clean it > > > > /var 543MB > > /tmp 634MB > > > > or if there is some other places where I can find useless files to delete > > yast -> /etc/sysconfig editor -> system -> cron -> *dirs to clear etc But don't add /var to that! - -- Cheers, Carlos E. R. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGW3KFtTMYHG2NR9URApsZAJwNa68mBtA1a8Vna12nlKyqEzZ2UgCcCWo1 WRpwn3kWxxl8JSDvuLcgxOA= =ucpy -END PGP SIGNATURE- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] clean /tmp
Op Sunday 27 May 2007 11:11:16 schreef Fazer: > As I noticed my free space after one year using SUSE is really small i > noticed that directories whitch was almost empty after instalation have > some size is tehere an easy way to clean it > > /var 543MB > /tmp 634MB > > or if there is some other places where I can find useless files to delete yast -> /etc/sysconfig editor -> system -> cron -> *dirs to clear etc -- Richard Bos Without a home the journey is endless -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[opensuse] clean /tmp
Hellow As I noticed my free space after one year using SUSE is really small i noticed that directories whitch was almost empty after instalation have some size is tehere an easy way to clean it /var 543MB /tmp 634MB or if there is some other places where I can find useless files to delete -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]