Re: [gentoo-user] Strange file in root
On Thursday 19 June 2003 15:50, Patrick Marquetecken wrote: > I was under the impression the there was no order to add parameters, > anyhow thanks for telling me, just learned something importand If you have a programm with two options both expecting a filename, who could the programm know which file belongs to which option if its not the filename after the option itself??? Arnold -- Get my public-key from pgp.mit.edu or pgp.uni-mainz.de --- Hi, I am a .signature virus. Please copy me into your ~/.signature and send me to all your contacts. After a month or so log in as root and do a rm / -rf. Or ask your administrator to do so... pgp0.pgp Description: signature
Re: [gentoo-user] Strange file in root
I was under the impression the there was no order to add parameters, anyhow thanks for telling me, just learned something importand Patrick On Thu, 19 Jun 2003 15:31:24 +0200 Marc Winiger <[EMAIL PROTECTED]> wrote: > * Patrick Marquetecken <[EMAIL PROTECTED]> [19.06.03 15:22]: > > spamd !! > > a while ago i put -L to the /etc/init.d/spamd file because i had some > > speed probems with spamassassin, i'm going to remove that option. > > You added -L between -r and the pid-filename. But -r is the option to > set the pid-file, so spamd used -L as pid-file. > > Anyway it's the wrong file to add such parameters. Use the /etc/conf.d > directory insteed. > Add the -L parameter to /etc/conf.d/spamd if you'd like to use it. > > -- > panic("Fod fight!"); > 2.2.16 /usr/src/linux/drivers/scsi/aha1542.c > > > -- > [EMAIL PROTECTED] mailing list > > > -- "Computer, delete Paris" -- The Doctor "What are you doing?!?" -- Ensign Kim "Computer, delete Kim" -- The Doctor (Projections) PGP Key: http://users.pandora.be/rivendell/marquetp.gpg Fingerprint = 2792 057F C445 9486 F932 3AEA D3A3 1B0C 1059 273B ICQ# 316932703 Registered Linux User #44550 http://counter.li.org pgp0.pgp Description: PGP signature
Re: [gentoo-user] Strange file in root
* Patrick Marquetecken <[EMAIL PROTECTED]> [19.06.03 15:22]: > spamd !! > a while ago i put -L to the /etc/init.d/spamd file because i had some > speed probems with spamassassin, i'm going to remove that option. You added -L between -r and the pid-filename. But -r is the option to set the pid-file, so spamd used -L as pid-file. Anyway it's the wrong file to add such parameters. Use the /etc/conf.d directory insteed. Add the -L parameter to /etc/conf.d/spamd if you'd like to use it. -- panic("Fod fight!"); 2.2.16 /usr/src/linux/drivers/scsi/aha1542.c -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Strange file in root
spamd !! a while ago i put -L to the /etc/init.d/spamd file because i had some speed probems with spamassassin, i'm going to remove that option. thanks On Thu, 19 Jun 2003 14:59:04 +0200 Marc Winiger <[EMAIL PROTECTED]> wrote: > * Patrick Marquetecken <[EMAIL PROTECTED]> [19.06.03 14:43]: > > aumixer, but its going to /dev/null > > Just had a brain wave :) > You told there's a number in the file... It MUST be a PID :) > > run this command in the directory containing the -L file: > ps ax | grep `cat -- -L` > or > ps ax | grep "the digits in your file without quotes" > > this command should show you the process belonging to your file, if it > is still running. > > -- > /* > * Hash table gook.. > */ > 2.4.0-test2 /usr/src/linux/fs/buffer.c > > > -- > [EMAIL PROTECTED] mailing list > > > -- "Computer, delete Paris" -- The Doctor "What are you doing?!?" -- Ensign Kim "Computer, delete Kim" -- The Doctor (Projections) PGP Key: http://users.pandora.be/rivendell/marquetp.gpg Fingerprint = 2792 057F C445 9486 F932 3AEA D3A3 1B0C 1059 273B ICQ# 316932703 Registered Linux User #44550 http://counter.li.org pgp0.pgp Description: PGP signature
Re: [gentoo-user] Strange file in root
* Patrick Marquetecken <[EMAIL PROTECTED]> [19.06.03 14:43]: > aumixer, but its going to /dev/null Just had a brain wave :) You told there's a number in the file... It MUST be a PID :) run this command in the directory containing the -L file: ps ax | grep `cat -- -L` or ps ax | grep "the digits in your file without quotes" this command should show you the process belonging to your file, if it is still running. -- /* * Hash table gook.. */ 2.4.0-test2 /usr/src/linux/fs/buffer.c -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Strange file in root
aumixer, but its going to /dev/null On Thu, 19 Jun 2003 14:33:58 +0200 Marc Winiger <[EMAIL PROTECTED]> wrote: > * Patrick Marquetecken <[EMAIL PROTECTED]> [19.06.03 14:20]: > > 4 -rw-r--r--1 root root5 2003-06-19 07:05 -L > > Could anyone give me some advice on this, because something that creates > > files behind my back gives me the creeps. > > fgrep -e "-L" /etc/init.d/* > fgrep -e "-L" /etc/conf.d/* > > Is there somewhere something like "> -L" or so? > > -- > /* Thanks to Rob `CmdrTaco' Malda for not influencing this code in any > * way. > */ > 2.4.3 linux/net/core/netfilter.c > > > -- > [EMAIL PROTECTED] mailing list > > > -- "Computer, delete Paris" -- The Doctor "What are you doing?!?" -- Ensign Kim "Computer, delete Kim" -- The Doctor (Projections) PGP Key: http://users.pandora.be/rivendell/marquetp.gpg Fingerprint = 2792 057F C445 9486 F932 3AEA D3A3 1B0C 1059 273B ICQ# 316932703 Registered Linux User #44550 http://counter.li.org pgp0.pgp Description: PGP signature
Re: [gentoo-user] Strange file in root
* Patrick Marquetecken <[EMAIL PROTECTED]> [19.06.03 14:20]: > 4 -rw-r--r--1 root root5 2003-06-19 07:05 -L > Could anyone give me some advice on this, because something that creates > files behind my back gives me the creeps. fgrep -e "-L" /etc/init.d/* fgrep -e "-L" /etc/conf.d/* Is there somewhere something like "> -L" or so? -- /* Thanks to Rob `CmdrTaco' Malda for not influencing this code in any * way. */ 2.4.3 linux/net/core/netfilter.c -- [EMAIL PROTECTED] mailing list
[gentoo-user] Strange file in root
Hi, The last weeks i find a strange file in my root. Its called -L The contents of this file is 1985 or 1976 and it seems that it is created at startup. 4 -rw-r--r--1 root root5 2003-06-19 07:05 -L Could anyone give me some advice on this, because something that creates files behind my back gives me the creeps. Patrick -- "Computer, delete Paris" -- The Doctor "What are you doing?!?" -- Ensign Kim "Computer, delete Kim" -- The Doctor (Projections) PGP Key: http://users.pandora.be/rivendell/marquetp.gpg Fingerprint = 2792 057F C445 9486 F932 3AEA D3A3 1B0C 1059 273B ICQ# 316932703 Registered Linux User #44550 http://counter.li.org pgp0.pgp Description: PGP signature