RE: [smartos-discuss] enable services in smartos

2016-10-18 Thread Fred Liu


> -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&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com


Re: [smartos-discuss] enable services in smartos

2016-10-18 Thread Jonathan Perkin
* 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&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com