[Bug 408947] [NEW] @reboot local crontabs do not run for likewise-open5 domain users.
Tony Shadwick
numbski+bugs.launchpad.net at hksilver.net
Tue Aug 4 17:54:05 BST 2009
Public bug reported:
Binary package hint: likewise-open5
I had likewise-open4 before upgrading to Jaunty, and this worked. Given
the domain user shadwickt, I have jobs set in that user's crontab to run
@reboot. That user does not have a local account on the system. At
reboot, the following gets written to syslog:
Jul 31 10:11:41 shadwickt-desk /usr/sbin/cron[4269]: (CRON) STARTUP (fork ok)
Jul 31 10:11:41 shadwickt-desk /usr/sbin/cron[4269]: (shadwickt) ORPHAN (no passwd entry)
Jul 31 10:11:41 shadwickt-desk /usr/sbin/cron[4269]: (CRON) INFO (Running @reboot jobs)
That user's personal crontab gets skipped for @reboot jobs. Later
crontabs do work.
likewise-open5's daemons (npcmuxd, dcerpcd, eventlogd, netlogond, and
lsassd) start after cron. As a result, the user really does not exist to
the system when cron first starts, thus the cron entry can't run
@reboot.
To see why, do an ls of /etc/rc2.d. You'll note that cron has a symlink
at S89, while the likewise daemons are at S91-S93.
The fix is simple, I changed my startup order in /etc/rc2.d through
/etc/rc3.d so that it looks like this:
S85dcerpcd
S86eventlogd
S86netlogond
S86npcmuxd
S87lsassd
This is before both anacron and cron which are S89. Do that in all 4 of
the rc directories listed, and reboot.
** Affects: likewise-open5 (Ubuntu)
Importance: Undecided
Status: New
** Tags: cron crontab likewise likewise-open5 reboot
--
@reboot local crontabs do not run for likewise-open5 domain users.
https://bugs.launchpad.net/bugs/408947
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to likewise-open5 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list