RE: [smartos-discuss] enable services in smartos
> -Original Message- > From: Jonathan Perkin [mailto:jper...@joyent.com] > Sent: 星期二, 十月 18, 2016 17:33 > To: smartos-discuss@lists.smartos.org > Subject: Re: [smartos-discuss] enable services in smartos > > * On 2016-10-18 at 10:19 BST, Fred Liu wrote: > > > It looks nis/client has been added as a dependency in 20160901 but > > not in 20160527 like following; > > Correct, this was to fix https://smartos.org/bugview/OS-5568 > > > I totally understand minimalism, but some disabled services we > > really need such ldap, dns and nis etc. > > > > What is the simplest way to enable these services? > > I would use jclulow's rc.local gist: > > https://gist.github.com/jclulow/2606370 > > and then just add the svcadm commands to the postboot script. > Good idea as a command hub! Thanks. Fred --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
Re: [smartos-discuss] enable services in smartos
* On 2016-10-18 at 10:19 BST, Fred Liu wrote: > It looks nis/client has been added as a dependency in 20160901 but > not in 20160527 like following; Correct, this was to fix https://smartos.org/bugview/OS-5568 > I totally understand minimalism, but some disabled services we > really need such ldap, dns and nis etc. > > What is the simplest way to enable these services? I would use jclulow's rc.local gist: https://gist.github.com/jclulow/2606370 and then just add the svcadm commands to the postboot script. Cheers, -- Jonathan Perkin - Joyent, Inc. - www.joyent.com --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
[smartos-discuss] enable services in smartos
Hi It looks nis/client has been added as a dependency in 20160901 but not in 20160527 like following; uname -a SunOS pluto 5.11 joyent_20160901T054050Z i86pc i386 i86pc svcs -l name-services fmri svc:/milestone/name-services:default name name services milestone enabled true stateonline next_state none state_time October 18, 2016 01:40:50 PM CST alt_logfile /etc/svc/volatile/milestone-name-services:default.log logfile /var/svc/log/milestone-name-services:default.log restartersvc:/system/svc/restarter:default dependency optional_all/refresh svc:/network/dns/client (disabled) dependency optional_all/refresh svc:/network/ldap/client (disabled) dependency optional_all/refresh svc:/network/nis/client (disabled) uname -a SunOS kepler-452b 5.11 joyent_20160527T033529Z i86pc i386 i86pc svcs -l name-services fmri svc:/milestone/name-services:default name name services milestone enabled true stateonline next_state none state_time October 18, 2016 05:05:38 PM CST alt_logfile /etc/svc/volatile/milestone-name-services:default.log logfile /var/svc/log/milestone-name-services:default.log restartersvc:/system/svc/restarter:default dependency optional_all/refresh svc:/network/dns/client (disabled) dependency optional_all/refresh svc:/network/ldap/client (disabled) dependency optional_all/refresh svc:/network/nis/client (absent) I totally understand minimalism, but some disabled services we really need such ldap, dns and nis etc. What is the simplest way to enable these services? I have tried add my own services under /opt but it can't be a dependency for other services because of hard-coded name space. I also think about enabling them when build smartos. Is there anyone who knows how to do it when I am building smartos? Building normally takes some time. And it should not be a best way. Brainstorm. Thanks. Fred --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com