-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crond never starts in AppVMs #909
Comments
Comment by anonymous on 28 Oct 2014 21:49 UTC I had to make /var/spool a symlink to a folder in /rw because cron and especially anacron need to keep track of activity across reboots. I am guessing that systemd runs crond.service before /rw gets mounted (see below...). Any way to fix this? $ sudo systemctl status crond.service Oct 28 07:13:10 fedora-20-MM systemd[Started Command Scheduler. |
Modified by marmarek on 3 Nov 2014 20:52 UTC |
Modified by marmarek on 13 Jan 2015 23:42 UTC |
Modified by marmarek on 14 Jan 2015 02:22 UTC |
Comment by marmarek on 27 Jan 2015 00:19 UTC |
Comment by marmarek on 27 Jan 2015 00:19 UTC |
Could you please explain the rationale behind why crond does not run by default in any VM? |
In most cases none of crond started scripts makes sense in AppVM because changes in root filesystem are discarded. Like updatedb, mandb, prelink etc. And in most cases are harmful for performance (imagine 10 AppVMs running updatedb at the same time). |
Makes sense. Thank you! What about anacron? Would not the same apply to it? |
Yes, exactly. But it is started from |
Are you sure anacron is not called from other places also? apt-file list anacron Relevant excerpt. anacron: /etc/init.d/anacron anacron: /lib/systemd/system/anacron-resume.service I've just installed the anacron package and checked 'sudo service |
Ah, so my comment applies only to Fedora then. I think it would be good idea to start in conditionally on |
Would you like to reopen or do you prefer me to open a new ticket?
Any
reason to give it a separate entry?
Not that I can see. I think for such highly special needs, the user
should set it up that way manually and we should keep the default
simple. A single entry.
|
Since this was for R2.0, better new one. |
Created #2109 for it. |
Reported by cprise on 28 Oct 2014 11:33 UTC
The crond.service is never started when an AppVM boots up, and changing its status to 'enabled' with systemctl in the templateVM has no effect.
I haven't yet tested this with regular Fedora; Thinking it may be some side-effect of the way Qubes uses systemd.
See discussion https://groups.google.com/forum/#!topic/qubes-users/vVw1kZ1ph_A
Migrated-From: https://wiki.qubes-os.org/ticket/909
The text was updated successfully, but these errors were encountered: