[OpenIndiana-discuss] Openindiana under FreeBSD bhyve

2017-01-13 Thread Martin Matuska
Dear Openindiana developers and users,

I would like to run Openindiana under bhyve on FreeBSD.
https://wiki.freebsd.org/bhyve

OmniOS and SmartOS work well via CSM UEFI boot.

To load FreeBSD guest systems, an userboot.so binary is provided that is
being built as a part of the FreeBSD boot loader:
https://github.com/freebsd/freebsd/tree/master/sys/boot/userboot

As I have seen Openindiana now uses a modified version of the FreeBSD
loader.

Do you think it would make sense to have a userboot that is capable of
loading Openindiana?

Thank you,
Martin Matuska
FreeBSD developer

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] libarchive - Solaris ACL support

2017-01-13 Thread Martin Matuska
Dear Openindiana developers and users,

I have fixed compilation issues and finalized Solaris-style ACL support
(POSIX.1e and NFSv4) and added it to libarchive's master branch.
https://github.com/libarchive/libarchive

Libarchive stores ACLs in tar archives using the SCHILY.acl attributes
(SCHILY.acl.access, SCHILY.acl.default and SCHILY.acl.ace), in a
compatible way with the "star" archiver by Jörg Schilling.

ACLs that exactly mirror the mode (see acl_is_trivial_np() in FreeBSD)
are treated like no ACLs and are not stored (e.g if there is one
additional ACE or one of the trivial ACEs is modified the whole ACL is
stored).

I have tested building libarchive with the following dependencies:
developer/build/autoconf
developer/build/automake
developer/build/libtool
developer/build/pkg-config
developer/gcc-5
developer/gnu-binutils
library/lint
system/header

The ACL support will be included in libarchive 3.3 release. It would be
great to see bsdtar, bsdcpio and bsdcat packages for Openindiana.

We would appreciate any feedback at libarchive (testing, bugfixes, code
review, suggestions).

Thank you,
Martin Matuska

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] OpenIndiana upgrade

2017-01-13 Thread Volker A. Brandt
Hi alp!


> Do later SRSS versions come as IPS packages? When I installed it last 
> time, they were still SVR4-packaged, so IPS wouldn't be aware of it...

Yes, they do:

$ pkg info SUNWutr
 Name: SUNWutr
  Summary: Sun Ray Core Services Configuration (root)
  Description: startup and service configuration files
 Category: System/Virtualization
State: Installed
Publisher: sunray
  Version: 4.5.0.0.44
Build Release: 5.11
   Branch: 0.0
   Packaging Date: Tue Apr 14 17:50:15 2015
 Size: 455.08 kB
 FMRI: pkg://sunray/SUNWutr@4.5.0.0.44,5.11-0.0:20150414T175015Z

(not the latest version :-)

As you can see, there is a separate publisher ("sunray").  Oracle ships
the complete repository, adds the publisher during software installation
and removes the publisher afterwards.

My guess is that they do this because it is not possible to "pkg update"
from one Sun Ray software version to the next.  However, you can find
and examine the repository inside the SRSS distribution.


Regards -- Volker
-- 

Volker A. Brandt   Consulting and Support for Oracle Solaris
Brandt & Brandt Computer GmbH   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim, GERMANYEmail: v...@bb-c.de
Handelsregister: Amtsgericht Bonn, HRB 10513  Schuhgröße: 46
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt

"When logic and proportion have fallen sloppy dead"

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] OpenIndiana upgrade

2017-01-13 Thread Thomas Wagner
The missing link may be the every too often removed legacy package
name in a updated IPS package.
That way even SVR4 packages know about if an (IPS) package is 
present or not.

While developing one barely notice the missing legacy package names,
but "3rd"-party addons complain later.

Thomas

