Project

General

Profile

Actions

Bug #5393

closed

Rudder init script not replaced by upgrade

Added by Dennis Cabooter over 10 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
4
Assignee:
-
Category:
System integration
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
45
Name check:
Fix check:
Regression:

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
Actions #1

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

Actions #2

Updated by Dennis Cabooter over 10 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.
Actions #3

Updated by Matthieu CERDA over 10 years ago

Well, actually init scripts are not supposed to ask a question :)

I'll try to reproduce this.

Actions #4

Updated by Jonathan CLARKE over 10 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.

Actions #5

Updated by Lionel Le Folgoc over 10 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).

Actions #6

Updated by Matthieu CERDA about 10 years ago

  • Target version changed from 2.11.3 to 2.11.4
Actions #7

Updated by Vincent MEMBRÉ about 10 years ago

  • Target version changed from 2.11.4 to 2.11.5
Actions #8

Updated by Vincent MEMBRÉ about 10 years ago

  • Target version changed from 2.11.5 to 2.11.6
Actions #9

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.11.6 to 2.11.7
Actions #10

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.11.7 to 2.11.8
Actions #11

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.11.8 to 2.11.9
Actions #12

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.11.9 to 2.11.10
Actions #13

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.10 to 2.11.11
Actions #14

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.11 to 2.11.12
Actions #15

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.12 to 2.11.13
Actions #16

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.13 to 2.11.14
Actions #17

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.14 to 2.11.15
Actions #18

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.15 to 2.11.16
Actions #19

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.16 to 2.11.17
Actions #20

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.17 to 2.11.18
Actions #21

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.11.18 to 2.11.19
Actions #22

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.11.19 to 2.11.20
Actions #23

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.20 to 2.11.21
Actions #24

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.21 to 2.11.22
Actions #25

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.22 to 2.11.23
Actions #26

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.23 to 2.11.24
Actions #27

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.24 to 308
Actions #28

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 308 to 3.1.14
Actions #29

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.14 to 3.1.15
Actions #30

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.15 to 3.1.16
Actions #31

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.16 to 3.1.17
Actions #32

Updated by Benoît PECCATTE about 8 years ago

  • Assignee deleted (Matthieu CERDA)
Actions #33

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.17 to 3.1.18
Actions #34

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 3.1.18 to 3.1.19
Actions #35

Updated by François ARMAND over 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
Actions #36

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.19 to 3.1.20
Actions #37

Updated by Jonathan CLARKE over 7 years ago

  • Status changed from Discussion to New
Actions #38

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.20 to 3.1.21
Actions #39

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.21 to 3.1.22
Actions #40

Updated by Benoît PECCATTE over 7 years ago

  • Priority changed from 30 to 43
Actions #41

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.22 to 3.1.23
Actions #42

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.23 to 3.1.24
Actions #43

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.24 to 3.1.25
  • Priority changed from 43 to 44
Actions #44

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.25 to 387
  • Priority changed from 44 to 45
Actions #45

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 387 to 4.1.10
Actions #46

Updated by Benoît PECCATTE almost 7 years ago

  • Status changed from New to Rejected

Closing since this didn't happen recently.
Feel free to reopen if needed.

Actions

Also available in: Atom PDF