FWIW, I just worked through all those issues myself a couple weeks ago. :P You're correct about the path variabls, AFAIK. Per Mr. Perkin's informative post, <https://www.perkin.org.uk/posts/smartos-global-zone-tweaks.html>there's a post at http://www.psychicfriends.net/blog/archives/2012/03/21/smartosorg_run_things_at_boot.html that appears to have the info you need. (It takes a bit to tease it out, there's an example SMF manifest for download, and mention of the "Manifold" util to create manifests there.)
On Wed, Nov 16, 2016 at 11:56 AM, Tiraen <[email protected]> wrote: > But it does not matter, as I understand to normal work > > # Add to PATH/MANPATH. > PATH=/opt/tools/sbin:/opt/tools/bin:$PATH > MANPATH=/opt/tools/man:$MANPATH > > But these variables are lost after reboot host - it's logical > > I correctly understand that only through SMF at this stage? > > 2016-11-16 21:48 GMT+02:00 Tiraen <[email protected]>: > >> >> You're trying to download it to a location in the root filesystem which >> is the ramdisk and doesn't have enough space. >> You'll want to download it to somewhere like /opt or /zones >> >> >> Yes, here is my mistake >> >> But if go ahead >> >> [root@ds821695 /opt]# gpg --recv-keys 0xDE817B8E >> gpg: no keyserver known (use option --keyserver) >> gpg: keyserver receive failed: bad URI >> >> >> 2016-11-16 21:39 GMT+02:00 Nahum Shalman <[email protected]>: >> >>> On Wed, Nov 16, 2016 at 1:37 PM, Tiraen <[email protected]> wrote: >>> >>>> If manually substitute name of the package set: >>>> >>>> [root@ds821695 /]# curl -kO https://pkgsrc.joyent.com/pack >>>> ages/SmartOS/bootstrap/bootstrap-2016Q3-tools-20161020.tar.gz >>>> % Total % Received % Xferd Average Speed Time Time Time >>>> Current >>>> Dload Upload Total Spent Left >>>> Speed >>>> 20 61.6M 20 12.3M 0 0 4538k 0 0:00:13 0:00:02 >>>> 0:00:11 5105kcurl: (23) Failed writing body (12624 != 16384) >>>> >>> >>> You're trying to download it to a location in the root filesystem which >>> is the ramdisk and doesn't have enough space. >>> You'll want to download it to somewhere like /opt or /zones >>> >>> -Nahum >>> >> >> >> >> -- >> With best regards, >> >> Vyacheslav Yakushev, >> >> Unix system administrator >> > > > > -- > With best regards, > > Vyacheslav Yakushev, > > Unix system administrator > *smartos-discuss* | Archives > <https://www.listbox.com/member/archive/184463/=now> > <https://www.listbox.com/member/archive/rss/184463/28444572-979c7f91> | > Modify > <https://www.listbox.com/member/?&> > Your Subscription <http://www.listbox.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
