login breaks w. libc.4.6.27

login breaks w. libc.4.6.27

Post by Michel Ande » Wed, 01 Feb 1995 18:25:27



When i changed my dll from 4.4.4. to 4.6.27 all worked well except that
login was broken: it complained that setutent could not find UTMP and
therefore i was unable to login. Changing the libs back to 4.4.4 enabled
me to login again.

Then I compiled login.c from linux-util-1.10 w. libc.4.6.27 but when
executing it, it complained with the same message. So i would be pleased if
someone could tell me what i'm doing wrong here.

FYI: i did not accidently erase /etc/utmp, i use gcc2.4.5, kernel 1.0.9
and i did read the docs, although a manpage about setutent is missing...

Regards, Michel.

 
 
 

login breaks w. libc.4.6.27

Post by Ruurd Pe » Fri, 03 Feb 1995 07:57:55



>When i changed my dll from 4.4.4. to 4.6.27 all worked well except that
>login was broken: it complained that setutent could not find UTMP and
>therefore i was unable to login. Changing the libs back to 4.4.4 enabled
>me to login again.

>Then I compiled login.c from linux-util-1.10 w. libc.4.6.27 but when
>executing it, it complained with the same message. So i would be pleased if
>someone could tell me what i'm doing wrong here.

Obvious solution: get the source for libc-linux4.6.27, and recursively grep
thru all sources and headers for the strings 'utmp' or 'setutent'. Note the
path to the utmp file. Then create a symlink if necessary.
--
Grtz, RFP ;-)

 |o|     Ruurd Pels, Kamgras 187, 8935 EJ  Leeuwarden, The Netherlands   |o|
 |o| GC2.1 GAT/!/?/CS/B -d+(---) H s !g p? a w--(+++) v--(+++) C++ UL+++ |o|
 |o| P? L++ !3 E? N++ !V t+ !5 !j G?  tv- b++ D B? u++(---) h-- f? y++++ |o|

 
 
 

login breaks w. libc.4.6.27

Post by John Norri » Wed, 08 Feb 1995 06:08:51



> When i changed my dll from 4.4.4. to 4.6.27 all worked well except that
> login was broken: it complained that setutent could not find UTMP and
> therefore i was unable to login. Changing the libs back to 4.4.4 enabled
> me to login again.

> Then I compiled login.c from linux-util-1.10 w. libc.4.6.27 but when
> executing it, it complained with the same message. So i would be pleased if
> someone could tell me what i'm doing wrong here.

This is cuz the default directory where utmp recides has been changed to
/usr/adm or /var/adm.  you should create link from your /etc/utmp if you
dont want to compile your login binaries again :)

//Zonni

 
 
 

1. Interviews *is* broken with libc 4.6.27 ...

Having upgraded libc/libm I find that the InterViews applications idraw and
ibuild are broken. ibuild halts with a Floating Point Exception before it
shows its window. idraw also causes a Floating Point Exception when
File/New or File/Save is chosen. It is not due to new kernels, since I
reverted to 1.0.9 which used to work with InterViews --- not any more!

Anyone else seen this? Any solutions? Is there a new version of InterViews
out there somewhere?

Thanks.
--

----------------------------------------------------------------------------
Robert Manners                                  Osney Laboratory

                                                University of Oxford
                                                x 162
Try: html://swift.eng.ox.ac.uk                  Linux - the only choice
----------------------------------------------------------------------------

2. Swapsize = RAM required?

3. /lib/libc.so.4.5.26 and /lib/libc.so.4.6.27

4. SUN's ramdisk driver only does 4k at a time

5. template problems on egcs

6. ldconfig: warning: /lib/libc.so.4.6.27 is not a ZMAGIC file, skipping

7. 5.1 connection problem:

8. Problems after installation of libc.4.6.27

9. Found+fixed bug libc 4.6.27 - please comment

10. Linux 1.1.77 & libc 4.6.27 & system()

11. ghostscript and libc 4.6.27 not work together?

12. libc 4.6.27 bug