User story #2201
closedThere is no obivous way on Debian systems to detect if a init script is started on boot
Description
There is no evident way on Debian systems to detect if a init script is started on boot !
On SuSE / RedHat systems we have /sbin/chkconfig --check but on debian we are forced to detect if an init link is present on /etc/rc2.d. This produces unpleasant warning messages.
Updated by Jonathan CLARKE almost 13 years ago
- Status changed from New to 2
I just found this: http://packages.debian.org/search?keywords=chkconfig. chkconfig is available for Debian and has been for a long time!
I suggest we add it as a dependency for rudder-agent, and also add in the "Common" PT a packages promise to install it in case it gets removed.
Do you think this will fix this?
Updated by Jonathan CLARKE almost 13 years ago
- Target version changed from 2.4.0~alpha4 to 2.3.6
Updated by Matthieu CERDA almost 13 years ago
- Status changed from 2 to Discussion
I managed to do it the old way, like we used to do in the SSH PT, but this is a sexy alternative and it actually works indeed. Are you really sure you want to add this as a dependency ?
Updated by Jonathan CLARKE almost 13 years ago
- Target version changed from 2.3.6 to 2.4.0~alpha4
Updated by François ARMAND almost 13 years ago
- Target version changed from 2.4.0~alpha4 to 2.4.0~alpha5
Updated by Jonathan CLARKE almost 13 years ago
- Target version changed from 2.4.0~alpha5 to 2.4.0~alpha6
Updated by François ARMAND over 12 years ago
- Target version changed from 2.4.0~alpha6 to 2.4.0~beta2
Updated by Nicolas PERRON over 12 years ago
- Target version changed from 2.4.0~beta2 to 50
2.4.0~beta2 has been released. This ticket must be moved to 2.4.0~beta3.
Updated by Jonathan CLARKE over 12 years ago
- Target version changed from 50 to 2.4.0~beta3
Updated by Nicolas PERRON over 12 years ago
Matthieu CERDA wrote:
I managed to do it the old way, like we used to do in the SSH PT, but this is a sexy alternative and it actually works indeed. Are you really sure you want to add this as a dependency ?
What is this "old way" which is so sexy ? Can you explain a little more, please ?
Updated by Nicolas PERRON over 12 years ago
- Target version changed from 2.4.0~beta3 to 2.4.0~beta4
This is not a blocking issue so I moved it to the next run.
Besides, I'm waiting for your answer, Matthieu.
Updated by Jonathan CLARKE about 12 years ago
- Target version changed from 2.4.0~beta4 to 2.4.0~rc1
Updated by Jonathan CLARKE about 12 years ago
- Target version changed from 2.4.0~rc1 to Ideas (not version specific)
Updated by Matthieu CERDA about 11 years ago
- Assignee set to Nicolas PERRON
Zombie bug lives again !!!
The old way is not sexy: it means detecting the symlinks in /etc/rcX.d but produces a lot of warning messages.
The new one, which is sexy, means adding chkconfig as a dependency on Debian, which would enable us to use the same syntax on all supported OSes !
This way, we would just use chkconfig everywhere.
Updated by Nicolas PERRON about 11 years ago
- Status changed from Discussion to New
Updated by Benoît PECCATTE over 9 years ago
- Project changed from 24 to Rudder
- Category changed from Policy Templates to Techniques
Updated by Benoît PECCATTE over 7 years ago
- Subject changed from There is no evident way on Debian systems to detect if a init script is started on boot to There is no obivous way on Debian systems to detect if a init script is started on boot
- Status changed from New to Rejected
This is done in ncf in #7192