http://bugzilla.novell.com/show_bug.cgi?id=611996
http://bugzilla.novell.com/show_bug.cgi?id=611996#c10
--- Comment #10 from Harald Koenig 2010-07-15 21:02:59 UTC ---
I wondered which "bash operation" in rc script might trigger that nscd/passwd
mapping... on my 11.3 test with that problem every shell shows the mapped
passwd file:
$ grep /var /proc/$$/maps
7f798b91f000-7f798b954000 r--s 00000000 08:02 886619
/var/run/nscd/passwd
BUT on my notebook running 11.3 too I never see that mapped file!
the difference (IMHO) : on the PC with problems nscd-2.11.2-2.4.x86_64 got
installed, while the notebook with no fsck problems AFAIK "unscd" is installed
instead:
# rpm -q nscd unscd
package nscd is not installed
unscd-0.45-5.1.x86_64
libnscd-2.0.2-113.1.x86_64 is installed on both systems...
so a workaround would be to replace nscd by unscd -- so let's try it:
# zypper in unscd
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Problem: unscd-0.45-5.1.x86_64 conflicts with nscd provided by
nscd-2.11.2-2.4.x86_64
Solution 1: deinstallation of nscd-2.11.2-2.4.x86_64
Solution 2: do not install unscd-0.45-5.1.x86_64
Choose from above solutions by number or cancel [1/2/c] (c): 1
Resolving dependencies...
Resolving package dependencies...
The following NEW package is going to be installed:
unscd
The following package is going to be REMOVED:
nscd
1 new package to install, 1 to remove.
Overall download size: 30.0 KiB. After the operation, 72.0 KiB will be freed.
Continue? [y/n/?] (y):
Removing nscd-2.11.2-2.4 [done]
Retrieving package unscd-0.45-5.1.x86_64 (1/1), 30.0 KiB (63.0 KiB unpacked)
Retrieving: unscd-0.45-5.1.x86_64.rpm [done]
Installing: unscd-0.45-5.1 [done]
and after "rcnscd restart" a new shell does not map the passwd file anymore:
# grep /var/ /proc/$$/maps
7fbe87a9b000-7fbe87ad0000 r--s 00000000 08:02 886619
/var/run/nscd/passwd
# bash
# grep /var/ /proc/$$/maps
#
et voila the time stamps after reboot for mounting the rootfs -- no delay for
journal rollback anymore:
[ 5.457701] kjournald starting. Commit interval 15 seconds
[ 5.457880] EXT3-fs (sda2): using internal journal
[ 5.457887] EXT3-fs (sda2): mounted filesystem with ordered data mode
[ 7.069658] preloadtrace: systemtap: 1.1/0.147, base: ffffffffa0220000,
memory: 37data/40text/12ctx/13net/396alloc kb, probes: 44
[ 8.514217] udev: starting version 157
is there any drawback when using unscd instead of nscd ?
at least on my notebook I did not realize that there is an "u"nscd so far ;-)
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.