[Bug 731556] New: bash: ~user paths completion does not work
https://bugzilla.novell.com/show_bug.cgi?id=731556 https://bugzilla.novell.com/show_bug.cgi?id=731556#c0 Summary: bash: ~user paths completion does not work Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jslaby@suse.com QAContact: qa@suse.de CC: werner@suse.com Found By: --- Blocker: --- ls ~xslaby<TAB> does nothing. Strace shows that bash reads /etc/passwd and then calls futex(..., FUTEX_WAIT); and that's everything. open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=3126, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa285006000 read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 3126 close(3) = 0 munmap(0x7fa285006000, 4096) = 0 futex(0x7fa28a22af30, FUTEX_WAIT, 2, NULL -- 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=731556
https://bugzilla.novell.com/show_bug.cgi?id=731556#c1
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=731556
https://bugzilla.novell.com/show_bug.cgi?id=731556#c2
--- Comment #2 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=731556
https://bugzilla.novell.com/show_bug.cgi?id=731556#c3
--- Comment #3 from Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=731556
https://bugzilla.novell.com/show_bug.cgi?id=731556#c4
--- Comment #4 from Jiri Slaby
So I have local-only passwords.
s/passwords/accounts/ -- 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=731556
https://bugzilla.novell.com/show_bug.cgi?id=731556#c5
--- Comment #5 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=731556
https://bugzilla.novell.com/show_bug.cgi?id=731556#c6
--- Comment #6 from Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=731556
https://bugzilla.novell.com/show_bug.cgi?id=731556#c7
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=731556
https://bugzilla.novell.com/show_bug.cgi?id=731556#c8
--- Comment #8 from Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=731556
https://bugzilla.novell.com/show_bug.cgi?id=731556#c9
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=731556
https://bugzilla.novell.com/show_bug.cgi?id=731556#c10
Jiri Slaby
Please give latest checkin a try as I've moved the endpw() function below the malloc() call which IMHO should solve the problem.
It has no effect. Note that it's stuck in futex syscall. Which means it's probably __libc_lock_lock in endpwent. But why? -- 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=731556
https://bugzilla.novell.com/show_bug.cgi?id=731556#c11
--- Comment #11 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=731556
https://bugzilla.novell.com/show_bug.cgi?id=731556#c12
--- Comment #12 from Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=731556
https://bugzilla.novell.com/show_bug.cgi?id=731556#c13
--- Comment #13 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=731556
https://bugzilla.novell.com/show_bug.cgi?id=731556#c14
--- Comment #14 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=731556
https://bugzilla.novell.com/show_bug.cgi?id=731556#c15
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=731556
https://bugzilla.novell.com/show_bug.cgi?id=731556#c16
--- Comment #16 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com