Project

General

Profile

Actions

User story #2201

closed

There is no obivous way on Debian systems to detect if a init script is started on boot

Added by Matthieu CERDA almost 13 years ago. Updated almost 8 years ago.

Status:
Rejected
Priority:
5 (lowest)
Assignee:
-
Category:
Techniques
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

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.

Actions #1

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?

Actions #2

Updated by Jonathan CLARKE almost 13 years ago

  • Target version changed from 2.4.0~alpha4 to 2.3.6
Actions #3

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 ?

Actions #4

Updated by Jonathan CLARKE almost 13 years ago

  • Target version changed from 2.3.6 to 2.4.0~alpha4
Actions #5

Updated by François ARMAND almost 13 years ago

  • Target version changed from 2.4.0~alpha4 to 2.4.0~alpha5
Actions #6

Updated by Jonathan CLARKE almost 13 years ago

  • Target version changed from 2.4.0~alpha5 to 2.4.0~alpha6
Actions #7

Updated by François ARMAND over 12 years ago

  • Target version changed from 2.4.0~alpha6 to 2.4.0~beta2
Actions #8

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.

Actions #9

Updated by Jonathan CLARKE over 12 years ago

  • Target version changed from 50 to 2.4.0~beta3
Actions #10

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 ?

Actions #11

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.

Actions #12

Updated by Jonathan CLARKE over 12 years ago

  • Target version changed from 2.4.0~beta4 to 2.4.0~rc1
Actions #13

Updated by Jonathan CLARKE over 12 years ago

  • Target version changed from 2.4.0~rc1 to Ideas (not version specific)
Actions #14

Updated by Matthieu CERDA over 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.

Actions #15

Updated by Nicolas PERRON over 11 years ago

  • Assignee deleted (Nicolas PERRON)
Actions #16

Updated by Nicolas PERRON over 11 years ago

  • Status changed from Discussion to New
Actions #17

Updated by Benoît PECCATTE almost 10 years ago

  • Project changed from 24 to Rudder
  • Category changed from Policy Templates to Techniques
Actions #18

Updated by Benoît PECCATTE almost 8 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

Actions

Also available in: Atom PDF