Linux-Misc Digest #826, Volume #26 Mon, 15 Jan 01 19:13:02 EST
Contents:
Re: newbie rpm question ("Chip Piller")
What Xserver (Maybe I need to update my install) (Ron Gibson)
rpm woes ([EMAIL PROTECTED])
Re: Help: New SCSI Card, Old can still scanned (George)
Re: Mandrake PATH setting (Bit Twister)
Re: Term emulator with *real* keypad emulation? (Bit Twister)
big group and adduser ("Michal Kolesar")
Re: Netscape 4.7X (Sean)
Re: Attempted ftp for ??? (Silviu Minut)
Re: What is the community's favorite news reader (and why)? (Silviu Minut)
Re: Add a user to a group? (Linux User)
Re: Linux IDE RAID Cards (Tim Moore)
----------------------------------------------------------------------------
From: "Chip Piller" <[EMAIL PROTECTED]>
Subject: Re: newbie rpm question
Date: Mon, 15 Jan 2001 17:35:47 -0500
You want to use the query options for rpm. To print the files installed in
rpm package foo use command "rpm -ql foo". Some packages have a lot of
files so you might want to pipe the output of this command into less or do
something similar "rpm -ql foo | less".
I only use tar packages these days if the rpm does not exist or if I want
to play with or compile source code. Once you get familiar with rpm
features you will find it is very easy to manage all the packages on your
system. It is also relatively easy to build your own rpm's if you should
ever have the desire.
RPM allows you to get information on an installed package "rpm -qi foo".
If you come across a file and want to know what package it belongs to use
"rpm -qf /path/to/file".
Think that you have screwed something up in package foo? Use command
"rpm --verify foo" .
And of course, rpm is great for installing, upgrading, freshening, and
uninstalling.
Do a "rpm -qa | sort | less" to see a sorted list of all packages on your
system. What glibc packages do I have installed? Use command "rpm -qa |
grep glibc".
Hope this helps,
Chip
<[EMAIL PROTECTED]> wrote in message news:93vrl4$6jf$[EMAIL PROTECTED]...
> I was wondering what command I would use to get the destination of each
> file in the rpm file. Basically, I need something similar to:
>
> tar -tf file.tar
>
> where it lists all the contents, including directories. I just want to
> know where all the files are distributed to. I've read through the man
> pages, but I guess I missed it. I've been wondering about it for a while
> now. I also have no clue how to get things to register (it seems) with
> the rpm database. This makes it impossible to uninstall the packages.
> I've chosen tarballs over rpms files because of these problems...at
> least I know where tar files go.
>
>
> Sent via Deja.com
> http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED] (Ron Gibson)
Crossposted-To: comp.os.linux.setup
Subject: What Xserver (Maybe I need to update my install)
Date: 15 Jan 2001 22:39:11 GMT
I just bought a Geforce 256 card (ASUS V6600-Deluxe).
What xserver should I use?
I'm at kernel 2.2.14 and haven't upgraded in a while (Slackware 7.0)
Email: [EMAIL PROTECTED]
Home Page: http://home.netcom.com/~rgibson/index.htm
------------------------------
From: [EMAIL PROTECTED]
Subject: rpm woes
Date: Mon, 15 Jan 2001 22:33:04 GMT
Hi all, � I have a problem with Mandrake 7.2 for x86 that has only just
manifested itself.� When I use rpm to install a new package (either from the
command line or using a gui such as rpmdrake) the package appears to install,
but then the computer slows down to a crawl and is not recoverable.� The
mouse moves around the screen more and more jerkily, and keypresses do not
seem to be registered. If I am running a gui rpm program, then I cannot quit
it. � I used gkrellm to see what might be going on and this showed that the
number of processes keeps increasing steadily (but quickly).� Disk activity
and cpu usage stay constant and quite low. � This problem first occured when
I tried to install ROX.� An error message stating that the rpm was not signed
appeared.� I clicked 'continue', the application installed, and the computer
slowed down.� I can now run ROX, but it is not in the rpm database. � The
slowdown now occurs whenever I try to install ANY rpm package (signed or
not). � Any ideas why this problem is occuring, and what I can do to solve
it? At the moment, of course, I cannot install any new rpm packages without
the computer crawling to a standstill.� Again, any packages I do install work
after resetting the machine, but are not registered in the rpm database. �
Yours hopefully, � Chris
Sent via Deja.com
http://www.deja.com/
------------------------------
From: George <[EMAIL PROTECTED]>
Subject: Re: Help: New SCSI Card, Old can still scanned
Date: Mon, 15 Jan 2001 22:52:03 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> On Mon, 15 Jan 2001 13:55:33 GMT, George <[EMAIL PROTECTED]> wrote:
> >In article <[EMAIL PROTECTED]>,
> > [EMAIL PROTECTED] wrote:
> >> On Sun, 14 Jan 2001 23:15:36 GMT, George <[EMAIL PROTECTED]>
wrote:
> >> >Help
> >> >
> >> >System
> >> >
> >> >RedHat 7.0, P200, 132 Ram, 1 Gig IDE, SCSI CDROM and HardDrives
> >> >
> >> >
> >> >
> >> >Removed Future Domain SCSI Card (seagate driver).
> >> >
> >> >Installed a BusLogic SCSI Card
> >> >
> >> >With KDE setup for BusLogic Card, deleted seagate
> >> >
> >> >On boot it still looks for the seagate card
> >> >On boot NEVER looks for the BusLogic card
> >> >
> >> >???? How can I fix this ????
> >> >
> >> >I booted the system off an install floppy disk, used the driver
disk
> >> >and indicated that I had a local CDROM, selected BusLogic SCSI and
> >> >Anaconda came right up. Indicated that I wanted an upgrade using
> >> >the Buslogic SCSI driver for my CDROM. When the process completed
> >> >I thought that it would fix the problem.
> >> >On boot still uses the seagate and never the BusLogic.
> >> >
> >> >Suggestions !!!!
> >> >
> >> >
> >> >George
> >> >
> >> >
> >> >
> >> >Sent via Deja.com
> >> >http://www.deja.com/
> >>
> >> You probably need to change your /etc/conf.modules ( or
modules.conf)
> >file to
> >> load the correct module for your new card. look for line with
> >> scsi_host_adapter.
> >
> >In rhe file /etc/modules.conf there is an alias option for
> >BusLogic.
> >
> >This appears to do nothing. The system is always looking for
> >the seagate driver, is this somekind of default ?
> >
> >George
> >
> >
> >> --
> >> Dick Freedman
> >>
> >>
> >
> >
> >Sent via Deja.com
> >http://www.deja.com/
>
> I am aware of no defaults for scsi. You (as root) might do a
> grep -r nameoftheseagatemodule in the /etc directory to see if it in
any
> setup file. Is the Seagate module compiled into the Kernel? Also, do
things
> work if you load your module using the modprobe command. Finally,
are you
> sure the subject module is resident on your system?
>
> --
> Dick Freedman
>
I can load the BusLogic module by hand.
I do not know if the seagate module is built into the kernel
during the RH 7.0 install process.
The seagate module is loaded before rc.sysinit starts. I placed
an "echo" and "sleep" at the start to check this out.
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED] (Bit Twister)
Crossposted-To: alt.os.linux.mandrake
Subject: Re: Mandrake PATH setting
Reply-To: [EMAIL PROTECTED]
Date: Mon, 15 Jan 2001 23:01:22 GMT
On 15 Jan 2001 13:24:38 -0400, * Tong * <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (Bit Twister) writes:
>
>> On 14 Jan 2001 20:32:56 -0400, * Tong * <[EMAIL PROTECTED]> wrote:
>> >[EMAIL PROTECTED] (Bit Twister) writes:
>> >
>> >> On 13 Jan 2001 17:06:24 -0400, * Tong * <[EMAIL PROTECTED]> wrote:
>> >> >Hi,
>> >> >
>> >> >I choose high security level when installing mandrake and found that
>> >> >my PATH setting in /etc/profile no longer work any more (at least
>> >> >for the root). Instead, the comment hints that the Mandrake security
>> >> >management is taking care of it.
>> >> >
>> >>
>> >> I have created /etc/profile.d/xx_local.sh
>> >> with my changes and did a
>> >> chmod +x /etc/profile.d/xx_local.sh
>> >> I am running at SECURE_LEVEL=3
>> >
>> >Can someone explain this a little bit?
>> > I have no clue how I should do.
>> The suggestion was to create a file xx_local.sh
>> in /etc/profile.d directory.
>> You would then put your PATH setting and export it
>> in xx_local.sh
>> Then you have to set the execute bit with the command
>> chmod +x /etc/profile.d/xx_local.sh
>>
>> > Does the SECURE_LEVEL has anything to do with the xx_?
>>
>> I indicated the secure_leve to show that PATH worked
>> for me at SECURE_LEVEL=3 and I was not running at
>> the "high security level" that you are using.
>
>thanks a lot. I was confused about the (weird) name xx_local.sh, I
>thought that it is an arbitrary name, or I have to some how
>substitute the xx_. Now I know that it is nothing fancy, just a
>specific regular name... thanks
Well there was a reason for the name.
xx was to force it to the bottom of the
for i in /etc/profile.d/*.sh ; do
in /etc/profile and _local indicated it
was a local machine file.
------------------------------
From: [EMAIL PROTECTED] (Bit Twister)
Crossposted-To: comp.os.linux.setup
Subject: Re: Term emulator with *real* keypad emulation?
Reply-To: [EMAIL PROTECTED]
Date: Mon, 15 Jan 2001 23:05:48 GMT
I export TERM=vt100 and have the keymap in my .Xresources.
Use the F1-F4 keys for the "Gold instead of the numlock keys.
On Mon, 15 Jan 2001 18:34:09 GMT, Roger Blake <[EMAIL PROTECTED]> wrote:
>Is there a terminal emulator for X that accurately emulates the VT100
>application keypad, including the use of NumLock as the DEC "Gold"
>editing key?
>
>I'm trying to install my favorite text editor, "ED," which is a clone
>of the old DEC EDT editor. (Available via anonymous ftp from clio.rice.edu.)
>This editor makes extensive use of the numeric keypad in application mode,
>unfortunately all of the terminal emulators I've tried so far don't
>seem to properly emulate the keypad, particularly that pesky Gold key.
>(Though the Linux console does, ED works fine from a text-mode console.)
>
>Thus far I've tried xterm, gnome-terminal, konsole, and e-term along
>with their various keyboard settings where available, and no luck so far;
>the only way I can make ED work properly is to switch to one of the
>text-mode consoles.
>
>Any help finding an emulator that will work with this will be greatly
>appreciated! Though I'm no stranger to vi, having worked extensively
>with DEC systems I've got that blasted EDT keypad burned into my brain...
>
>--
> Roger Blake
> (remove second "g" and second "m" from address for email)
------------------------------
From: "Michal Kolesar" <[EMAIL PROTECTED]>
Subject: big group and adduser
Date: Mon, 15 Jan 2001 23:53:48 +0100
Hello!
I have a big group in debian potato 2.2.
it look that long of row in /etc/group is limited.
My group 'users' contain 1100 users. And is true correctly.
the same is in /etc/gshadow.
when I tried run grpck i get a error message that one user
of big group 'users' dont exitst. But this is not true because
the user is not containing in the group 'users' in /etc/group.
in /etc/group is:
..
..
users:x:100:user1,user2,user3.... user800, userabcd,user802, user803, ....,
user1100.
when I tried run 'grpck' I get error:
4 root@server:/root# grpck
group users: no user userabc
delete member `userabc'?
but group 'users' in /etc/group or /etc/gshadow dont contain user 'userabc'.
It contain 'userabcd'. So it look that long of rows in /etc/group are
limited...
You know about this limitations?
Tx for help.
--
---
Michal Kolesar
[EMAIL PROTECTED]
http://www.egarden.cz
public server of free unix services
------------------------------
From: Sean <[EMAIL PROTECTED]>
Subject: Re: Netscape 4.7X
Date: Mon, 15 Jan 2001 23:05:21 +0000
yeah, I have noticed that, and it usually seems to appear after I have
been mucking about with sound.
the site www.watchedit.com always seems to make Netscape exhibit this
behaviour, which is a pity, since I think it is a really good site.
Sean
Kevin wrote:
>
> I've noticed something odd with netscape 4.7x, where "x" is any
> digit they've released. At some point during a netscape session,
> links quit working -- that is, clicking on a link only changes
> the color of the link but doesn't actually take me to the link.
> I can't remember seeing this with 4.7, but all of the versions
> since then seem to have this behavior. In order to get good
> behavior, I have to quit, then kill, then restart netscape.
>
> Anyone else notice this? Anyone got a workaround?
>
> Thanks....
>
> --
> Unless otherwise noted, the statements herein reflect my personal
> opinions and not those of any organization with which I may be affiliated.
------------------------------
From: Silviu Minut <[EMAIL PROTECTED]>
Subject: Re: Attempted ftp for ???
Date: Mon, 15 Jan 2001 18:14:07 -0500
Could be that he sent someting to ftpd trying to exploit some buffer overflow. Check
with bugtraq at http://www.securityfocus.com . They have the latest known exploits.
Steve wrote:
> I just had someone trying to do *something* via an ftp connection.
> Here's what shows up in /var/log/messages...
>
> Jan 15 15:06:40 wizard ftpd[30984]: SITE EXEC (lines: 0):
>
>xx(���%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%.f%c%c%c%.f|%p
> ^^AF^Df��^A�'
>
> It's the same thing twice, and then two other times, where the last few
> characters are different:
>
> cV^L�^K�?1�1۰^A�?�
> %c%c%c%.f|%n
>
> The "perp" is from mercury.ttn.com.tw. Any idea what this was meant
> to
> accomplish?
>
> --
> Steve Ackman
> http://twovoyagers.com/metamorphosis/artist/artist.html
------------------------------
From: Silviu Minut <[EMAIL PROTECTED]>
Subject: Re: What is the community's favorite news reader (and why)?
Date: Mon, 15 Jan 2001 18:26:19 -0500
http://rpmfind.net/linux/RPM/News.html
Then, of course, there's emacs.
the softrat wrote:
> Netscrape does not have all the functionality I desire. It keeps
> screwing up the message counts. It does not seem to permit block marking
> of messages as read. What else is there out there that people like to
> use (with Linux). Thanks for your help.
> --
> the softrat
> mailto:[EMAIL PROTECTED]
> ---
> (A Funny Line)
------------------------------
From: Linux User <[EMAIL PROTECTED]>
Subject: Re: Add a user to a group?
Date: Mon, 15 Jan 2001 15:30:56 -0800
Hello,
[EMAIL PROTECTED] wrote:
> LOL. if you do usermod -G group user, the user will be removed from all
> other groups he/she already belongs to.
Yep, unfortunately that's the way it works. You have to type in every group
you want the user to belong too everytime you want to add a group to a
user. This could definitely be improved.
Cheers,
Jim H
>
> Linux User wrote:
>
> > Hello,
> >
> > LOL. My fault I should have known you wanted to modify an existing user.
> >
> > [EMAIL PROTECTED] wrote:
> >
> > > usermod -G `id -Gn user | tr ' ' ,`,group user
> >
> > usermod -G group user
> >
> > Should do the same thing.
> >
> > Cheers,
> > Jim H
> >
> > >
> > > [EMAIL PROTECTED] wrote:
> > >
> > > > Is there a shell utility to add a user to a group? I know usmod -G
> > > > almost does the job, but instead of adding the user to a group, it
> > > > modifies the user's group settings.
> > > >
> > > > Thanks in advance!
> > >
>
------------------------------
From: Tim Moore <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.advocacy
Subject: Re: Linux IDE RAID Cards
Date: Mon, 15 Jan 2001 23:54:53 GMT
> Can anyone recommend a good raid IDE controller for Linux. Preferably
> ATA 100. We have tried using the Promise controller with limited
> success. We probably want to run 2 controllers in the server (for more
> speed) with a total of 6 drives. 4 of the drives running raid 1+0 and
> the other 2 forming a separate mirror. The 2 in the mirror we also want
> to boot off of.
AMI's IDE RAID controller is actually an ATA66/100 chipset with 2 IDE
controllers, similar to HighPoint, Promise, et al. All raid functions
for the low end RAID controllers are implemented in software and for
linux, this is software RAID. I have seen a pure hardware device that
mirrors a pair of IDE drives but don't remember the company name.
I have set up and used several configurations with both the old and new
raid tools/kernels using Promise and HPT366 hardware. The basic rule
for IDE RAID is to group RAID sets across different controllers (eg-
don't mix Masters and Slaves in a set from the same controller).
Assuming you use the onboard chipset for the boot mirror and have 2
ATA100s:
hda + hdc = system disk (RAID 1)
hdb and/or hdd for CDROM, etc.
hde + hdg = stripe set (RAID 0)
hdi + hdk = mirror (RAID 1)
You could use a single ATA100 controller with the same performance* as
so:
hde + hdg = stripe set (RAID 0, Masters)
hdf + hdh = mirror (RAID 1, Slaves)
* Providing RAID 0 writes are finished before RAID 1 writes begin. This
is based on experience with a single Promise Ultra/33 card and 2
separate RAID 0 sets. If it's configured incorrectly throughput will
drop from ~2x to ~1/2 of single drive performance.
Here's what's running right now under 2.2.18 with
raidtools-19990824-0.90 and the raid-2.2.18-B0 + ide.2.2.18.1221
patches:
[tim@asus tim]# df | grep md
/dev/md0 33492920 121544 33371376 0% /raid
[tim@asus tim]# cat /etc/raidtab
# sample raiddev configuration file
raiddev /dev/md0
raid-level 0
persistent-superblock 1
chunk-size 32
nr-raid-disks 2
nr-spare-disks 0
device /dev/hde3
raid-disk 0
device /dev/hdg3
raid-disk 1
[tim@asus tim]# hdparm -i /dev/hd{e,g}
/dev/hde:
Model=IBM-DTLA-307020, FwRev=TX3OA50C, SerialNo=YH0YHF64470
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=40
BuffType=DualPortCache, BuffSize=1916kB, MaxMultSect=16, MultSect=off
CurCHS=65535/1/63, CurSects=4128705, LBA=yes, LBAsects=40188960
IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 *udma4 udma5
/dev/hdg:
Model=IBM-DTLA-307020, FwRev=TX3OA50C, SerialNo=YH0YHF45553
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=40
BuffType=DualPortCache, BuffSize=1916kB, MaxMultSect=16, MultSect=off
CurCHS=65535/1/63, CurSects=4128705, LBA=yes, LBAsects=40188960
IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 *udma4 udma5
[tim@asus tim]# cat /proc/pci | grep HPT
Unknown mass storage controller: Triones Technologies, Inc. HPT366
IDE UltraDMA/66 (rev 1).
Unknown mass storage controller: Triones Technologies, Inc. HPT366
IDE UltraDMA/66 (rev 1).
[tim@asus tim]# hdparm -tT /dev/hd{e,g}3 /dev/md0
/dev/hde3:
Timing buffer-cache reads: 128 MB in 1.29 seconds = 99.22 MB/sec
Timing buffered disk reads: 64 MB in 1.92 seconds = 33.33 MB/sec
/dev/hdg3:
Timing buffer-cache reads: 128 MB in 1.25 seconds =102.40 MB/sec
Timing buffered disk reads: 64 MB in 1.92 seconds = 33.33 MB/sec
/dev/md0:
Timing buffer-cache reads: 128 MB in 1.25 seconds =102.40 MB/sec
Timing buffered disk reads: 64 MB in 1.13 seconds = 56.64 MB/sec
--
timothymoore
bigfoot
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
******************************