Modify

Ticket #434 (closed defect: fixed)

Opened 16 years ago

Last modified 16 years ago

Build mode not working. services still restarted.

Reported by: jacques Owned by: desai
Priority: major Milestone: Bcfg2 0.9.5 Release
Component: bcfg2-client Version:
Keywords: Cc: [email protected]

Description

When I use the -B option, the services are still started/restarted in 0.9.3pre6. I am pretty sure it comes from bcfg2 rather that apt-get/dpkg (debian) since I see /etc/init.d/??? calls in the -d output but in any case, it does break my systemimager setup.

The work around that I am using (it could be reused if the problem comes from dpkg) is to create a fake /usr/sbin/invoke-rc.d and /sbin/start-stop-daemon with dpkg-divert'ing all the modifications to a renamed version. This way no process are restarted and no filesystem ends up un-umountable.

That is obviously a plugin specific issue, but I also think that the bcfg2 should apply the package policy there, that is, not to call /etc/init.d directly but through the invoke-rc.d hook. One does not know what kind of magic may be plugged in that file on some systems and bcfg2-client can be pretty close to apt-get/dpkg in terms of end effects on the os. Feel free to disagree, but still...

jacques

Attachments

Change History

comment:1 Changed 16 years ago by desai

  • Status changed from new to assigned
  • Reporter changed from anonymous to jacques
  • Milestone set to Bcfg2 0.9.4 Release

comment:2 Changed 16 years ago by desai

This is an interesting idea, but I would prefer to hold off on it until 0.9.5, due to the late date in the 0.9.4 cycle.

I just found out that I left out build mode support during the 0.8.5 client rewrite. I have readded it not, and it should be included in 0.9.4pre2. (committed in [608fcd1b311de3f6db57db0b74365f34424eebab] (SVN r3196))

comment:3 Changed 16 years ago by desai

  • Status changed from assigned to closed
  • Resolution set to fixed

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.