From vwelch@ncsa.uiuc.edu Thu Dec 12 12:03:36 1996
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id MAA21583 for <bugs@RT-11.MIT.EDU>; Thu, 12 Dec 1996 12:03:35 -0500
Received: from newton.ncsa.uiuc.edu by MIT.EDU with SMTP
id AA13163; Thu, 12 Dec 96 12:03:18 EST
Received: from computer (computer.ncsa.uiuc.edu [141.142.21.100]) by newton.ncsa.uiuc.edu (8.6.11/8.6.12) with SMTP id LAA18794; Thu, 12 Dec 1996 11:02:27 -0600
Received: by computer (5.x) id AA12471; Thu, 12 Dec 1996 11:02:27 -0600
Message-Id: <9612121702.AA12471@computer>
Date: Thu, 12 Dec 1996 11:02:27 -0600 (CST)
From: Von Welch <vwelch@ncsa.uiuc.edu>
To: krb5-bugs@MIT.EDU
Cc: vwelch@ncsa.uiuc.edu (Von Welch)
Subject: Problems with HPUX-10.10 build/getutmpx() missing
Responsible-Changed-From-To: gnats-admin->hartmans
Responsible-Changed-By: tlyu
Responsible-Changed-When: Thu Dec 12 16:50:08 1996
Responsible-Changed-Why:
refiled
State-Changed-From-To: open-closed
State-Changed-By: tlyu
State-Changed-When: Thu Dec 12 16:50:24 1996
State-Changed-Why:
known bug; kludged in 1.0 release
From: Tom Yu <tlyu@MIT.EDU>
To: vwelch@ncsa.uiuc.edu
Cc: krb5-bugs@MIT.EDU, vwelch@ncsa.uiuc.edu
Subject: Re: pty/296: Problems with HPUX-10.10 build/getutmpx() missing
Date: Thu, 12 Dec 1996 16:51:10 -0500
This is a known bug. We've included a workaround in the forthcoming
1.0 release.
---Tom
When building the beta 7 release of kerberos 5 on a HP 9000 running
HPUX 10.10 I ran across the problem that HPUX is apparently missing the
function getutmpx() which is called in util/pty/update_utmp.c and
util/pty/update_wtmp.c
I've attached the changes I made to get it to build just to show where
the problem is. My changed are obviously not a good fix. I believe
something needs to be added to configure to detect and fix this.
Thank you,
Von
------------------------------------------------------------------------
Von Welch Senior Network Engineer vwelch@ncsa.uiuc.edu
National Center for Supercomputing Applications
------------------------------------------------------------------------
*** update_utmp.c 1996/12/12 16:52:16 1.1
--- update_utmp.c 1996/12/12 14:43:15
***************
*** 124,129 ****
--- 124,130 ----
pututline(&ent);
endutent();
+ #if 0
#ifdef HAVE_SETUTXENT
setutxent();
getutmpx(&ent, &utx);
***************
*** 134,139 ****
--- 135,141 ----
pututxline(&utx);
endutxent();
#endif /* HAVE_SETUTXENT */
+ #endif /* 0 */
#else /* HAVE_SETUTENT */
if (flags&PTY_TTYSLOT_USABLE)
*** update_wtmp.c 1996/12/12 16:52:16 1.1
--- update_wtmp.c 1996/12/12 14:38:27
***************
*** 40,45 ****
--- 40,46 ----
struct utmp ut;
struct stat statb;
int fd;
+ #if 0
#ifdef HAVE_UPDWTMPX
struct utmpx utx;
***************
*** 52,57 ****
--- 53,59 ----
strncpy(utx.ut_user, user, sizeof(utx.ut_user));
updwtmpx(WTMPX_FILE, &utx);
#endif
+ #endif /* 0 */
#ifdef HAVE_UPDWTMP
#ifndef HAVE_UPDWTMPX
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id MAA21583 for <bugs@RT-11.MIT.EDU>; Thu, 12 Dec 1996 12:03:35 -0500
Received: from newton.ncsa.uiuc.edu by MIT.EDU with SMTP
id AA13163; Thu, 12 Dec 96 12:03:18 EST
Received: from computer (computer.ncsa.uiuc.edu [141.142.21.100]) by newton.ncsa.uiuc.edu (8.6.11/8.6.12) with SMTP id LAA18794; Thu, 12 Dec 1996 11:02:27 -0600
Received: by computer (5.x) id AA12471; Thu, 12 Dec 1996 11:02:27 -0600
Message-Id: <9612121702.AA12471@computer>
Date: Thu, 12 Dec 1996 11:02:27 -0600 (CST)
From: Von Welch <vwelch@ncsa.uiuc.edu>
To: krb5-bugs@MIT.EDU
Cc: vwelch@ncsa.uiuc.edu (Von Welch)
Subject: Problems with HPUX-10.10 build/getutmpx() missing
Show quoted text
>Number: 296
>Category: pty
>Synopsis: Problems with HPUX-10.10 build/getutmpx() missing
>Confidential: yes
>Severity: non-critical
>Priority: low
>Responsible: hartmans
>State: closed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu Dec 12 12:04:00 EST 1996
>Last-Modified: Thu Dec 12 16:52:01 EST 1996
>Originator:
>Organization:
>Release:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Category: pty
>Synopsis: Problems with HPUX-10.10 build/getutmpx() missing
>Confidential: yes
>Severity: non-critical
>Priority: low
>Responsible: hartmans
>State: closed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu Dec 12 12:04:00 EST 1996
>Last-Modified: Thu Dec 12 16:52:01 EST 1996
>Originator:
>Organization:
>Release:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->hartmans
Responsible-Changed-By: tlyu
Responsible-Changed-When: Thu Dec 12 16:50:08 1996
Responsible-Changed-Why:
refiled
State-Changed-From-To: open-closed
State-Changed-By: tlyu
State-Changed-When: Thu Dec 12 16:50:24 1996
State-Changed-Why:
known bug; kludged in 1.0 release
From: Tom Yu <tlyu@MIT.EDU>
To: vwelch@ncsa.uiuc.edu
Cc: krb5-bugs@MIT.EDU, vwelch@ncsa.uiuc.edu
Subject: Re: pty/296: Problems with HPUX-10.10 build/getutmpx() missing
Date: Thu, 12 Dec 1996 16:51:10 -0500
This is a known bug. We've included a workaround in the forthcoming
1.0 release.
---Tom
Show quoted text
>Unformatted:
Hello,When building the beta 7 release of kerberos 5 on a HP 9000 running
HPUX 10.10 I ran across the problem that HPUX is apparently missing the
function getutmpx() which is called in util/pty/update_utmp.c and
util/pty/update_wtmp.c
I've attached the changes I made to get it to build just to show where
the problem is. My changed are obviously not a good fix. I believe
something needs to be added to configure to detect and fix this.
Thank you,
Von
------------------------------------------------------------------------
Von Welch Senior Network Engineer vwelch@ncsa.uiuc.edu
National Center for Supercomputing Applications
------------------------------------------------------------------------
*** update_utmp.c 1996/12/12 16:52:16 1.1
--- update_utmp.c 1996/12/12 14:43:15
***************
*** 124,129 ****
--- 124,130 ----
pututline(&ent);
endutent();
+ #if 0
#ifdef HAVE_SETUTXENT
setutxent();
getutmpx(&ent, &utx);
***************
*** 134,139 ****
--- 135,141 ----
pututxline(&utx);
endutxent();
#endif /* HAVE_SETUTXENT */
+ #endif /* 0 */
#else /* HAVE_SETUTENT */
if (flags&PTY_TTYSLOT_USABLE)
*** update_wtmp.c 1996/12/12 16:52:16 1.1
--- update_wtmp.c 1996/12/12 14:38:27
***************
*** 40,45 ****
--- 40,46 ----
struct utmp ut;
struct stat statb;
int fd;
+ #if 0
#ifdef HAVE_UPDWTMPX
struct utmpx utx;
***************
*** 52,57 ****
--- 53,59 ----
strncpy(utx.ut_user, user, sizeof(utx.ut_user));
updwtmpx(WTMPX_FILE, &utx);
#endif
+ #endif /* 0 */
#ifdef HAVE_UPDWTMP
#ifndef HAVE_UPDWTMPX