atd PAM misconfigured for interactive sessions (inc. fix)

Bug #559117 reported by Dr Philip J Naylor
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
at (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: at

Description: Ubuntu 9.10
Release: 9.10

at:
  Installed: 3.1.11-1ubuntu4
  Candidate: 3.1.11-1ubuntu4
  Version table:
 *** 3.1.11-1ubuntu4 0
        500 http://gb.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

Running a valid "at" job (e.g. echo "/usr/bin/env" | at 11:55 ) should run without error or warnings.

Instead /var/log/auth.log will contain an entry like:
Apr 9 11:55:00 myhostname atd[23410]: pam_ck_connector(atd:session): cannot determine display-device

To fix: /etc/pam.d/atd should include settings from common-session-noninteractive, rather than common-session
(as per /etc/pam.d/cron).

Revision history for this message
Ansgar Burchardt (aburch) wrote : Re: [Bug 559117] [NEW] atd PAM misconfigured for interactive sessions (inc. fix)

Hi,

> To fix: /etc/pam.d/atd should include settings from
> common-session-noninteractive, rather than common-session
> (as per /etc/pam.d/cron).

This was already changed upstream in version 1.2.12-1.

Regards,
Ansgar

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package at - 3.1.12-1ubuntu1

---------------
at (3.1.12-1ubuntu1) maverick; urgency=low

  * Merge from Debian unstable (LP: #559117), remaining changes:
    - Replace init script with Upstart job, and bump build-dependency on
      debhelper for Upstart-aware dh_installinit
    - debian/control: Add missing ${misc:Depends}
    - Suggest: default-mta | mail-transport-agent instead of Recommends:
      exim | mail-transport-agent
  * Dropped changes:
    - Set SENDMAIL to /usr/lib/sendmail: this is wrong, the correct path of
      /usr/sbin/sendmail as mandated by policy for the m-t-a package is
      already used in Debian.
    - Depend on lsb >= 3.2-14: superseded by upstart job and merged in
      Debian.
    - Add the 'status' action to the init script: superseded by upstart job.

at (3.1.12-1) unstable; urgency=low

  * New upstream release:
    + do not increment year twice (Closes: #404965) (LP: #312051)
    + do not increment day of month twice (Closes: #386665)
    + update documentation on removed environment variables
      (Closes: #335374)
    + add -f option to stay in foreground (Closes: #208367) - thanks to
      Marcela Maslanova <email address hidden>
    + error when day of month is 0 (Closes: #372671)
    + make less assumptations on open file descriptors (Closes: #453707)
    + add status action to init script (Closes: #506829)
    + make stdout, stderr available to sendmail process (Closes: #316442)
    + document -b option (LP: #156493)
    + document 4-digit years and ISO date format (Closes: #359010)
    + add test suite for date/time parser (Closes: #86662)
      - add build-dep on perl (>= 5.10.1) for Test::More 0.92
  * use dh_installinit (Closes: #406359)
  * remove support for upgrading from pre-3.1.9
  * remove rc, pam (moved upstream)
  * remove Cyril Brulebois from Uploaders as requested on IRC
  * now depends on lsb-base (>= 3.2-14) for status_of_proc in init script
  * add dependency on libpam-runtime (>= 1.0.1-11) for
    common-session-noninteractive
  * update debian/copyright
  * bump Standards-Version to 3.8.3 (no changes)
  * debian/control: Add DM-Upload-Allowed: yes.
 -- Steve Langasek <email address hidden> Thu, 17 Jun 2010 16:32:42 +0000

Changed in at (Ubuntu):
status: New → Fix Released
Revision history for this message
Joril (jorilx) wrote :

AFAIK this fix wasn't backported to Lucid, is this expected?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.