TurnKey Linux Virtual Appliance Library

upstart chroot solution for configuration console?

I've been all over the place today, so can't retrace my steps, but recall seeing some of the problems with converting the configuration console to upstart mentioned. I don't now if this issue has been solved yet, but stumbled upon this bit of info in the Lucid Lynx release notes that I thought might be relevant if it hasn't. I don't understand the basis of the problem enough to be of any real help, but every bit I can do while learning...

It basicly sounds like the problem is getting processes within a chroot to communicate with upstart, which is outside of the chroot. The bit of info at the referenced page seems to give a work-around. They suggested using commands something like this within the chroot:

dpkg-divert --local --rename --add /sbin/initctl
ln -s /bin/true /sbin/initctl
Now, if you'll excuse me, I think my socks are on backwards. :p
Alon Swartz's picture

TKLPatch issue (already solved)

I think you're referring to the issue we had with TKLPatch on the new 11.0RC builds, mainly with MySQL as its init script was converted to use upstart. We've since solved the issue, but thanks!

Socks on backwards - LOL...

Reason for my search...

When I stumbled upon that info, I was thinking (with my extremely limited education on the matter) that the config console itself could/should be converted to work as an upstart job in order to place it correctly within the start-up sequence. I was trying to find out how to make it access the network after there is a network connection to access. It kind of jumps the gun right now when installing in a VM. I don't know if this has been solved already for an upcoming release.

On the bright side, it appears the result of my research was peripherally spot on (is that even possible?), and only belated by 5 or 6 months. I'm getting warmer! :p

It made me think about it.
It made me.
Think about it.

Alon Swartz's picture

Putting off conversion to upstart as long as possible

We are putting off conversion to upstart for as long as possible, so the same package source can be used in Debian builds. At least until (read as if) Debian move to using upstart.

The configuration console is started as late as possible in system initialization. There isn't much point in starting it earlier. If you've had issues with the confconsole please report them. The more info you can provide the better.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)