Package: cron
Version: 3.0pl1-127
Severity: important

Dear Maintainer,

I have a file in /etc/cron.d that runs jobs as a user that is not in
/etc/passwd, but is in my NIS passwd database.   When I reboot the system the
job never runs, and there is no error message in the logs.  Other jobs in
/etc/cron.d that have entries in /etc/passwd work fine.   If I stop and start
cron using systemctl the job with the user that is not in /etc/passwd but is in
the NIS passwd database runs as scheduled.

I believe this is a problem with the start up order for cron.  On my system
cron is starting up before ypbind.   I think it should be starting up
afterwards.   I am not enough of an expert in systemd to figure out how to
set up dependencies for cron to fix this.

-- Package-specific info:
--- EDITOR:
not set

--- /usr/bin/editor:
/usr/bin/vim.gnome

--- /usr/bin/crontab:
-rwxr-sr-x 1 root crontab 36008 Oct 25  2014 /usr/bin/crontab

--- /var/spool/cron:
drwxr-xr-x 5 root root 48 Aug 29  2007 /var/spool/cron

--- /var/spool/cron/crontabs:
drwx-wx--T 2 root crontab 29 Apr 28 13:54 /var/spool/cron/crontabs

--- /etc/cron.d:
drwxr-xr-x 2 root root 105 Apr 26 14:51 /etc/cron.d

--- /etc/cron.daily:
drwxr-xr-x 2 root root 4096 Apr 28 11:39 /etc/cron.daily

--- /etc/cron.hourly:
drwxr-xr-x 2 root root 25 Apr 26 12:47 /etc/cron.hourly

--- /etc/cron.monthly:
drwxr-xr-x 2 root root 84 Apr 26 14:35 /etc/cron.monthly

--- /etc/cron.weekly:
drwxr-xr-x 2 root root 90 Apr 26 14:35 /etc/cron.weekly


-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages cron depends on:
ii  adduser              3.113+nmu3
ii  debianutils          4.4+b1
ii  dpkg                 1.17.25
ii  init-system-helpers  1.22
ii  libc6                2.19-18
ii  libpam-runtime       1.1.8-3.1
ii  libpam0g             1.1.8-3.1
ii  libselinux1          2.3-2
ii  lsb-base             4.1+Debian13+nmu1

Versions of packages cron recommends:
ii  sendmail-bin [mail-transport-agent]  8.14.4-8

Versions of packages cron suggests:
ii  anacron        2.3-23
pn  checksecurity  <none>
ii  logrotate      3.8.7-1+b1

Versions of packages cron is related to:
pn  libnss-ldap   <none>
pn  libnss-ldapd  <none>
pn  libpam-ldap   <none>
pn  libpam-mount  <none>
ii  nis           3.17-33
ii  nscd          2.19-18

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to