Jiri Sasek wrote:
please note: "/etc/init.d/samba stop"  ...SYSVinit command using "pkill smbd ;
pkill nmbd" so such command issued in global zone will kill all Samba's running
in non-global zones!!!

Currently this issue is solved tracking the smbd.pid, nmbd.pid and winbind pid
's by "start method" called from smf(5) samba service (Opensolaris/nv build

If you know the zonename, you can use

pkill -z <zonename> smbd
pkill -z <zonename> nmbd

As you might guess, that limits the context of pkill to processes in that zone.

Jeff VICTOR              Sun Microsystems            jeff.victor @ sun.com
OS Ambassador            Sr. Technical Specialist
Solaris 10 Zones FAQ:    http://www.opensolaris.org/os/community/zones/faq
zones-discuss mailing list

Reply via email to