Bug #5393
closedRudder init script not replaced by upgrade
Added by Dennis Cabooter over 9 years ago. Updated about 6 years ago.
Description
The Rudder init script is not replaced by the upgrade from 2.10.3 > 2.11.2. However, the new file is present but not used.
# grep jetty /etc/init.d/rudder-server-root /etc/init.d/jetty start /etc/init.d/jetty stop /etc/init.d/jetty check | tail -1
# grep jetty /etc/init.d/rudder-server-root.dpkg-dist JETTY_INIT=/etc/init.d/rudder-jetty
Updated by Matthieu CERDA over 9 years ago
- Category set to System integration
- Status changed from New to Discussion
- Assignee set to Matthieu CERDA
- Priority changed from N/A to 4
- Target version set to 2.11.3
Hmmmm, this is not normal, the upgrade should have asked if the file is to be replaced or not :)
Did you get any question from apt-get/aptitude during the upgrade ?
Updated by Dennis Cabooter over 9 years ago
From http://www.rudder-project.org/rudder-doc-2.11/rudder-doc.html#_upgrade_rudder_on_debian_or_ubuntu:
Rudder includes a script for upgrading all files, databases, etc… which need migrating. Therefore, you should not replace your old files by the new ones when apt-get/aptitude asks about this, unless you want to reset all your parameters.
Updated by Matthieu CERDA over 9 years ago
Well, actually init scripts are not supposed to ask a question :)
I'll try to reproduce this.
Updated by Jonathan CLARKE over 9 years ago
From the dh_installdeb(1) man page:
In v3 compatibility mode and higher, all files in the etc/ directory in a package will automatically be flagged as conffiles by this program, so there is no need to list them manually here.
So the init script will have been flagged as a conffile, and thus dpkg is asking about updating it. Grrrr.
Updated by Lionel Le Folgoc over 9 years ago
It's only asking if it has been modified. If the conffile hasn't been modified, dpkg will replace it silently. If it was modified and you called dpkg with '--force-confold', then it's not replaced and the new file is installed with a .dpkg.dist extension. If it was not modified and you called dpkg with '--force-confold', same behavior, because this option forces to keep the old conffile (this can be surprising, if you use '--force-confold' you need to add '--force-confdef' to let dpkg overwrite unmodified conffile).
Updated by Matthieu CERDA over 9 years ago
- Target version changed from 2.11.3 to 2.11.4
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.11.4 to 2.11.5
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.11.5 to 2.11.6
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.11.6 to 2.11.7
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.11.7 to 2.11.8
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.11.8 to 2.11.9
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.11.9 to 2.11.10
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.11.10 to 2.11.11
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 2.11.11 to 2.11.12
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 2.11.12 to 2.11.13
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.13 to 2.11.14
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.14 to 2.11.15
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.15 to 2.11.16
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.16 to 2.11.17
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.17 to 2.11.18
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.18 to 2.11.19
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 2.11.19 to 2.11.20
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 2.11.20 to 2.11.21
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 2.11.21 to 2.11.22
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 2.11.22 to 2.11.23
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 2.11.23 to 2.11.24
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 2.11.24 to 308
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 308 to 3.1.14
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.14 to 3.1.15
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.15 to 3.1.16
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.16 to 3.1.17
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.17 to 3.1.18
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 3.1.18 to 3.1.19
Updated by François ARMAND about 7 years ago
- Severity set to Major - prevents use of part of Rudder | no simple workaround
- User visibility set to Operational - other Techniques | Technique editor | Rudder settings
- Priority set to 30
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 3.1.19 to 3.1.20
Updated by Jonathan CLARKE about 7 years ago
- Status changed from Discussion to New
Updated by Vincent MEMBRÉ almost 7 years ago
- Target version changed from 3.1.20 to 3.1.21
Updated by Vincent MEMBRÉ almost 7 years ago
- Target version changed from 3.1.21 to 3.1.22
Updated by Vincent MEMBRÉ over 6 years ago
- Target version changed from 3.1.22 to 3.1.23
Updated by Vincent MEMBRÉ over 6 years ago
- Target version changed from 3.1.23 to 3.1.24
Updated by Vincent MEMBRÉ over 6 years ago
- Target version changed from 3.1.24 to 3.1.25
- Priority changed from 43 to 44
Updated by Vincent MEMBRÉ over 6 years ago
- Target version changed from 3.1.25 to 387
- Priority changed from 44 to 45
Updated by Vincent MEMBRÉ over 6 years ago
- Target version changed from 387 to 4.1.10
Updated by Benoît PECCATTE about 6 years ago
- Status changed from New to Rejected
Closing since this didn't happen recently.
Feel free to reopen if needed.