Bug 76738

Summary: [ls] Lots of errormessages with vanilla kernel
Product: [Retired] Red Hat Raw Hide Reporter: Enrico Scholz <rh-bugzilla>
Component: fileutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-11-07 16:13:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Enrico Scholz 2002-10-25 16:54:43 UTC
Description of Problem:

When using the original linux-kernel without the getxattr-syscall, 'ls' creates
errormessages about not-implemented functions.


Version-Release number of selected component (if applicable):

fileutils-4.1.9-12
linux 2.4.19


How Reproducible:
100%

Steps to Reproduce:
1. mkdir /var/tmp/ftest && cd /var/tmp/ftest
2. touch foo
3. ls -l


Actual Results:

$ ls -l
ls: .: Function not implemented
total 0
-rw-rw-r--    1 ensc     ensc            0 Oct 25 18:51 foo


Expected Results:

no errormessage


Additional Information:
	
corresponding strace-log is

| ...
| getdents64(0x3, 0x805c868, 0x1000, 0x805c838) = 72
| lstat64("foo", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
| getxattr("foo", "system.posix_acl_access", (nil), 0) = -1 ENOSYS (Function not
| implemented)
| getdents64(0x3, 0x805c868, 0x1000, 0x805c838) = 0
| close(3)                                = 0
| write(2, "ls: ", 4)                     = 4
| write(2, ".", 1)                        = 1
| write(2, ": Function not implemented", 26) = 26
| ...

Comment 1 Tim Waugh 2002-11-07 17:22:31 UTC
Fixed package is fileutils-4.1.9-13, which will show up in rawhide shortly.