webmin and pam_stack.so on 2007.1 - Mandriva

This is a discussion on webmin and pam_stack.so on 2007.1 - Mandriva ; There is an issue with webmin on 2007.1. Installed it with urpmi webmin and it ended up installing these three packages: webmin-1.320-1mdv2007.1 perl-CGI-3.16-2mdv2007.1 perl-Authen-PAM-0.16-2mdv2007.1 Do service webmin start and even though it comes back with "ok", it also logs these ...

+ Reply to Thread
Results 1 to 7 of 7

Thread: webmin and pam_stack.so on 2007.1

  1. webmin and pam_stack.so on 2007.1

    There is an issue with webmin on 2007.1. Installed it with

    urpmi webmin

    and it ended up installing these three packages:

    webmin-1.320-1mdv2007.1
    perl-CGI-3.16-2mdv2007.1
    perl-Authen-PAM-0.16-2mdv2007.1

    Do

    service webmin start

    and even though it comes back with "ok", it also logs these in
    /var/log/secure (and auth.log):

    May 29 10:37:33 NAMEXX perl: PAM adding faulty module:
    /lib/security/pam_stack.so
    May 29 10:45:58 NAMEXX perl: PAM unable to
    dlopen(/lib/security/pam_stack.so)
    May 29 10:45:58 NAMEXX perl: PAM [error: /lib/security/pam_stack.so:
    cannot open shared object file: No such file or directory]

    There is no /lib/security/pam_stack.so, because there is no such file
    supplied by libpam.

    Even though webmin logs these messages it does run, at least to the
    extent that simple tasks like doing a "smart" status on a disk work.

    Regards,

    David Mathog

  2. Re: webmin and pam_stack.so on 2007.1

    David Mathog wrote:

    > There is an issue with webmin on 2007.1. Installed it with
    >
    > urpmi webmin
    >
    > and it ended up installing these three packages:
    >
    > webmin-1.320-1mdv2007.1
    > perl-CGI-3.16-2mdv2007.1
    > perl-Authen-PAM-0.16-2mdv2007.1
    >
    > Do
    >
    > service webmin start
    >
    > and even though it comes back with "ok", it also logs these in
    > /var/log/secure (and auth.log):
    >
    > May 29 10:37:33 NAMEXX perl: PAM adding faulty module:
    > /lib/security/pam_stack.so
    > May 29 10:45:58 NAMEXX perl: PAM unable to
    > dlopen(/lib/security/pam_stack.so)
    > May 29 10:45:58 NAMEXX perl: PAM [error: /lib/security/pam_stack.so:
    > cannot open shared object file: No such file or directory]
    >
    > There is no /lib/security/pam_stack.so, because there is no such file
    > supplied by libpam.
    >
    > Even though webmin logs these messages it does run, at least to the
    > extent that simple tasks like doing a "smart" status on a disk work.


    http://wiki.mandriva.com/en/Releases...not_working.29
    --
    Dave


  3. Re: webmin and pam_stack.so on 2007.1

    On Tue, 29 May 2007 13:57:58 -0400, David Mathog wrote:

    > and even though it comes back with "ok", it also logs these in
    > /var/log/secure (and auth.log):
    > May 29 10:37:33 NAMEXX perl: PAM adding faulty module:
    > /lib/security/pam_stack.so


    As per http://wiki.mandriva.com/en/Releases...s_been_dropped
    the module has been replaced with the include directive.

    As per /usr/share/doc/pam-0.99.7.1/README.update.urpmi the
    /etc/pam.d files that use pam_stock.so need to be manually edited
    to replace the usage of pam_stock.so with includes.

    The error is being generated as /etc/pam.d/webmin has not been
    changed, and currently has ...
    #%PAM-1.0
    auth required pam_stack.so service=system-auth
    account required pam_stack.so service=system-auth
    password required pam_stack.so service=system-auth
    session required pam_stack.so service=system-auth

    Also, when running webmin, on the system tab, the PAM Authentication
    module still supports the use of pam_stack.so.

    Checking other files in /etc/pamd.d, I also find pam_stack.so being usedin
    pm-hibernate, pm-powersave, and pm-suspend, which are all from the
    pm-utils package.

    Bugzilla searches are currently failing with an internal error.
    When that's fixed, I'll check to see if these errors have been
    reported.

    Regards, Dave Hodgins

    --
    Change nomail.afraid.org to ody.ca to reply by email.
    (nomail.afraid.org has been set up specifically for
    use in usenet. Feel free to use it yourself.)

  4. Re: webmin and pam_stack.so on 2007.1

    David W. Hodgins wrote:

    > As per http://wiki.mandriva.com/en/Releases...s_been_dropped
    > the module has been replaced with the include directive.
    >
    > As per /usr/share/doc/pam-0.99.7.1/README.update.urpmi the
    > /etc/pam.d files that use pam_stock.so need to be manually edited
    > to replace the usage of pam_stock.so with includes.


    It's a little unreasonable to expect the end user to edit webmin to fix
    the bug since the webmin package was ALSO from Mandriva 2007.1. (And my
    urpmi also points to the updates, so if they had updated webmin, that's
    the version which would have installed.)

    Regards,

    David Mathog


  5. Re: webmin and pam_stack.so on 2007.1

    On Tue, 29 May 2007 18:18:57 -0400, David Mathog wrote:

    > It's a little unreasonable to expect the end user to edit webmin to fix
    > the bug since the webmin package was ALSO from Mandriva 2007.1. (And my
    > urpmi also points to the updates, so if they had updated webmin, that's
    > the version which would have installed.)


    Sorry, I didn't intend to imply end users should be editing the pam configuration
    files. I agree that should have been done by Mandriva. I included the reference,
    just to show what information I'd found about the problem.

    I was able to login to bugzilla, finally, checked, and didn't find a current
    bug report. I entered the bug information, but when I tried to commit the
    entry, if failed. Their website qa.mandriva.com appears to be down right now.

    I'll try again. later.

    Regards, Dave Hodgins

    --
    Change nomail.afraid.org to ody.ca to reply by email.
    (nomail.afraid.org has been set up specifically for
    use in usenet. Feel free to use it yourself.)

  6. Re: webmin and pam_stack.so on 2007.1

    On Tue, 29 May 2007 18:18:57 -0400, David Mathog wrote:

    > It's a little unreasonable to expect the end user to edit webmin to fix
    > the bug since the webmin package was ALSO from Mandriva 2007.1. (And my
    > urpmi also points to the updates, so if they had updated webmin, that's
    > the version which would have installed.)


    Bug finally reported as http://qa.mandriva.com/show_bug.cgi?id=31112 for webmin and
    http://qa.mandriva.com/show_bug.cgi?id=31113 for pm-utils.

    Regards, Dave Hodgins

    --
    Change nomail.afraid.org to ody.ca to reply by email.
    (nomail.afraid.org has been set up specifically for
    use in usenet. Feel free to use it yourself.)

  7. Re: webmin and pam_stack.so on 2007.1

    David W. Hodgins wrote:
    > On Tue, 29 May 2007 18:18:57 -0400, David Mathog wrote:
    >
    >> It's a little unreasonable to expect the end user to edit webmin to fix
    >> the bug since the webmin package was ALSO from Mandriva 2007.1. (And my
    >> urpmi also points to the updates, so if they had updated webmin, that's
    >> the version which would have installed.)

    >
    > Bug finally reported as http://qa.mandriva.com/show_bug.cgi?id=31112 for webmin and
    > http://qa.mandriva.com/show_bug.cgi?id=31113 for pm-utils.


    Thanks,

    David Mathog

+ Reply to Thread