[Bug 732356] New: cron gets started too early

https://bugzilla.novell.com/show_bug.cgi?id=732356 https://bugzilla.novell.com/show_bug.cgi?id=732356#c0 Summary: cron gets started too early Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: fcrozat@suse.com ReportedBy: aj@suse.com QAContact: qa@suse.de Found By: Product Management Blocker: --- I'm using NIS and have cron jobs. cron gets started so early that network is not available and thus cron cannot find my login. /var/log/messages contains: Nov 23 14:45:53 byrd /usr/sbin/cron[1207]: (aj) ORPHAN (no passwd entry) Nov 23 14:45:53 byrd /usr/sbin/cron[1207]: (CRON) INFO (running with inotify support) What's the best way to fix this? Make it depend on ypbind and all other login services if configured? But how? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=732356 https://bugzilla.novell.com/show_bug.cgi?id=732356#c1 --- Comment #1 from Frederic Crozat <fcrozat@suse.com> 2011-11-29 12:54:06 UTC --- could you try copying /lib/systemd/system/cron.service to /etc/systemd/system and add : After=ypbind.service <insert your favorite IS provider, maybe samba or ldap> to the [Service] part. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=732356 https://bugzilla.novell.com/show_bug.cgi?id=732356#c2 --- Comment #2 from Frederic Crozat <fcrozat@suse.com> 2011-11-29 12:54:54 UTC --- Fedora is using : After=auditd.service sssd.service ypbind.service -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=732356 https://bugzilla.novell.com/show_bug.cgi?id=732356#c3 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |aj@suse.com --- Comment #3 from Andreas Jaeger <aj@suse.com> 2011-11-29 13:11:59 UTC --- Ok, will test - setting to NEEDINFO to reply here. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=732356 https://bugzilla.novell.com/show_bug.cgi?id=732356#c4 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|aj@suse.com | --- Comment #4 from Andreas Jaeger <aj@suse.com> 2011-11-29 14:18:58 UTC --- Seems to work now with: After=syslog.target mail-transfer-agent.target ybind.service nscd.service -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=732356 https://bugzilla.novell.com/show_bug.cgi?id=732356#c5 --- Comment #5 from Frederic Crozat <fcrozat@suse.com> 2011-11-29 14:34:55 UTC --- I guess we should issue a maintenance update for cron, then. Care to handle it ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=732356 https://bugzilla.novell.com/show_bug.cgi?id=732356#c6 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |fcrozat@suse.com InfoProvider| |maintenance@opensuse.org AssignedTo|fcrozat@suse.com |aj@suse.com --- Comment #6 from Andreas Jaeger <aj@suse.com> 2011-11-29 14:49:26 UTC --- Ok, will take care of it... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=732356 https://bugzilla.novell.com/show_bug.cgi?id=732356#c Cristian Rodríguez <crrodriguez@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crrodriguez@opensuse.org See Also| |https://bugzilla.novell.com | |/show_bug.cgi?id=733275 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=732356 https://bugzilla.novell.com/show_bug.cgi?id=732356#c7 Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |petr.m@seznam.cz --- Comment #7 from Vitezslav Cizek <vcizek@suse.com> 2011-11-30 10:44:23 CET --- *** Bug 733275 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=733275 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=732356 https://bugzilla.novell.com/show_bug.cgi?id=732356#c8 --- Comment #8 from Bernhard Wiedemann <bwiedemann@suse.com> 2011-12-02 21:00:09 CET --- This is an autogenerated message for OBS integration: This bug (732356) was mentioned in https://build.opensuse.org/request/show/95207 Factory / cronie -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=732356 https://bugzilla.novell.com/show_bug.cgi?id=732356#c9 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|maintenance@opensuse.org | --- Comment #9 from Benjamin Brunner <bbrunner@suse.com> 2011-12-03 17:53:55 CET --- AJ, could you do a submitrequest to openSUSE:12.1:Update:Test, after it is checked in into Factory, please. I'll start an update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=732356 https://bugzilla.novell.com/show_bug.cgi?id=732356#c10 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #10 from Andreas Jaeger <aj@suse.com> 2011-12-04 12:25:49 UTC --- SR#95315 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=732356 https://bugzilla.novell.com/show_bug.cgi?id=732356#c11 --- Comment #11 from Bernhard Wiedemann <bwiedemann@suse.com> 2011-12-04 14:00:17 CET --- This is an autogenerated message for OBS integration: This bug (732356) was mentioned in https://build.opensuse.org/request/show/95315 12.1 / cronie -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com