-
tozhu
hello expert, I have a question need help and advice, for a SMF managed service, eg: my services named safeguard, is there a way to auto re-start the process for SMF managed that some one kill the safeguard process
-
tozhu
I hope when the process is killed, the SMF could start it again and automatically do that, how to write the SMF xml? is there any special?
-
tozhu
Best wishes
-
Agnar
tozhu: so you want the functionality of the sun cluster process monitoring facility. I'm not sure if that is implemented.
-
Agnar
tozhu: smf supports restarting services, at least on failing dependencies (see smf(7), restart_on)
-
Agnar
tozhu: smf supports restarting services, at least on failing dependencies (see smf(7), restart_on)
-
tozhu
Agnar, Thank you very much, I’ll check the restart_on option, Thank you very much
-
Agnar
i'm not sure if that's what you want
-
gitomat
[illumos-gate] 16791 zfs: 'l2cache_guid' may be used uninitialized -- Toomas Soome <tsoome⊙mc>
-
richlowe
danmcd: have you upgraded bash recently?
-
richlowe
danmcd: based on omnios experience, and talking with andy, that's a good first question when software starts acting the fool, right now.
-
richlowe
(re: binutils)
-
richlowe
(apparently if I remember, the root was that updating bash changed autoconf's opinions about some stuff)
-
andyf
Oh yes, that rings a bell. It was gcc 14's stricter warnings that changed autoconf's opinions
-
andyf
since autoconf relies on something not compiling to make a decision, and wasn't always good about putting a type on main(), for example.
-
andyf
But it's definitely worth comparing config.log on binutils with gcc13 and with gcc14
-
sommerfeld
tozhu: see smf(7), smf_restarter(7), smf_method(7), svc.startd(8); most non-transient services are configured to restart. svc.startd(8) describes was causes a restart: all processes exit, or any one dumps core, or a process outside the service sends a fatal signal to a process in the service.
-
sommerfeld
tozhu: monitoring of the service processes is done via process contracts; see contract(5) and process(5)
-
richlowe
ah, gcc + autoconf, I thought bash was in there too.
-
richlowe
perhaps it was in the past and I'm crossing the streams
-
andyf
The gcc14+autoconf problem ended up breaking bash, but I forget exactly what.
-
andyf
and building binutils with gcc13 doesn't make -z behave any better, unfortunately.
-
andyf
richlowe -
omniosorg/omnios-build 398d921ab66 might be the one you're thinking about.