Bug 448188 - does not notice event file removals
Summary: does not notice event file removals
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: upstart
Version: 9
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Casey Dahlin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-24 07:45 UTC by Russell Coker
Modified: 2014-06-18 08:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-04 15:10:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Russell Coker 2008-05-24 07:45:45 UTC
The command "telinit q" does not cause a reload of the configuration.  I 
believe that for compatibility with the old SysV Init it should work, I would 
like to be able to remove files from /etc/event.d/ and then run "telinit q" to 
cause the services in question to be stopped.

But if upstart is not going to implement such functionality then the 
command "telinit q" should display an error message explaining the situation 
and return a value other than zero.

Comment 1 Jon Stanley 2008-05-24 19:33:18 UTC
Upstart monitors files in /etc/event.d thus obviating the need for the
functionality provided by 'telinit q'

Comment 2 Jon Stanley 2008-05-24 19:34:56 UTC
Actually I was stupid - this shouldn't be closed, rather the implementation
should either be removed from telinit, or it should produce an informative
message to this effect.

Comment 3 Russell Coker 2008-05-24 22:38:02 UTC
The file monitoring doesn't seem to work well.  When I moved the files in 
question to another directory in an attempt to disable the gettys nothing 
happened.

Comment 4 Bill Nottingham 2008-05-27 15:10:21 UTC
Hm, I'm not sure what the upstream algorithm is - what you want is for any
removed event file to cause that job to be stopped?

Comment 5 Russell Coker 2008-05-27 23:10:14 UTC
System administrators who have become used to the SysVinit functionality will 
expect that when they change the init config file (/etc/inittab) and 
run "telinit q" they will have their changes applied.

If upstart correctly noticed changes (according to the description in comment 
#1) then they would be applied before the sysadmin could run "telinit q", this 
would be a problem for someone who edits files and then wants to apply the 
changes later (EG changing config files before a change window officially 
opens).  A warning would still be required.

The current situation (according to my tests) is that I change the files, 
run "telinit q" and nothing happens.  Anything other than the current 
situation would be an improvement.

Comment 6 Casey Dahlin 2008-08-04 20:40:16 UTC
Running jobs in upstart do not receive configuration changes. You must stop and restart the individual jobs for configuration to change.

Comment 7 Casey Dahlin 2008-10-19 18:15:32 UTC
Will anyone vouch for keeping this open?

Comment 8 Casey Dahlin 2009-01-04 15:10:41 UTC
Guess not.


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