| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 11 months |
| seen | Jun 28 '12 at 14:34 | |
| stats | profile views | 1 |
|
Jun 28 |
comment |
How to start a task before networking? I don't understand why, but that job does not seem to be executed at all. I don't see a test file that the job should create ( echo .. >> /etc/..) nor do I see a log file in /var/log/upstart/. |
|
Jun 13 |
revised |
How to start a task before networking? correct name of job is "networking", not "network" |
|
Jun 13 |
comment |
How to start a task before networking? Sorry for the late reply. I haven't fully tested your second option. I've just let the override add a single comment line into the config file ( echo .. >> ..). It could add the line when bringing up lo, but there is no line about bringing up eth0. Upstart's log tells me, that when bringing up eth0 it could not write to the file, because it is on a read only file system. Interestingly it states "cannot create", so it might even still run on initrd at that time. |
|
Jun 6 |
awarded | Teacher |
|
Jun 6 |
comment |
How to start a task before networking? No, unfortunately this does not work. I've tried to overwrite the config file in a simple test job and according to upstart's log the filesystem is not yet writable at that time. I think the condition needs to be tied somehow to networking anyway, because the config task has to delay network tasks until the changes are completely written. And AFAIK upstart tries to run jobs in parallel if it thinks they are independent, so I have to state that dependency. I had already tried a condition where filesystems are ready and network is starting, but that didn't trigger at all. |
|
Jun 5 |
answered | How to start a task before networking? |
|
Jun 5 |
awarded | Editor |
|
Jun 5 |
revised |
How to start a task before networking? added used software; minor formating |
|
Jun 5 |
comment |
How to start a task before networking? Same problem: failes after two minutes DHCP timeout although the changes appear in the config file. |
|
Jun 5 |
awarded | Student |
|
Jun 5 |
asked | How to start a task before networking? |