On Fri, Jan 13, 2017 at 05:29:36PM +0300, Alexander Pyhalov wrote:
>  On 01/13/17 05:20 PM, Carsten Grzemba wrote:
> 
> > I solved the problem by
> > - set non-sticky the openindiana.org publisher
> > - create a fake repo and publish there incorporation packages where 
> > dependency type is changed to optional, remove the obsoleted flag in dhcp 
> > package
> > # pkgrepo list -s /repos/fake-hipster/
> > PUBLISHER NAME O VERSION
> > fake-hipster consolidation/install/install-incorporation 
> > 0.5.11,5.11-0.151.1.9:20170108T144721Z
> > fake-hipster consolidation/ips/ips-incorporation 
> > 0.5.11,5.11-0.151.1.9:20170111T153531Z
> > fake-hipster consolidation/osnet/osnet-incorporation 
> > 0.5.11,5.11-0.151.1.9:20170108T132101Z
> > fake-hipster service/network/dhcp 
> > 0.5.11,5.11-2015.0.2.15619:20170113T123056Z
> > fake-hipster service/network/dhcp 0.5.11,5.11-0.151.1.9:20170106T113837Z
> > - add the fake-hipster repository to search before openindiana.org 
> > publisher
> > - at first replace (pkg update) the old incorporations with the old fake 
> > incorporation (optional dependencies)
> > - remove the fake repository
> > - do a normal upgrade to the latest hipster
> >
> 
>  Do later SRSS versions come as IPS packages? When I installed it last time, 
>  they were still SVR4-packaged, so IPS wouldn't be aware of it...
> 
>  -- 
>  Best regards,
>  Alexander Pyhalov,
>  system administrator of Southern Federal University IT department
> 

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] High CPU usage: ecore_x_vsync

2017-01-13 Thread Predrag Zečević - Technical Support Analyst

Hi all,

does anyone knows what this process is used for: ecore_x_vsync?

I am using /hipster OI, MATE desktop and saw this:

$ top -n 5
last pid:  2361;  load avg:  1.23,  1.28,  1.25;  up 2+04:19:32 
15:41:06

133 processes: 130 sleeping, 3 on cpu
CPU states: 73.8% idle, 25.3% user,  1.0% kernel,  0.0% iowait,  0.0% swap
Kernel: 4485 ctxsw, 100 trap, 3755 intr, 8857 syscall, 73 flt
Memory: 8127M phys mem, 280M free mem, 4063M total swap, 4034M free swap
ARC:3314M Total, 318M MRU, 2471M MFU, 2282K Anon, 74M Header, 401M Other

   PID USERNAME NLWP PRI NICE  SIZE   RES STATETIMECPU COMMAND
  2488 predrag_2  200   51M   37M cpu/0   52.1H 24.94% 
ecore_x_vsync

 10160 predrag_  100  490 1344M 1005M cpu/3  169:10  0.55% firefox
  2444 predrag_  287  59  -14 1305M 1162M sleep   94:57  0.41% VirtualBox
  2360 predrag_1  590 3476K 2212K cpu/10:00  0.06% top
  2071 root3  590  174M   91M sleep   36:19  0.06% Xorg


$ pkg search -l /usr/lib/ecore_x/bin/v-1.12/ecore_x_vsync
INDEX  ACTION VALUEPACKAGE
path   file   usr/lib/ecore_x/bin/v-1.12/ecore_x_vsync 
pkg:/library/e/efl@1.12.3-2016.0.0.0


And that is package "Enlightenment - Core libraries"?

What starts it? Anyone knows?


With best regards.
Predrag Zečević
--
Predrag Zečević
Technical Support Analyst
2e Systems GmbH

Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
Mobile:+49  174 3109 288, Skype: predrag.zecevic
E-mail:predrag.zece...@2e-systems.com

Headquarter:  2e Systems GmbH, Königsteiner Str. 87,
  65812 Bad Soden am Taunus, Germany
Company registration: Amtsgericht Königstein (Germany), HRB 7303
Managing director:Phil Douglas

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

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] OpenIndiana upgrade

2017-01-13 Thread Alexander Pyhalov

On 01/13/17 05:20 PM, Carsten Grzemba wrote:


I solved the problem by
- set non-sticky the openindiana.org publisher
- create a fake repo and publish there incorporation packages where dependency 
type is changed to optional, remove the obsoleted flag in dhcp package
# pkgrepo list -s /repos/fake-hipster/
PUBLISHER NAME O VERSION
fake-hipster consolidation/install/install-incorporation 
0.5.11,5.11-0.151.1.9:20170108T144721Z
fake-hipster consolidation/ips/ips-incorporation 
0.5.11,5.11-0.151.1.9:20170111T153531Z
fake-hipster consolidation/osnet/osnet-incorporation 
0.5.11,5.11-0.151.1.9:20170108T132101Z
fake-hipster service/network/dhcp 0.5.11,5.11-2015.0.2.15619:20170113T123056Z
fake-hipster service/network/dhcp 0.5.11,5.11-0.151.1.9:20170106T113837Z
- add the fake-hipster repository to search before openindiana.org publisher
- at first replace (pkg update) the old incorporations with the old fake 
incorporation (optional dependencies)
- remove the fake repository
- do a normal upgrade to the latest hipster



