NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/46231: root .login file disturbs pkgsrc su ?



>Number:         46231
>Category:       bin
>Synopsis:       installing pkgs as unpriv. user (using su) causes errors from 
>tset
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 20 15:05:00 +0000 2012
>Originator:     Martin Husemann
>Release:        NetBSD 6.99.4
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD whoever-brings-the-night.aprisoft.de 6.99.4 NetBSD 6.99.4 
(MODULAR) #159: Sun Mar 18 21:56:05 CET 2012 
martin%whoever-brings-the-night.aprisoft.de@localhost:/usr/src/sys/arch/sparc64/compile/MODULAR
 sparc64
Architecture: sparc64
Machine: sparc64
>Description:

I installed a new machine from scratch and started building pkgs from pkgsrc
as an unprivileged user. Whenever pkgsrc requires root, it invokes su for
me. Fine, I enter the password, and then get an error from tset (which
is ignored, but still disturbing).

The only tset I could find is in /root/.login (!) and commenting that one
out removes the errors.

Now, if I am not halluzinating, this brings up two questions:
 1) should that script be run during the su from pkgsrc at all?
 2) should that tset be guarded by something like:
        case $- in *i*) ?

>How-To-Repeat:
s/a
>Fix:
n/a



Home | Main Index | Thread Index | Old Index