Discussion:
[OpenIndiana-discuss] /hispter update and nwamadm issue
Predrag Zečević - Technical Support Analyst
2018-02-02 11:42:48 UTC
Permalink
Hi all,

I have upgraded /hipster OI this morning, and that cause trouble in
network settings:

$ $ uname -rosv
SunOS 5.11 illumos-8baf4f951a Solaris

$ nwamadm list -x
TYPE PROFILE STATE AUXILIARY STATE
ncp Automatic uninitialized uninitialized
ncp e1000g0_dhcp uninitialized uninitialized
ncp e1000g0_static uninitialized uninitialized
ncp rge0_dhcp uninitialized uninitialized
ncp rge0_static uninitialized uninitialized
loc Automatic uninitialized uninitialized
loc NoNet uninitialized uninitialized
loc User uninitialized uninitialized

So, my network connection broke. It took me few minutes to realize that...
Network problem was fixed with (to use profile I have defined) command:
$ pfexec nwamadm enable rge0_static

It was working out of box in previous BE. Not sure how this can be debugged.

---<snip>-----

Also, I have zfs (from second disk) mounted under /opt - suddenly OI
also wants to use it, so booting fails.

Only /opt/onbld is there (I have moved /opt aside and rebooted, so have
my mount fixed). That directory belongs to package onbld:
$ pfexec pkg uninstall -vn developer/build/onbld
Creating Plan (Solver setup): -
pkg uninstall: Unable to remove
'developer/build/***@0.5.11-2017.0.0.16981' due to the following
packages that depend on it:
developer/opensolaris/***@0.5.11-2017.0.0.16981
metapackages/build-***@1.0-2017.0.0.9

E.G.
$ pfexec pkg uninstall -vn developer/build/onbld
developer/opensolaris/osnet metapackages/build-essential
Packages to remove: 4
Estimated space available: 82.79 GB
Estimated space to be consumed: 485.30 MB
Create boot environment: No
Create backup boot environment: No
Rebuild boot archive: No

Changed packages:
openindiana.org
developer/build/onbld
0.5.11-2017.0.0.16981 -> None
developer/java/jdk
0.5.11-2017.0.0.0 -> None
developer/opensolaris/osnet
0.5.11-2017.0.0.16981 -> None
metapackages/build-essential
1.0-2017.0.0.9 -> None

If I would uninstall it, JDK is gone, which opens second question: how
can I prevent my zfs mounted on /opt to be boot stopper?

Regards.
--
Predrag Zečević
Technical Support Analyst
2e Systems GmbH

tel: +49 - 6196 - 95058 - 15
mob: +49 - 174 - 3109288
fax: +49 - 6196 - 95058 - 94
e-mail: ***@2e-systems.com

headquarter: 2e Systems GmbH, Koenigsteiner Str. 87, 65812 Bad Soden am
Taunus, Germany
registration: Amtsgericht Koenigstein (Germany), HRB 7303
managing director: Phil Douglas

http://www.2e-systems.com/ - Making your business fly!
Alexander Pyhalov
2018-02-02 12:45:23 UTC
Permalink
Post by Predrag Zečević - Technical Support Analyst
Hi all,
If I would uninstall it, JDK is gone, which opens second question: how
can I prevent my zfs mounted on /opt to be boot stopper?
Hi.
Just don't do it. We deliver some packages in /opt, so it should be
either in rpool/ROOT/be or rpool/ROOT/be/opt . You can mount external
pool to /opt/local or /usr/local if you want.
--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department
Alexander Pyhalov
2018-02-02 12:51:02 UTC
Permalink
Post by Predrag Zečević - Technical Support Analyst
Hi all,
If I would uninstall it, JDK is gone, which opens second question: how
can I prevent my zfs mounted on /opt to be boot stopper?
And it's not jdk, it's just a package with rename from
developer/java/jdk to developer/java/openjdk8
--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department
Predrag Zečević - Technical Support Analyst
2018-02-02 13:14:01 UTC
Permalink
Post by Alexander Pyhalov
Post by Predrag Zečević - Technical Support Analyst
Hi all,
If I would uninstall it, JDK is gone, which opens second question: how
can I prevent my zfs mounted on /opt to be boot stopper?
Hi.
Just don't do it. We deliver some packages in /opt, so it should be
either in rpool/ROOT/be or rpool/ROOT/be/opt . You can mount external
pool to /opt/local or /usr/local if you want.
Hi AlP,

thanks for response...

Well /opt/local is used my pkgsrc packages and /usr/local on my box have
another purpose.

Can onbld be delivered into /usr (just curious)?
Like /usr/onbld (if that is handled by OI and not Illumos)...

Regards.
--
Predrag Zečević
Technical Support Analyst
2e Systems GmbH

tel: +49 - 6196 - 95058 - 15
mob: +49 - 174 - 3109288
fax: +49 - 6196 - 95058 - 94
e-mail: ***@2e-systems.com

headquarter: 2e Systems GmbH, Koenigsteiner Str. 87, 65812 Bad Soden am
Taunus, Germany
registration: Amtsgericht Koenigstein (Germany), HRB 7303
managing director: Phil Douglas

http://www.2e-systems.com/ - Making your business fly!
Alexander Pyhalov
2018-02-02 13:18:16 UTC
Permalink
Post by Predrag Zečević - Technical Support Analyst
Can onbld be delivered into /usr (just curious)?
Like /usr/onbld (if that is handled by OI and not Illumos)...
You can try create issue in illumos-gate and suppose a fix, but it's
unlikely to be accepted, as it's well-known path.
--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department
Predrag Zečević - Technical Support Analyst
2018-02-02 13:17:30 UTC
Permalink
Post by Alexander Pyhalov
Post by Predrag Zečević - Technical Support Analyst
Can onbld be delivered into /usr (just curious)?
Like /usr/onbld (if that is handled by OI and not Illumos)...
You can try create issue in illumos-gate and suppose a fix, but it's
unlikely to be accepted, as it's well-known path.
OK.
Thanks
--
Predrag Zečević
Technical Support Analyst
2e Systems GmbH

tel: +49 - 6196 - 95058 - 15
mob: +49 - 174 - 3109288
fax: +49 - 6196 - 95058 - 94
e-mail: ***@2e-systems.com

headquarter: 2e Systems GmbH, Koenigsteiner Str. 87, 65812 Bad Soden am
Taunus, Germany
registration: Amtsgericht Koenigstein (Germany), HRB 7303
managing director: Phil Douglas

http://www.2e-systems.com/ - Making your business fly!
Loading...