Segmentation fault in su

2005-11-20 Thread Ahamed.MLA
Hi,
  If i login as an ordinary user(admin), and try to switch to ROOT user, iam 
getting Segmentating fault, though iam member of  wheel group and given trust 
in /etc/pam.d/su 

  %PAM-1.0 ### /etc/pam.d/su --
   auth   required /lib/security/pam_wheel.so group=wheel

# /etc/group --
wheel:x:10:root,admin

I am using Redhat Linux- 7.2 in my servers. Kindly provide me a solution, as 
soon as possible.


Regards
Ahamed.MLA
Beacon Operations 24/7 
Sify Ltd.
Chennai
** DISCLAIMER **
Information contained and transmitted by this E-MAIL is proprietary to
Sify Limited and is intended for use only by the individual or entity to
which it is addressed, and may contain information that is privileged,
confidential or exempt from disclosure under applicable law. If this is a
forwarded message, the content of this E-MAIL may not have been sent with
the authority of the Company. If you are not the intended recipient, an
agent of the intended recipient or a  person responsible for delivering the
information to the named recipient,  you are notified that any use,
distribution, transmission, printing, copying or dissemination of this
information in any way or in any manner is strictly prohibited. If you have
received this communication in error, please delete this mail  notify us
immediately at [EMAIL PROTECTED]

www.sify.com - your homepage on the internet for news, sports, finance,
astrology, movies, entertainment, food, languages etc
___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: Bug#339136: Changes in stat package output break apt-move

2005-11-20 Thread ThMO
Hello Jim and others,

wouldn't it be better to implement the full backslashed sequences inside
print_esc() than only `\n'?

CU Tom.
(Thomas M.Ott)
Germany


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: Segmentation fault in su

2005-11-20 Thread Bob Proulx
Ahamed.MLA wrote:
   If i login as an ordinary user(admin), and try to switch to ROOT
   user, iam getting Segmentating fault, though iam member of wheel
   group and given trust in /etc/pam.d/su

A segmentation fault indicates access to memory that is out of bounds.
Requiring being in the wheel group or not is a local configuration
modification to the system.  The two would not seem to be related.

Since 'su' works in the default configuration I suggest returning the
system to a known working state and then making small modifications
one at a time.  If the problem returns then you know it is the last
modification that was made. 

 I am using Redhat Linux- 7.2 in my servers.

That is by today's standards quite old.  The code in shellutils has
been combined with fileutils and textutils into a single coreutils
package.  You might consider upgrading.

  ftp://ftp.gnu.org/gnu/coreutils/coreutils-5.93.tar.gz   (7.3MB)
  ftp://ftp.gnu.org/gnu/coreutils/coreutils-5.93.tar.bz2   (4.7MB)

You might want to look into the Fedora Legacy project.

  http://www.fedoralegacy.org/

 Kindly provide me a solution, as soon as possible.

This is a volunteer effort and we are unable to provide solutions on
demand.  Perhaps contracting with one of the many commercial vendors
to provide paid support would be a good model for you?  However all of
the source code is available making it is possible that you could
debug the problem yourself.

Bob


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: bug in sort with '.' in strings

2005-11-20 Thread Philip Rowlands

On Mon, 21 Nov 2005, Michael J. Dinneen wrote:


Sort seems to ignore (incorrectly handle) the character '.' in the
strings.


Please see this FAQ entry, Sort does not sort in normal order!:
http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Sort-does-not-sort-in-normal-order_0021


Cheers,
Phil


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: better buffer size for copy

2005-11-20 Thread Phillip Susi
What would such network filesystems report as their blocksize?  I have a 
feeling it isn't going to be on the order of a MB.  At least for local 
filesystems, the ideal transfer block size is going to be quite a bit 
larger than the filesystem block size ( if the filesystem is even block 
oriented... think reiser4, or cramfs ).  In the case of network 
filesystems, they should be performing readahead in the background 
between small block copies to keep the pipeline full.  As long as the 
copy program isn't blocked elsewhere for long periods, say in the write 
to the destination, then the readahead mechanism should keep the 
pipeline full.  Up to a point, using larger block sizes saves some cpu 
by lowering the number of system calls.  After a certain point, the copy 
program can start to waste enough time in the write that the readahead 
stops and stalls the pipeline. 

If you want really fast copies of large files, then you want to send 
down multiple overlapped aio ( real aio, not the glibc threaded 
implementation ) O_DIRECT reads and writes, but that gets quite 
complicated.  Simply using blocking O_DIRECT reads into a memory mapped 
destination file buffer performs nearly as well, provided you use a 
decent block size.  On my system I have found that 128 KB+ buffers are 
needed to keep the pipeline full because I'm using a 2 disk raid0 with a 
64k stripe factor.  As a result, blocks smaller than 128 KB only keep 
one disk going at a time.  That's probably getting a bit too complicated 
though for this conversation. 

If we are talking about the conventional blocking cached read, followed 
by a blocking cached write, then I think you will find that using a 
buffer size of several pages ( say 32 or 64 KB ) will be MUCH more 
efficient than 1024 bytes ( the typical local filesystem block size ), 
so using st_blksize for the size of the read/write buffer is not good.  
I think you may be ascribing meaning to st_blksize that is not there. 



Robert Latham wrote:


In local file systems, i'm sure you are correct.  If you are working
with a remote file system, however, the optimal size is on the order
of megabytes, not kilobytes.  For a specific example, consider the
PVFS2 file system, where the plateau in blocksize vs. bandwitdh is
two orders of magnitude larger than 64 KB.  PVFS2 is a parallel file
system for linux clusters.  I am not nearly as familiar with Lustre,
GPFS, or GFS, but I suspect those filesystems too would benefit from
block sizes larger than 64 KB.  


Are you taking umbrage at the idea of using st_blksize to direct how
large the transfer size should be for I/O?  I don't know what other
purpose st_blksize should have, nor are there any other fields which
are remotely valid for that purpose.  

Thanks for your feedback. 
==rob


 





___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils