Bug 807029 - Cron should run after remote-fs
Summary: Cron should run after remote-fs
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cronie
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-26 19:37 UTC by Edward Z. Yang
Modified: 2012-08-08 09:28 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 19:59:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 809132 0 unspecified CLOSED RFE: run as "last" service 2021-02-22 00:41:40 UTC

Internal Links: 809132

Description Edward Z. Yang 2012-03-26 19:37:16 UTC
Currently, crond's service file has:

[Unit]
Description=Command Scheduler
After=syslog.target network.target sssd.service ypbind.service

Arguably, cron should run after remote-fs.target as well, as user jobs may rely on the remote filesystem.

This affects all later versions of Fedora too.

Comment 1 Marcela Mašláňová 2012-03-27 09:52:43 UTC
You are right. In previous releases with the sysvinit script was crond started at the last service. Sadly, I can't do that in unit.

Comment 2 Marcela Mašláňová 2012-04-04 11:35:34 UTC
Hm, could you try change the unit file?

[Unit]
Description=Command Scheduler
After=syslog.target network.target sssd.service
Before=systemd-user-session.service

I'll fix it in all releases at once as soon as I do a little testing. I might even remove sssd.service from the unit.

Comment 3 Michal Schmidt 2012-04-04 12:00:05 UTC
Marcela,
Note the correct spelling is the plural form: systemd-user-sessions.service
You may have been confused by my typo in bug 809132.

Also note that I suggested to have cron start After systemd-user-sessions.service, not Before.

Comment 4 Marcela Mašláňová 2012-04-04 12:37:46 UTC
(In reply to comment #3)
> Marcela,
> Note the correct spelling is the plural form: systemd-user-sessions.service
> You may have been confused by my typo in bug 809132.
> 
> Also note that I suggested to have cron start After
> systemd-user-sessions.service, not Before.

Oops.

So it should be:
[Unit]
Description=Command Scheduler
After=syslog.target network.target sssd.service systemd-user-sessions.service

Comment 5 Fedora End Of Life 2012-08-07 19:59:47 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 6 Marcela Mašláňová 2012-08-08 09:28:08 UTC
I fixed it in F-18+


Note You need to log in before you can comment on or make changes to this bug.