Linux-Misc Digest #615, Volume #26 Sat, 23 Dec 00 03:13:02 EST
Contents:
Re: rcpthosts (Vilmos Soti)
Re: Maximum file size gzip can handle? (Dave Brown)
Re: Burnt CD Quality? ([EMAIL PROTECTED])
Re: Semi-newbie partition question (Todd Rich)
how to detect when a CDROM is loaded? ("ekkis")
how to detect when a CDROM is loaded? ("ekkis")
Re: Simple question.... (Dave Brown)
Re: Vim 5.7 on Linux.. RPM (Sven Guckes)
suid root not working on RH7 2.2.16-22 ? (Danny Aldham1)
Re: Burnt CD Quality? (David)
Re: Torvalds Speaks Out on RedHat 7.0 and gcc/kgcc idiocity! [Fwd: Signal 11]
(Anthony Ard)
Re: frustrated with rpm (David)
Re: frustrated with rpm (Paul Colquhoun)
User / Group name (Jack Cheng)
Re: Simple question....
Re: suid root not working on RH7 2.2.16-22 ? (Danny Aldham)
Re: gnome
Re: Maximum file size gzip can handle? (Dragan Colak)
gtoaster (Siukong)
Can someone explain DUMP? (WORLOK)
----------------------------------------------------------------------------
Subject: Re: rcpthosts
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Sat, 23 Dec 2000 04:31:46 GMT
RC Walker <[EMAIL PROTECTED]> writes:
> all these clients to send messages to the outside world. With
> 'firewall.server.com' as the out going SMTP server, I get an error
> message stating that, 'the host (whatever account I am sending to), is
> not found in rcpthosts'. Any hints on how to fix this?
I think all you need is to add 'firewall.server.com' to your
/var/qmail/control/rcpthosts and restart qmail.
Vilmos
------------------------------
From: [EMAIL PROTECTED] (Dave Brown)
Subject: Re: Maximum file size gzip can handle?
Reply-To: [EMAIL PROTECTED]
Date: 22 Dec 2000 22:49:12 -0600
In article <9202lg$31i5$[EMAIL PROTECTED]>, Dragan Colak wrote:
>I'm trying to zip a 5 GByte *.tar file with "gzip filename.tar".
>As a result I get an error message that says
>"Value too large for defined data type" and no compressed
>file.
>What is the maximum file size gzip can handle?
Hmm.. I thought Linux (32-bit) was limited to a 2GB file size. Where
is this 5 GB file located?
Well, at any rate, how about streaming it through gzip:
cat bigfile | gzip > compressed_bigfile
--
Dave Brown Austin, TX
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Burnt CD Quality?
Date: 22 Dec 2000 23:50:55 -0500
John Scudder <[EMAIL PROTECTED]> wrote:
> I'm wondering about whether this is a software or hardware problem.
> When I burn an audio CD it plays fine on my computer and plays fine on
> my good $200 CD Player Deck. When I try to play these homebrew CDs on a
> cheaper boombox, the CD either plays the first few songs and quits or
> refuses to play at all. Is it possible that my SCSI CDR burner is not
> burning properly so that these less expensive CD Players have trouble
> reading the tracks? Or is it the brand CDR that I am using?
It could be the brand of CDR, some brands work better with some players.
It could be the player.
Did you burn disk at once or track at once?
Does the player have a skip protection feature? If so, can you turn it
off? (try that)
------------------------------
From: Todd Rich <[EMAIL PROTECTED]>
Subject: Re: Semi-newbie partition question
Date: 23 Dec 2000 05:36:00 GMT
Btw, thanks for not answering. I'll be installing it tomorrow morning.
Todd Rich <[EMAIL PROTECTED]> writes:
: Ok, I am starting to make the jump over to Linux. I got SuSE 7.0
: Professional, and a new hard drive to install it on. I'll be manualy
: switching to it to work on it and leaving my current hd unplugged until
: I'm sure I've got things right. I've got System Commander 2000 and
: Win95OSR2 installed on it, then moved the fat32 partition to the 7gb mark
: on my hd. The hd is 30 gigs, so the first 7 gigs are unpartitioned, the
: next 13 gigs are fat32, and the rest is unpartitioned. Now, on to the
: questions.
: 1, Will YaST partition all the unpartitioned areas correctly, or will I
: need to use SC 2K to do it first? I plan on having a 128meg swap
: partition.
: 2, I plan on using SC 2K as the boot manager, any tips I should pay
: attention to here?
: 3, I left the start of the fat32 partition under the 8gig limit so it
: would be bootable and it is. Is this really necessary if I use SC 2K?
: I'll be eventually moving this hard drive into a new system I'm building,
: and adding a second hd that will be mostly for Linux. Any precautions on
: switching it over?
: Thanks.
: --
: Due to spamage I have been getting my e-mail address is now anti-spam
: encoded. Remove the unknown letter to e-mail.
--
Due to spamage I have been getting my e-mail address is now anti-spam
encoded. Remove the unknown letter to e-mail.
------------------------------
From: "ekkis" <[EMAIL PROTECTED]>
Crossposted-To: redhat.general
Subject: how to detect when a CDROM is loaded?
Date: Fri, 22 Dec 2000 20:56:49 -0800
**** Post for FREE via your newsreader at post.usenet.com ****
can anyone point me in the right direction? I would like to run a script of
my choice whenever a CDROM is inserted into the drive. how can this be
done? is there a better newsgroup to post this
question to?
1k thx - e
please cc me on reply as I don't check this newsgroup often!
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
*** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
http://www.usenet.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
------------------------------
From: "ekkis" <[EMAIL PROTECTED]>
Subject: how to detect when a CDROM is loaded?
Date: Fri, 22 Dec 2000 20:58:06 -0800
**** Post for FREE via your newsreader at post.usenet.com ****
can anyone point me in the right direction? I would like to run a script of
my choice whenever a CDROM is inserted into the drive. how can this be
done? is there a better newsgroup to post this
question to?
1k thx - e
please cc me on reply as I don't check this newsgroup often!
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
*** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
http://www.usenet.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
------------------------------
From: [EMAIL PROTECTED] (Dave Brown)
Subject: Re: Simple question....
Reply-To: [EMAIL PROTECTED]
Date: 22 Dec 2000 23:11:20 -0600
In article <3a4261fd$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>
>[EMAIL PROTECTED] (Lew Pitcher) wrote:
>>On Fri, 22 Dec 2000 03:28:41 +0900 (KST), [EMAIL PROTECTED]
>>(Lee soonki) wrote:
>>
>>>It seems that the 'dmesg' command shows only kernel jobs.
>>>i.e. the jobs done by init process can't be seen by dmesg after
>>>booting.
>>>Is there another command? or another method?
>>
>>more /var/log/messages
>
>I would use something more like
>tail -1000 /var/adm/messages | less
>
>1000 might be a bit high, but if you want to be
>sure to get most messages in the last cauple of weeks that might
>do it. Just using more takes about 10 minutes to page to the
>messages recent enough to care about.
Or, how about:
grep '^Dec ' /var/log/messages | more
which would show you December's entries.
--
Dave Brown Austin, TX
------------------------------
From: [EMAIL PROTECTED] (Sven Guckes)
Crossposted-To: comp.editors,comp.os.linux.apps
Subject: Re: Vim 5.7 on Linux.. RPM
Date: 23 Dec 2000 05:55:35 GMT
Reply-To: [EMAIL PROTECTED]
* Jeffrey Hood <[EMAIL PROTECTED]>:
> Does anyone know where I can get Vim 5.7 for Linux
> in rpm format that isn't the new version of rpm
> (I need one that will run with <=3 for the rpm...)
http://www.vim.org/dist.html#rpm
http://rpmfind.net/
> I have downed the source, but can't get it to compile...
> get an error message re some gui file, and can't seem to
> change the compile options to get it to work...
Well, you can post about this here, too.
Don't forget to include the "minimal data"..
http://www.vim.org/usenet.html
Sven
--
Sven Guckes [EMAIL PROTECTED] [vim-version]
VIM VERSION latest user release: VIM-5.7 [000624]
VIM VERSION latest user release patch: VIM-5.7.19 [001128]
VIM VERSION latest developer release: VIM-6.0q [001217]
------------------------------
From: Danny Aldham1 <[EMAIL PROTECTED]>
Subject: suid root not working on RH7 2.2.16-22 ?
Date: Sat, 23 Dec 2000 06:02:08 GMT
I have a couple of RH boxes we have upgraded to RH7, 2.2.16-22 .
It seems that suid root scripts no longer act as root. Am I missing
something here? Is this standard release now, and if so, how do I put
it back to normal functioning?
--
Danny Aldham Providing Certified Internetworking Solutions to Business
www.postino.com E-Mail, Web Servers, Web Databases, SQL PHP & Perl
------------------------------
From: David <[EMAIL PROTECTED]>
Subject: Re: Burnt CD Quality?
Date: Sat, 23 Dec 2000 06:05:47 GMT
John Scudder wrote:
>
> I'm wondering about whether this is a software or hardware problem.
> When I burn an audio CD it plays fine on my computer and plays fine on
> my good $200 CD Player Deck. When I try to play these homebrew CDs on a
> cheaper boombox, the CD either plays the first few songs and quits or
> refuses to play at all. Is it possible that my SCSI CDR burner is not
> burning properly so that these less expensive CD Players have trouble
> reading the tracks? Or is it the brand CDR that I am using? Could it
> be the CD Burner software (X-CD-Roast 9.8.7)?
>
> Any ideas
>
> John
Just a thought would be to upgrade to Xcdroast 98alpha8. Another would
be to try burning one at a slower speed if you haven't already.
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
Completed more W/U's than 98.912% of seti users. +/- 0.01%
------------------------------
From: Anthony Ard <[EMAIL PROTECTED]>
Subject: Re: Torvalds Speaks Out on RedHat 7.0 and gcc/kgcc idiocity! [Fwd: Signal 11]
Date: 22 Dec 2000 22:06:32 -0800
Greetings,
>>>>> "JT" == JT Is Me <[EMAIL PROTECTED]> writes:
JT> They may have screwed up, but I'm also chalking this up to a
JT> learning experience. I have learned more that from previous
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
JT> distros.
^^^^^^^^
Syntax error!
JT> John
What?
--
Anthony Ard <[EMAIL PROTECTED]>
Finger me for PGP key. "Wouldn't you rather be involved in a series of
colorful time-wasting trends?" -- Frank Zappa
------------------------------
From: David <[EMAIL PROTECTED]>
Subject: Re: frustrated with rpm
Date: Sat, 23 Dec 2000 06:07:26 GMT
* Tong * wrote:
>
> Hi,
>
> 1) I can't find the answer to a question seems to me very simple:
> how to show the info of a un-installed rpm package.
>
> I tried at least more than 3 times looking into the man page trying
> to find the answer and today I have to admit that I can't do
> it. This is all that I've tried today:
>
> 1018 rpm -q mkkickstart-2.1-1.noarch.rpm
> 1019 rpm -q --specfile mkkickstart-2.1-1.noarch.rpm
> 1020 rpm -q -i mkkickstart-2.1-1.noarch.rpm
> 1021 rpm -i mkkickstart-2.1-1.noarch.rpm
> 1022 rpm -q -l mkkickstart-2.1-1.noarch.rpm
> 1023 rpm --querytags -i mkkickstart-2.1-1.noarch.rpm
> 1024 rpm --querytags mkkickstart-2.1-1.noarch.rpm
> 1025 rpm -q -i mkkickstart-2.1-1.noarch.rpm
> 1026 rpm -q -dump mkkickstart-2.1-1.noarch.rpm
> 1027 rpm -dump mkkickstart-2.1-1.noarch.rpm
>
> 2) how to list what it depends on and what files it includes?
>
> 3) Isn't the following info given by rpm contradicting?
>
> [root@host RPMS]# rpm -i mkkickstart-2.1-1.noarch.rpm
> package mkkickstart-2.1-1 is already installed
> ^^^^^^^^^^^^^^^^^
> [root@host RPMS]# rpm -q mkkickstart-2.1-1.noarch.rpm
> package mkkickstart-2.1-1.noarch.rpm is not installed
> ^^^^^^^^^^^^^^
> How should we interpret this contradicting info?
>
> Thanks!
>
> --
> Tong (remove underscore(s) to reply)
> http://members.xoom.com/suntong001/
> - All free contribution & collection & music from the heavens
rpm -qp -i /path/to/mkkickstart-*
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
Completed more W/U's than 98.912% of seti users. +/- 0.01%
------------------------------
From: [EMAIL PROTECTED] (Paul Colquhoun)
Subject: Re: frustrated with rpm
Reply-To: <[EMAIL PROTECTED]>
Date: Sat, 23 Dec 2000 06:17:11 GMT
On 22 Dec 2000 23:37:56 -0400, * Tong * <[EMAIL PROTECTED]> wrote:
|Hi,
|
|1) I can't find the answer to a question seems to me very simple:
|how to show the info of a un-installed rpm package.
|
|I tried at least more than 3 times looking into the man page trying
|to find the answer and today I have to admit that I can't do
|it. This is all that I've tried today:
|
| 1018 rpm -q mkkickstart-2.1-1.noarch.rpm
| 1019 rpm -q --specfile mkkickstart-2.1-1.noarch.rpm
| 1020 rpm -q -i mkkickstart-2.1-1.noarch.rpm
| 1021 rpm -i mkkickstart-2.1-1.noarch.rpm
| 1022 rpm -q -l mkkickstart-2.1-1.noarch.rpm
| 1023 rpm --querytags -i mkkickstart-2.1-1.noarch.rpm
| 1024 rpm --querytags mkkickstart-2.1-1.noarch.rpm
| 1025 rpm -q -i mkkickstart-2.1-1.noarch.rpm
| 1026 rpm -q -dump mkkickstart-2.1-1.noarch.rpm
| 1027 rpm -dump mkkickstart-2.1-1.noarch.rpm
|
rpm -q -i -p mkkickstart-2.1-1.noarch.rpm
|
|2) how to list what it depends on and what files it includes?
rpm -q -i -R -p xxxx.rpm will list the packages that this one
requires (i.e. depends on). You can swap '-R' with '--requires'
rpm -q -i -l -p xxxx.rpm lists all the files. You can also use
rpm -q -i --list -p xxxx.rpm
|
|3) Isn't the following info given by rpm contradicting?
|
|[root@host RPMS]# rpm -i mkkickstart-2.1-1.noarch.rpm
|package mkkickstart-2.1-1 is already installed
| ^^^^^^^^^^^^^^^^^
|[root@host RPMS]# rpm -q mkkickstart-2.1-1.noarch.rpm
|package mkkickstart-2.1-1.noarch.rpm is not installed
| ^^^^^^^^^^^^^^
|How should we interpret this contradicting info?
mkkickstart-2.1-1.noarch.rpm is the name of a file. When you use
rpm to install the package from this file (with rpm -i) it actually
installs the first package version of v2.1 of mkkickstart.
Try rpm -q mkkickstart
or rpm -q mkkickstart-2.1-1
--
Reverend Paul Colquhoun, [EMAIL PROTECTED]
Universal Life Church http://andor.dropbear.id.au/~paulcol
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
xenaphobia: The fear of being beaten to a pulp by
a leather-clad, New Zealand woman.
------------------------------
Subject: User / Group name
From: [EMAIL PROTECTED] (Jack Cheng)
Date: Sat, 23 Dec 2000 14:20:08 +0800
**** Post for FREE via your newsreader at post.usenet.com ****
Dear all,
I'm using the RH 6 Linux.
I'd a stupid question, what's the max. length of the user name and the group name.
Because while I create a user name which group name and the user name seems to be 8
charaters only. If I use more than 8 charaters for the user's and group's name, what
will be
happen?
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
*** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
http://www.usenet.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
------------------------------
From: <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
Subject: Re: Simple question....
Date: 22 Dec 2000 22:26:43 -0800
[EMAIL PROTECTED] (Dave Brown) wrote:
>In article <3a4261fd$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
wrote:
>>
>>[EMAIL PROTECTED] (Lew Pitcher) wrote:
>>>On Fri, 22 Dec 2000 03:28:41 +0900 (KST), [EMAIL PROTECTED]
>>>(Lee soonki) wrote:
>>>
>>>>It seems that the 'dmesg' command shows only kernel jobs.
>>>>i.e. the jobs done by init process can't be seen by dmesg after
>>>>booting.
>>>>Is there another command? or another method?
>>>
>>>more /var/log/messages
>>
>>I would use something more like
>>tail -1000 /var/adm/messages | less
>>
>>1000 might be a bit high, but if you want to be
>>sure to get most messages in the last cauple of weeks that might
>>do it. Just using more takes about 10 minutes to page to the
>>messages recent enough to care about.
>
>Or, how about:
>
> grep '^Dec ' /var/log/messages | more
>
>which would show you December's entries.
Hey thx, thats a good one.
------------------------------
From: Danny Aldham <[EMAIL PROTECTED]>
Subject: Re: suid root not working on RH7 2.2.16-22 ?
Date: Sat, 23 Dec 2000 06:25:08 GMT
Danny Aldham1 <[EMAIL PROTECTED]> wrote:
> I have a couple of RH boxes we have upgraded to RH7, 2.2.16-22 .
> It seems that suid root scripts no longer act as root. Am I missing
> something here? Is this standard release now, and if so, how do I put
> it back to normal functioning?
Nevermind. It is the version of bash on RH7 that does not support suid root.
Everything else seems to work fine.
--
Danny Aldham Providing Certified Internetworking Solutions to Business
www.postino.com E-Mail, Web Servers, Web Databases, SQL PHP & Perl
------------------------------
From: <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
Subject: Re: gnome
Date: 22 Dec 2000 22:40:10 -0800
> How do i create another one of those shortcuts?
>
> Right click -> Symlink...
Ok, I am going to let the cat out of the bag.....let you in on a
well kept secret amongst the linux headquarters....I will probably
be burned alive for this, but the public needs to know.
You are not stuck in the GUI in Linux!!!!!! You are FREE!!!!
`ln -s from_file_or_dir to_name`
This will create a "shortcut" (a link!) called 'to_name' which will
put you in 'from_file_or_dir' - *GASP* - chears from the audience
I know, its magic...but it actually works...and it CAN be taught!
Now, go 'bash' your computer some.....but not too much, you don't
want to strain yourself on the first day.
Just don't let MS know....they might steal the idea.
------------------------------
From: Dragan Colak <[EMAIL PROTECTED]>
Subject: Re: Maximum file size gzip can handle?
Date: Sat, 23 Dec 2000 08:33:33 -0100
Dave Brown wrote:
> In article <9202lg$31i5$[EMAIL PROTECTED]>, Dragan Colak wrote:
> >I'm trying to zip a 5 GByte *.tar file with "gzip filename.tar".
> >As a result I get an error message that says
> >"Value too large for defined data type" and no compressed
> >file.
> >What is the maximum file size gzip can handle?
>
> Hmm.. I thought Linux (32-bit) was limited to a 2GB file size. Where
> is this 5 GB file located?
>
> Well, at any rate, how about streaming it through gzip:
>
> cat bigfile | gzip > compressed_bigfile
>
>
I archived my users home directory. "ls -h" tells me it has 5.1 GByte.
When I tar it ls tells me I got a *.tar file with 5.0 GByte. The file
system doesn't seem to have a problem with it, I can mv it around,
e.g. to a nfs directory to copy it to another machine. When I mount
the nfs directory from another computer and try to copy the file to
the local file system it chancels at about 1 GByte. I tried it several
times, always with the same result.
I'm using SuSE Linux 7.0 Pro (2.2.16) right out of the box.
Dragan
------------------------------
From: Siukong <[EMAIL PROTECTED]>
Subject: gtoaster
Date: Sat, 23 Dec 2000 07:25:49 GMT
hi,
i try to use gtoaster to make a data disc. i drag all the data needed
to the file field. however, it keeps telling me that
"Recording 0 bytes to CD
No Recordable Tracks found"
the drive is accessible cuz i can blank the disc successfully.
what could be wrong?
SH
Sent via Deja.com
http://www.deja.com/
------------------------------
From: WORLOK <[EMAIL PROTECTED]>
Subject: Can someone explain DUMP?
Date: Sat, 23 Dec 2000 07:31:04 GMT
Hi,
I have always used TAR to do tape backups, and decided to try DUMP.
Every fs should fit on my tape, which is 4mm DAT DDS2 120m. I started
with my root partition, which is small, and I cannot understand the
output. It seems it ran out of tape? It was only running for a few
seconds. Can anyone explain why it prompted for the second tape so
quickly??
Output:
# /sbin/dump -0u -f /dev/st0 /
DUMP: Date of this level 0 dump: Sat Dec 23 00:31:28 2000
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/hda5 (/) to /dev/st0
DUMP: Label: none
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 257745 tape blocks on 6.63 tape(s).
DUMP: Volume 1 started at: Sat Dec 23 00:31:31 2000
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: Closing /dev/st0
DUMP: Volume 1 completed at: Sat Dec 23 00:33:04 2000
DUMP: Volume 1 took 0:01:33
DUMP: Volume 1 transfer rate: 412 KB/s
DUMP: Change Volumes: Mount volume #2
DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") no
DUMP: Do you want to abort?: ("yes" or "no") yes
DUMP: The ENTIRE dump is aborted.
This is my disk:
$ df -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/hda5 289 235 39 86% /
/dev/hda7 3397 794 2430 25% /home
/dev/hda6 3999 2581 1215 68% /usr
==================
Thanks,
Tom
--
================================
Viva Linux!! Viva La Revolutión!
================================
Sent via Deja.com
http://www.deja.com/
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.misc.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************