Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912874 - gui-apps/swaylock-1.7: Installs /etc/pam.d/swaylock with USE=-pam
Summary: gui-apps/swaylock-1.7: Installs /etc/pam.d/swaylock with USE=-pam
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-23 13:49 UTC by Bruno
Modified: 2024-01-07 19:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno 2023-08-23 13:49:40 UTC
swaylock installs file /etc/pam.d/swaylock even while USE=-pam.

This then disturbs xscreensaver-7.05's configure:
if test "$with_pam_req" = yes -a "$have_pam" = no ; then
  warn 'Use of PAM was requested, but it was not found.'
  CONF_STATUS=1
elif test "$have_pam" = no ; then
  if test -d /etc/pam.d -o -f /etc/pam.conf ; then
    warn  "Your system seems to have PAM, but PAM is not being used."
    warn2 "That is probably not going to work out well."
    CONF_STATUS=1
  fi
fi
that fails in a hard to spot way, as it has USE=-pam too and the message just looks like a warning rather than an error.

Reproducible: Always
Comment 1 Bruno 2024-01-07 19:07:46 UTC
This still applies to swaylock-1.7.2.