Public bug reported:

Ubuntu 16.04 LTS package libpam-krb5-migrate-heimdal 0.0.11-3 installs
PAM module pam_krb5_migrate_heimdal.so.

(Your bug-report engine claims there is no such package, and won't let
me report the bug if I name it.  Hogwash.  See
https://packages.ubuntu.com/xenial/libpam-krb5-migrate-heimdal.)

It should be installed with pathname
/lib/security/pam_krb5_migrate_heimdal.so, so that can be called by a
PAM configuration file as pam_krb5_migrate_heimdal.so.

It is actually installed with pathname
/lib/security/pam_krb5_migrate_heimdal.so/pam_krb5_migrate_heimdal.so,
i.e. the path that should name the .so file is actually a directory
containing a file of the same name that is the real file.

This smells like a simple typo somewhere in packaging, but it has the
effect of making the module unusable.

To reproduce: write a PAM configuration that should call
pam_krb5_migrate_heimdal.so.  It will fail.  This should be evident in
syslog, e.g. messages like

PAM unable to dlopen(pam_krb5_migrate_heimdal.so): 
/lib/security/pam_krb5_migrate_heimdal.so: cannot read file data: Is a directory
PAM adding faulty module: pam_krb5_migrate_heimdal.so

Simple workaround:

        cd /lib/security
        mv pam_krb5_migrate_heimdal.so BUG
        mv BUG/pam_krb5_migrate_heimdal.so .

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: bot-comment

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716049

Title:
  bad pathnames in libpam-krb5-migrate-heimdal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1716049/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to