Bug #173

Follow-up to bug #347937 (sysevent svc missing in zones)

Added by j. blun about 1 year ago. Updated 9 months ago.

Status:Feedback Start:05/14/2010
Priority:High Due date:
Assigned to:- % Done:

100%

Category:- Spent time: -
Target version:-

Description

This bug is still there in ncp3-beta3. It was reported by chrol on 2009-03-24 (more than one year ago) in the old launchpad bugtracker. Fix should be easy.

btw: it took me 3 hours to find how to solve it...


Related issues

duplicated by Bug #203 Fails to create a whole-root zone Resolved 06/20/2010

History

Updated by Anil Gulecha about 1 year ago

  • Target version changed from ncp3-pre1 to NCP3 RC2

Updated by Jérôme Warnier about 1 year ago

The link to the Launchpad entry, which also features a fix: https://bugs.launchpad.net/nexenta/+bug/347937

Updated by Anil Gulecha about 1 year ago

  • Target version deleted (NCP3 RC2)

Updated by Anil Gulecha about 1 year ago

J.Blun: what was the fix in your case? Importing the manifest, or editing to remove the exit code from the SVC method dont seem to help.

~Anil

Updated by j. blun about 1 year ago

Anil, I did exactly what was reported by chrol in the old launchpad bugtracker:

add

"[ `zonename` = global ] || sleep 3600 & exit 0"

after after ". /lib/svc/share/smf_include.sh" in /lib/svc/method/svc-syseventd, do a

dpkg-reconfigure sunwcsd

and import the sysevent.xml again with

svccfg import /var/svc/manifest/system/sysevent.xml

That fixed it.

Updated by Jérôme Warnier about 1 year ago

j. blun wrote:

Anil, I did exactly what was reported by chrol in the old launchpad bugtracker:

add

[...]

after after ". /lib/svc/share/smf_include.sh" in /lib/svc/method/svc-syseventd, do a

[...]

and import the sysevent.xml again with

[...]

That fixed it.

I have to admit I tried to do it on a RC3 without more success than Anil, while it working when on RC2 (on the same machine). So my zone is broken again. Oh my!

Updated by j. blun about 1 year ago

Adding this link only to complete the list of what need to be done to get zones working again in NCP3-RC3:

http://www.nexenta.org/issues/203#note-5

Fix should be easy. And fixing zones would be a real step forward in nexenta acceptance ;-)

Updated by Anil Gulecha about 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Hi,

This is fixed with NCP 3.0.1

Once a zone is setup, you need to run dpkg-reconfigure sunwcsd, and reboot. The zlogin issue to zones has been fixed as well.

~Anil

Updated by j. blun 9 months ago

This bug was reintroduced by the latest upgrade in sunwcsd Version 5.11.134-30-5-0!

We have to add this again in lib/svc/method/svc-syseventd:

[ `zonename` = global ] || sleep 3600 & exit 0"

Please fix it!

Updated by j. blun 9 months ago

  • Status changed from Resolved to Feedback

Also available in: Atom PDF