Debian Bug report logs - #895330
slim: pam_mail.so dir= is ignored

version graph

Package: slim; Maintainer for slim is Nobuhiro Iwamatsu <[email protected]>; Source for slim is src:slim (PTS, buildd, popcon).

Reported by: Nye Liu <[email protected]>

Date: Mon, 9 Apr 2018 23:36:01 UTC

Severity: normal

Found in version slim/1.3.6-5.1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Nobuhiro Iwamatsu <[email protected]>:
Bug#895330; Package slim. (Mon, 09 Apr 2018 23:36:03 GMT) (full text, mbox, link).


Acknowledgement sent to Nye Liu <[email protected]>:
New Bug report received and forwarded. Copy sent to Nobuhiro Iwamatsu <[email protected]>. (Mon, 09 Apr 2018 23:36:03 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Nye Liu <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: slim: pam_mail.so dir= is ignored
Date: Mon, 09 Apr 2018 16:11:35 -0700
Package: slim
Version: 1.3.6-5.1
Severity: normal

slim is ignoring pam_mail.so directives, such that there is no way to
override the MAIL environment variable

I have the following in /etc/pam.d/common-session:

 session optional	pam_mail.so dir=~/Maildir

MAIL is still set to /var/mail/<user> rather than ~user/Maildir for
all subshells of slim.

I tried adding the session directly to /etc/pam.d/slim, but it still
does not work.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages slim depends on:
ii  dbus                   1.12.6-2
ii  debconf [debconf-2.0]  1.5.66
ii  libc6                  2.27-2
ii  libfontconfig1         2.12.6-0.1
ii  libfreetype6           2.8.1-2
ii  libgcc1                1:8-20180319-1
ii  libjpeg62-turbo        1:1.5.2-2+b1
ii  libpam0g               1.1.8-3.7
ii  libpng16-16            1.6.34-1
ii  libstdc++6             8-20180319-1
ii  libx11-6               2:1.6.5-1
ii  libxext6               2:1.3.3-1+b2
ii  libxft2                2.3.2-1+b2
ii  libxmu6                2:1.1.2-2
ii  libxrandr2             2:1.5.1-1
ii  libxrender1            1:0.9.10-1
ii  lsb-base               9.20170808
ii  zlib1g                 1:1.2.8.dfsg-5

Versions of packages slim recommends:
ii  xterm  331-1

Versions of packages slim suggests:
ii  scrot  0.8-18
ii  xauth  1:1.0.10-1

-- debconf information:
* shared/default-x-display-manager: slim
  slim/daemon_name: /usr/bin/slim



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 19:32:19 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.