Do later SRSS versions come as IPS packages? When I installed it last 
time, they were still SVR4-packaged, so IPS wouldn't be aware of it...


--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] OpenIndiana upgrade

2017-01-13 Thread Carsten Grzemba


On 05.01.17 16:31, Carsten Grzemba   wrote: 
> 
> I also fiddling around his problem for a while.
> 
> It seems that the problem correlates with some obsoleted packages and locked 
> version in the incorporations
> e.g. ips-incorporation is obsoleted now.
> 
> There I stumble in the incorporation package manifests over the dependency 
> type 'incorporate'. 
> I can't unlock this depend versions, right?
> 
> That has nothing to do with facet.version-lock?
> 
> On 31.12.16 18:51, Hans J Albertsson  wrote: 
> > 
> > The message I answered was Russel's last, not Mr Coopersmith's.
> > I'm on a phone with limited intelligence...
> > Hans J. Albertsson
> > From my Nexus 5
> > 
> > Den 31 dec. 2016 18:49 skrev "Hans J Albertsson" <
> > hans.j.alberts...@gmail.com>:
> > 
> > > I had the same kind of problem with 151a7, no f...n way to make updates
> > > run OK.
> > >
> > > The messages appearing for you seem a lot like what I had.
> > >
> > > My best guess is that this is a basic flaw in logic, that in most cases
> > > would never cause a problem, but somehow, in a personal-computer use of 
> > > OI,
> > > doesn't keep enough info around to step past some unexpected hurdle.
> > >
> > > Hans J. Albertsson
> > > From my Nexus 5
> > >
> > > Den 31 dec. 2016 18:01 skrev "Alan Coopersmith" <
> > > alan.coopersm...@oracle.com>:
> > >
> > >> On 12/31/16 05:00 AM, russell wrote:
> > >>
> > >>> Hi Alex,
> > >>>
> > >>> I tried a pkg image-update -v --be-name openindiana-hipster-NN this
> > >>> morning
> > >>> which did actually complete okay with information about gnu/tar.
> > >>>
> > >>> After booting from the new environment and then attempting a pkg update
> > >>> -be-name
> > >>> openindiana-hipster-NN+1 I obtained the following message
> > >>>
> > >>
> > >> BTW, you know that "pkg update" and "pkg image-update" do the same thing,
> > >> right?
> > >> The original name was image-update and when it was shortened to update,
> > >> the old
> > >> name was left in IPS as a compatibility alias.
> > >>
> 
or
 
> 
> 
> > >> -alan-
> 
 
> 
> 
> > >>
> > >>
> 
Finally I could update my dev install to hipster ;)

The main problem seems to be that it is a SunRAY Server and the sunray packages 
need package  
service/network/dhcp. 
But this package is obsoleted on hipster and it seems that obsoleted packages 
can not install as incorporate.

Changing facetpkg-a change-facet facet.require.service/network/dhcp=false
# pkg change-facet facet.version-lock.service/network/dhcp=false
or
# pkg change-facet facet.require.service/network/dhcp=false
has no effect.

I solved the problem by 
- set non-sticky the openindiana.org publisher
- create a fake repo and publish there incorporation packages where dependency 
type is changed to optional, remove the obsoleted flag in dhcp package
# pkgrepo list -s /repos/fake-hipster/
PUBLISHER NAME O VERSION
fake-hipster consolidation/install/install-incorporation 
0.5.11,5.11-0.151.1.9:20170108T144721Z
fake-hipster consolidation/ips/ips-incorporation 
0.5.11,5.11-0.151.1.9:20170111T153531Z
fake-hipster consolidation/osnet/osnet-incorporation 
0.5.11,5.11-0.151.1.9:20170108T132101Z
fake-hipster service/network/dhcp 0.5.11,5.11-2015.0.2.15619:20170113T123056Z
fake-hipster service/network/dhcp 0.5.11,5.11-0.151.1.9:20170106T113837Z
- add the fake-hipster repository to search before openindiana.org publisher
- at first replace (pkg update) the old incorporations with the old fake 
incorporation (optional dependencies)
- remove the fake repository
- do a normal upgrade to the latest hipster

I guess it would be better that packages not obsoleted but instead replaced 
(isc-dhcp).
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss