Bug#767016: marked as done (cron does start before sssd and therefore authentication fails)

2018-03-12 Thread Debian Bug Tracking System
Your message dated Mon, 12 Mar 2018 23:49:37 +
with message-id 
and subject line Bug#767016: fixed in cron 3.0pl1-130
has caused the Debian Bug report #767016,
regarding cron does start before sssd and therefore authentication fails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
767016: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767016
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cron
Version: 3.0pl1-124
Severity: important

Dear Maintainer,

when using cron with sssd for ldap user accounts the cronjobs fail with the
error message:
 crond[1234]: (tmp.cronjob) ORPHAN (no passwd entry)

A similar bug (winbind instead of sssd) is #732203.
There the bug was fixed by adding winbind to Should-Start of the cron
init script. I think doing the same for sssd would fix the problem.

-- Package-specific info:
--- EDITOR:


--- /usr/bin/editor:
/bin/nano

--- /usr/bin/crontab:
-rwxr-sr-x 1 root crontab 35880 Jul  3  2012 /usr/bin/crontab

--- /var/spool/cron:
drwxr-xr-x 3 root root 21 Oct  1 14:46 /var/spool/cron

--- /var/spool/cron/crontabs:
drwx-wx--T 2 root crontab 17 Oct 10 00:05 /var/spool/cron/crontabs

--- /etc/cron.d:
drwxr-xr-x 2 root root 25 Oct  1 14:46 /etc/cron.d

--- /etc/cron.daily:
drwxr-xr-x 2 root root 132 Oct 22 10:39 /etc/cron.daily

--- /etc/cron.hourly:
drwxr-xr-x 2 root root 25 Oct  1 14:46 /etc/cron.hourly

--- /etc/cron.monthly:
drwxr-xr-x 2 root root 25 Oct  1 14:46 /etc/cron.monthly

--- /etc/cron.weekly:
drwxr-xr-x 2 root root 38 Oct  1 14:46 /etc/cron.weekly


-- System Information:
Debian Release: 7.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/24 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cron depends on:
ii  adduser 3.113+nmu3
ii  debianutils 4.3.2
ii  dpkg1.16.15
ii  libc6   2.13-38+deb7u6
ii  libpam-runtime  1.1.3-7.1
ii  libpam0g1.1.3-7.1
ii  libselinux1 2.1.9-5
ii  lsb-base4.1+Debian8+deb7u1

Versions of packages cron recommends:
pn  exim4 | postfix | mail-transport-agent  

Versions of packages cron suggests:
pn  anacron
pn  checksecurity  
ii  logrotate  3.8.1-4

Versions of packages cron is related to:
pn  libnss-ldap   
pn  libnss-ldapd  
pn  libpam-ldap   
pn  libpam-mount  
pn  nis   
pn  nscd  

-- no debconf information
--- End Message ---
--- Begin Message ---
Source: cron
Source-Version: 3.0pl1-130

