[Bug 709163] New: read /proc/<pid>/attr/prev fails with ENOENT in opensuse 11.3,even though the file exists
https://bugzilla.novell.com/show_bug.cgi?id=709163 https://bugzilla.novell.com/show_bug.cgi?id=709163#c0 Summary: read /proc/<pid>/attr/prev fails with ENOENT in opensuse 11.3,even though the file exists Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: nwang@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=443120) --> (http://bugzilla.novell.com/attachment.cgi?id=443120) Output of "strace cat /proc/self/attr/prev" Opensuse 11.3 with 2.6.34-12-default kernel Failed to read file /proc/<pid>/attr/prev or /proc/<pid>/attr/exec with ENOENT error,even succeed in open the file already. part of output of "strace cat prev",please see more in attachment: .. fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 open("prev", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 read(3, 0x8059000, 1024) = -1 ENOENT (No such file or directory) .. Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=709163 https://bugzilla.novell.com/show_bug.cgi?id=709163#c1 Greg Kroah-Hartman <gregkh@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |nwang@suse.com --- Comment #1 from Greg Kroah-Hartman <gregkh@suse.com> 2011-08-31 21:01:01 UTC --- What are you trying to do here? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=709163 https://bugzilla.novell.com/show_bug.cgi?id=709163#c2 nick wang <nwang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|nwang@suse.com | --- Comment #2 from nick wang <nwang@suse.com> 2011-09-19 01:25:05 UTC --- I met this issue by testing read function via LTP. It is wired that return value is "ENOENT - No such file" while the file exist.Except opensuse11.3,the return value of other distributions are all "EINVAL - Invalid argument." So i just want to confirm there is no potential issue and just a feature/known issue of Opensuse11.3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=709163 https://bugzilla.novell.com/show_bug.cgi?id=709163#c3 Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |Factory --- Comment #3 from Jeff Mahoney <jeffm@suse.com> 2012-03-05 23:30:47 UTC --- On 12.1, it returns EINVAL. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com