We believe that the bug you reported is fixed in the latest version of
cron, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 767...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Javier Fernández-Sanguino Peña  (supplier of updated cron 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Mon, 12 Mar 2018 22:00:01 +0100
Source: cron
Binary: cron
Architecture: source i386
Version: 3.0pl1-130
Distribution: unstable
Urgency: medium
Maintainer: Javier Fernández-Sanguino Peña 
Changed-By: Javier Fernández-Sanguino Peña 
Description:
 cron   - process scheduling daemon
Closes: 705570 757191 767016 783665 792572 801384 834728 840601 892720 892721 
892724
Changes:
 cron (3.0pl1-130) unstable; urgency=medium
 .
   * debian/postinst: Do not do check if /var/spool/cron/crontabs if empty
 (Closes: 892720, 892721, 892724)
   * debian/cron.service:
   - Add dependency on nss-user-lookup.target in the definition which
 properly fixes the issues when cron is started before centralised user
 repositories are available (e.g. LDAP or Active Directory). This
 should avoid errors in syslog similar to the following:
 "crond[PID]: (CRON) bad username (/etc/cron.d/JOBNAME)"
 (Closes: #767016, #801384, #783665) (LP: #1593317)
   - Also remove Type=idle change added in previous upload, which was not
 the correct fix to apply.
   - Add automatic restart on 

Bug#767016: marked as done (cron does start before sssd and therefore authentication fails)

2018-03-11 Thread Debian Bug Tracking System
Your message dated Sun, 11 Mar 2018 23:04:21 +
with message-id 
and subject line Bug#767016: fixed in cron 3.0pl1-129
has caused the Debian Bug report #767016,
regarding cron does start before sssd and therefore authentication fails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
767016: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767016
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cron
Version: 3.0pl1-124
Severity: important

Dear Maintainer,

when using cron with sssd for ldap user accounts the cronjobs fail with the
error message:
 crond[1234]: (tmp.cronjob) ORPHAN (no passwd entry)

A similar bug (winbind instead of sssd) is #732203.
There the bug was fixed by adding winbind to Should-Start of the cron
init script. I think doing the same for sssd would fix the problem.

-- Package-specific info:
--- EDITOR:


--- /usr/bin/editor:
/bin/nano

--- /usr/bin/crontab:
-rwxr-sr-x 1 root crontab 35880 Jul  3  2012 /usr/bin/crontab

--- /var/spool/cron:
drwxr-xr-x 3 root root 21 Oct  1 14:46 /var/spool/cron

--- /var/spool/cron/crontabs:
drwx-wx--T 2 root crontab 17 Oct 10 00:05 /var/spool/cron/crontabs

--- /etc/cron.d:
drwxr-xr-x 2 root root 25 Oct  1 14:46 /etc/cron.d

--- /etc/cron.daily:
drwxr-xr-x 2 root root 132 Oct 22 10:39 /etc/cron.daily

--- /etc/cron.hourly:
drwxr-xr-x 2 root root 25 Oct  1 14:46 /etc/cron.hourly

--- /etc/cron.monthly:
drwxr-xr-x 2 root root 25 Oct  1 14:46 /etc/cron.monthly

--- /etc/cron.weekly:
drwxr-xr-x 2 root root 38 Oct  1 14:46 /etc/cron.weekly


-- System Information:
Debian Release: 7.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/24 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cron depends on:
ii  adduser 3.113+nmu3
ii  debianutils 4.3.2
ii  dpkg1.16.15
ii  libc6   2.13-38+deb7u6
ii  libpam-runtime  1.1.3-7.1
ii  libpam0g1.1.3-7.1
ii  libselinux1 2.1.9-5
ii  lsb-base4.1+Debian8+deb7u1

Versions of packages cron recommends:
pn  exim4 | postfix | mail-transport-agent  

Versions of packages cron suggests:
pn  anacron
pn  checksecurity  
ii  logrotate  3.8.1-4

Versions of packages cron is related to:
pn  libnss-ldap   
pn  libnss-ldapd  
pn  libpam-ldap   
pn  libpam-mount  
pn  nis   
pn  nscd  

-- no debconf information
--- End Message ---
--- Begin Message ---
Source: cron
Source-Version: 3.0pl1-129

We believe that the bug you reported is fixed in the latest version of
cron, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 767...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Javier Fernández-Sanguino Peña  (supplier of updated cron 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Sun, 11 Mar 2018 22:38:06 +0100
Source: cron
Binary: cron
Architecture: source i386
Version: 3.0pl1-129
Distribution: unstable
Urgency: medium
Maintainer: Javier Fernández-Sanguino Peña 
Changed-By: Javier Fernández-Sanguino Peña 
Description:
 cron   - process scheduling daemon
Closes: 767016 783665 801384 819832 864466
Changes:
 cron (3.0pl1-129) unstable; urgency=medium
 .
   * Acknowledge NMU
   * debian/cron.init, debian/cron.service: Make sure cron is started last and
 stopped first, with patch provided by Harald Dunke
 (Closes: #767016, #801384, #783665) (LP: #1593317)
   * crontab.1: Document limitation due to account renaming as described in
 Ubuntu's bug 73398
   * crontab.5: Document the need to set the DISPLAY environment when running
 scheduled tasks that interact with the user's desktop environment
 (LP: #891869)
   * cron.8: Fix typo (Closes: 819832)
   * debian/control: Replace dh-systemd dependency with debhelper (lintian fix)
   * debian/README.Debian: Update maintainer address
 .
   [ Christian Kastner ]
   * debian/postinst: Fix for CVE-2017-9525: group crontab to root