Re: [OpenIndiana-discuss] NTP not starting in Zones

2018-09-12 Thread Jerry Kemp
Maybe I'm doing it wrong, but typically, I typically only set time/run NTP in 
the Global zone, and my observations are that, NTP in
the Global zone will take care of the GZ, HW time and everything else.

As such, I do not run NTP, or do anything else to set time, aside from 
configuring the TZ (time zone) in local zones.

This has generally served me well since the Solaris 10 beta's.  I wouldn't 
expect a local zone to be able to access the HW clock.

Am I doing this wrong?

Jerry




 Original Message 
From: Till Wegmüller
Sent: Wed, Sep 12, 2018 3:59 PM CDT
To: Discussion list for OpenIndiana
Subject: [OpenIndiana-discuss] NTP not starting in Zones

Hello fellow Community

Since some time I get the following error inside all my zones from ntp.

--
[ Sep 11 06:54:40 Enabled. ]
[ Sep 11 06:54:41 Executing start method ("/lib/svc/method/ntp start"). ]
[ Sep 11 06:54:41 svc.startd could not set context for method:  ]
setppriv: Not owner
[ Sep 11 06:54:41 Method "start" exited with status 96. ]
[ Sep 11 07:08:18 Leaving maintenance because disable requested. ]
[ Sep 11 07:08:18 Disabled. ]
[ Sep 11 15:58:33 Enabled. ]
[ Sep 11 15:58:33 Executing start method ("/lib/svc/method/ntp start"). ]
[ Sep 11 15:58:33 svc.startd could not set context for method:  ]
setppriv: Not owner
[ Sep 11 15:58:33 Method "start" exited with status 96. ]
--

Does anybody know what ntp or rather smf is complaining about?
Is ntp not suposed to be installed inside zones? If so wouldn't it make
sense to configure ntp as variant global?

Would love to hear what you know about this.
Greetings
Till

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



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


Re: [OpenIndiana-discuss] NTP not starting in Zones

2018-09-12 Thread Till Wegmüller
Hi

No unfortuantely not.
SMF Manifest has:








and
~# ls -alh /lib/svc/method/ntp
-r-xr-xr-x   1 root bin3.26K Feb 22  2018 /lib/svc/method/ntp

~# ls -alh /usr/lib/inet/ntpd
-r-xr-xr-x   1 root bin1.20M Sep  9 22:53 /usr/lib/inet/ntpd

Unfortunately not. Or do I need to check on another spot?

-Till
On 09/12/18 11:08 PM, ken mays via openindiana-discuss wrote:
>  Check owner status (non-root)...~K
> 
> On Wednesday, September 12, 2018, 2:01:29 PM PDT, Till Wegmüller 
>  wrote:  
>  
>  Hello fellow Community
> 
> Since some time I get the following error inside all my zones from ntp.
> 
> --
> [ Sep 11 06:54:40 Enabled. ]
> [ Sep 11 06:54:41 Executing start method ("/lib/svc/method/ntp start"). ]
> [ Sep 11 06:54:41 svc.startd could not set context for method:  ]
> setppriv: Not owner
> [ Sep 11 06:54:41 Method "start" exited with status 96. ]
> [ Sep 11 07:08:18 Leaving maintenance because disable requested. ]
> [ Sep 11 07:08:18 Disabled. ]
> [ Sep 11 15:58:33 Enabled. ]
> [ Sep 11 15:58:33 Executing start method ("/lib/svc/method/ntp start"). ]
> [ Sep 11 15:58:33 svc.startd could not set context for method:  ]
> setppriv: Not owner
> [ Sep 11 15:58:33 Method "start" exited with status 96. ]
> --
> 
> Does anybody know what ntp or rather smf is complaining about?
> Is ntp not suposed to be installed inside zones? If so wouldn't it make
> sense to configure ntp as variant global?
> 
> Would love to hear what you know about this.
> Greetings
> Till
> 
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>   
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
> 

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


Re: [OpenIndiana-discuss] NTP not starting in Zones

2018-09-12 Thread ken mays via openindiana-discuss
 Check owner status (non-root)...~K

On Wednesday, September 12, 2018, 2:01:29 PM PDT, Till Wegmüller 
 wrote:  
 
 Hello fellow Community

Since some time I get the following error inside all my zones from ntp.

--
[ Sep 11 06:54:40 Enabled. ]
[ Sep 11 06:54:41 Executing start method ("/lib/svc/method/ntp start"). ]
[ Sep 11 06:54:41 svc.startd could not set context for method:  ]
setppriv: Not owner
[ Sep 11 06:54:41 Method "start" exited with status 96. ]
[ Sep 11 07:08:18 Leaving maintenance because disable requested. ]
[ Sep 11 07:08:18 Disabled. ]
[ Sep 11 15:58:33 Enabled. ]
[ Sep 11 15:58:33 Executing start method ("/lib/svc/method/ntp start"). ]
[ Sep 11 15:58:33 svc.startd could not set context for method:  ]
setppriv: Not owner
[ Sep 11 15:58:33 Method "start" exited with status 96. ]
--

Does anybody know what ntp or rather smf is complaining about?
Is ntp not suposed to be installed inside zones? If so wouldn't it make
sense to configure ntp as variant global?

Would love to hear what you know about this.
Greetings
Till

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


[OpenIndiana-discuss] NTP not starting in Zones

2018-09-12 Thread Till Wegmüller
Hello fellow Community

Since some time I get the following error inside all my zones from ntp.

--
[ Sep 11 06:54:40 Enabled. ]
[ Sep 11 06:54:41 Executing start method ("/lib/svc/method/ntp start"). ]
[ Sep 11 06:54:41 svc.startd could not set context for method:  ]
setppriv: Not owner
[ Sep 11 06:54:41 Method "start" exited with status 96. ]
[ Sep 11 07:08:18 Leaving maintenance because disable requested. ]
[ Sep 11 07:08:18 Disabled. ]
[ Sep 11 15:58:33 Enabled. ]
[ Sep 11 15:58:33 Executing start method ("/lib/svc/method/ntp start"). ]
[ Sep 11 15:58:33 svc.startd could not set context for method:  ]
setppriv: Not owner
[ Sep 11 15:58:33 Method "start" exited with status 96. ]
--

Does anybody know what ntp or rather smf is complaining about?
Is ntp not suposed to be installed inside zones? If so wouldn't it make
sense to configure ntp as variant global?

Would love to hear what you know about this.
Greetings
Till

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


Re: [OpenIndiana-discuss] Hipster today - qemu-kvm partly working

2018-09-12 Thread Udo Grabowski (IMK)

On 12/09/2018 15:41, Alexander Pyhalov via openindiana-discuss wrote:

Yes, qemu-kvm has been compiled without SDL/x11 support since end of 2016.
Nobody has noticed it, but I don't think that avoiding dependency on 2 
libraries (sdl and libx11) is so noticable now, so enabled it back.


Thanks, having a window available is really helpfull in
a couple of situations. And libsdl and libx11 will (hopefully)
not go away in any foreseeable future...





От: Udo Grabowski (IMK) 
Отправлено: 12 сентября 2018 г. 15:18:17
Кому: openindiana-discuss@openindiana.org
Тема: Re: [OpenIndiana-discuss] Hipster today - qemu-kvm partly working

With -vnc 0.0.0.0:6, it does open a vnc port and the
image has indeed booted. So only the graphics window
is not working.

...

--
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology   http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026

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


Re: [OpenIndiana-discuss] Hipster today - qemu-kvm partly working

2018-09-12 Thread Alexander Pyhalov via openindiana-discuss
Yes, qemu-kvm has been compiled without SDL/x11 support since end of 2016.
Nobody has noticed it, but I don't think that avoiding dependency on 2 
libraries (sdl and libx11) is so noticable now, so enabled it back.

С уважением,
Александр Пыхалов,
программист отдела телекоммуникационной инфраструктуры
управления информационно-коммуникационной инфраструктуры ЮФУ



От: Udo Grabowski (IMK) 
Отправлено: 12 сентября 2018 г. 15:18:17
Кому: openindiana-discuss@openindiana.org
Тема: Re: [OpenIndiana-discuss] Hipster today - qemu-kvm partly working

With -vnc 0.0.0.0:6, it does open a vnc port and the
image has indeed booted. So only the graphics window
is not working.

On 12/09/2018 14:00, Udo Grabowski (IMK) wrote:
> On 12/09/2018 13:52, Udo Grabowski (IMK) wrote:
>> Tried update from today and checked qemu-kvm with different ISOs
>> and -no-* options. Doesn't crash immediately, but hangs at
>> 'booting ...', not showing the graphics window.
>
> Here's a stack, it consistently hangs polling something:
>
> ro sunth7 ~ # mdb `which qemu-kvm`
>> ::run  -m 1g -cdrom /tftpboot/firefly_0114.iso
>
> VNC server running on `127.0.0.1:5900'
> Start bios (version 0.6.1.2-20110201_165504-titi)
> Ram Size=0x4000 (0x high)
> CPU Mhz=2601
> PCI: pci_bios_init_bus_rec bus = 0x0
> PIIX3/PIIX4 init: elcr=00 0c
> PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237
> PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000
> PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010
> region 4: 0xc000
> PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
> PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8
> region 0: 0xf000
> region 1: 0xf200
> region 6: 0xf201
> PCI: bus=0 devfn=0x18: vendor_id=0x10ec device_id=0x8139
> region 0: 0xc100
> region 1: 0xf202
> region 6: 0xf203
> Found 1 cpu(s) max supported 1 cpu(s)
> MP table addr=0x000fdc00 MPC table addr=0x000fdc10 size=224
> SMBIOS ptr=0x000fdbe0 table=0x3ef0
> ACPI tables: RSDP=0x000fdbb0 RSDT=0x3fffdc40
> Scan for VGA option rom
> Running option rom at c000:0003
> VGABios $Id$
> Turning on vga text mode console
> SeaBIOS (version 0.6.1.2-20110201_165504-titi)
>
> Found 1 lpt ports
> Found 1 serial ports
> ATA controller 0 at 1f0/3f4/0 (irq 14 dev 9)
> ATA controller 1 at 170/374/0 (irq 15 dev 9)
> ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD
> PS2 keyboard initialized
> All threads complete.
> Scan for option roms
> Running option rom at c900:0003
> pnp call arg1=60
> pmm call arg1=0
> pmm call arg1=2
> pmm call arg1=0
> Running option rom at c980:0003
> ebda moved from 9fc00 to 9f400
> Returned 53248 bytes of ZoneHigh
> e820 map has 7 items:
>   0:  - 0009f400 = 1
>   1: 0009f400 - 000a = 2
>   2: 000f - 0010 = 2
>   3: 0010 - 3fffd000 = 1
>   4: 3fffd000 - 4000 = 2
>   5: feffc000 - ff00 = 2
>   6: fffc - 0001 = 2
> enter handle_19:
>   NULL
> Booting from Hard Disk...
> Boot failed: could not read the boot disk
>
> enter handle_18:
>   NULL
> Booting from Floppy...
> Boot failed: could not read the boot disk
>
> enter handle_18:
>   NULL
> Booting from DVD/CD...
> 85MB medium detected
> Booting from :7c00
> ^Cmdb: stop on SIGINT
> mdb: target stopped at:
> libc.so.1`__pollsys+0xa:jb -0xb1020 
> mdb: You've got symbols!
> Loading modules: [ ld.so.1 libc.so.1 ]
>> ::stack
> libc.so.1`__pollsys+0xa()
> libc.so.1`pselect+0x26b(10, fd7fffdf9180, fd7fffdf7180,
> fd7fffdf5180, fd7fffdf5120, 0)
> libc.so.1`select+0x5a(10, fd7fffdf9180, fd7fffdf7180, 
> fd7fffdf5180,
> fd7fffdfb180)
> main_loop_wait+0x17c(0)
> kvm_main_loop+0xc7()
> main+0xefc(5, fd7fffdfb4f8, fd7fffdfb528)
> _start_crt+0x83()
> _start+0x18()
>> ::stacks
> THREAD   STATESOBJCOUNT
> 2UNPARKED   2
>  libc.so.1`sigwaitinfo+0x17
>  sigwait_compat+0x63
>  libc.so.1`_thrp_setup+0x8a
>  libc.so.1`_lwp_start
>
> 3UNPARKED   1
>  ap_main_loop+0x26f
>  libc.so.1`_thrp_setup+0x8a
>  libc.so.1`_lwp_start
>
> 1UNPARKED   1
>  libc.so.1`pselect+0x26b
>  libc.so.1`select+0x5a
>  main_loop_wait+0x17c
>  kvm_main_loop+0xc7
>  main+0xefc
>  _start_crt+0x83
>  _start+0x18
>
> 5PARKED   CV  1
>  libc.so.1`cond_wait_queue+0x5b
>  libc.so.1`cond_wait_common+0x1d1
>  libc.so.1`__cond_timedwait+0x6d
>  libc.so.1`cond_timedwait+0x36
>  libc.so.1`pthread_cond_timedwait+0x19
>  ai

Re: [OpenIndiana-discuss] Upgdared OI today - pkg not working

2018-09-12 Thread Predrag Zečević - Technical Support Analyst

On 09/12/18 14:32, Alexander Pyhalov via openindiana-discuss wrote:

Now do you have cryptography under /usr/lib/python2.7/site-packages ?

Yes,
but it is package you have pointed to:
$ pkg list -H library/python/cryptography-27
library/python/cryptography-272.1.4-2018.0.0.1 
i--



Try removing it from there to avoid conflicts in future and use cryptography-27 
package.

С уважением,
Александр Пыхалов,
программист отдела телекоммуникационной инфраструктуры
управления информационно-коммуникационной инфраструктуры ЮФУ



I will try another update and if everything is OK, will remain silent :-)


With best regards.
Predrag Zečević



От: Predrag Zečević - Technical Support Analyst 
Отправлено: 12 сентября 2018 г. 14:55:32
Кому: openindiana-discuss@openindiana.org
Тема: Re: [OpenIndiana-discuss] Upgdared OI today - pkg not working


On 09/12/18 11:45, Alexander Pyhalov via openindiana-discuss wrote:

Hi.

It seems you have local version of cryptography installed (likely via pip). Try 
uninstalling it. IPS should use library/python/cryptography-27@2.1.4 .

С уважением,
Александр Пыхалов,
программист отдела телекоммуникационной инфраструктуры
управления информационно-коммуникационной инфраструктуры ЮФУ



So, I have tried (in old BE, so I need another new BE):

$ pip uninstall cryptography
Uninstalling cryptography-1.5.2:
/usr/lib/python2.7/site-packages/cryptography-1.5.2-py2.7.egg-info
...
Proceed (y/n)? y
Successfully uninstalled cryptography-1.5.2

You are using pip version 9.0.1, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

$ pfexec pkg fix library/python/cryptography-27
Traceback (most recent call last):
File "/usr/bin/pkg", line 67, in 
  import pkg.actions as actions
File "/usr/lib/python2.7/vendor-packages/pkg/actions/__init__.py",
line 68, in 
  globals(), locals(), [modname])
File "/usr/lib/python2.7/vendor-packages/pkg/actions/signature.py",
line 32, in 
  from cryptography.exceptions import InvalidSignature
ImportError: No module named cryptography.exceptions

I have installed it again, since pkg utility fails:
$ pfexec pip install cryptography
Collecting cryptography
Downloading
https://files.pythonhosted.org/packages/22/21/233e38f74188db94e8451ef6385754a98f3cad9b59bedf3a8e8b14988be4/cryptography-2.3.1.tar.gz
(449kB)
  100% || 450kB 2.0MB/s
Requirement already satisfied: idna>=2.1 in
/usr/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: asn1crypto>=0.21.0 in
/usr/lib/python2.7/vendor-packages (from cryptography)
Requirement already satisfied: six>=1.4.1 in
/usr/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: cffi!=1.11.3,>=1.7 in
/usr/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: enum34 in
/usr/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: ipaddress in
/usr/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: pycparser in
/usr/lib/python2.7/vendor-packages (from cffi!=1.11.3,>=1.7->cryptography)
Installing collected packages: cryptography
Running setup.py install for cryptography ... done
Successfully installed cryptography-2.3.1
You are using pip version 9.0.1, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


And now, this has worked:
$ pfexec pkg fix library/python/cryptography-27

Was that proper procedure?

With best regards
Predrag Zečević



От: Predrag Zečević - Technical Support Analyst 
Отправлено: 12 сентября 2018 г. 12:33:06
Кому: Discussion list for OpenIndiana
Тема: [OpenIndiana-discuss] Upgdared OI today - pkg not working

Hi all,

just wanted to test if kvm works, but (after OI upgrade) to


$ uname -rosv
SunOS 5.11 illumos-2eeda98682 illumos

$ pkg list
Traceback (most recent call last):
 File "/usr/bin/pkg", line 69, in 
   import pkg.client.api as api
 File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 76,
in 
   import pkg.client.image as image
 File "/usr/lib/python2.7/vendor-packages/pkg/client/image.py", line
47, in 
   from cryptography import x509
 File
"/usr/lib/python2.7/site-packages/cryptography/x509/__init__.py", line
7, in 
   from cryptography.x509.base import (
 File "/usr/lib/python2.7/site-packages/cryptography/x509/base.py",
line 15, in 
   from cryptography.x509.extensions import Extension, ExtensionType
 File
"/usr/lib/python2.7/site-packages/cryptography/x509/extensions.py", line
19, in 
   from cryptography.hazmat.primitives import constant_time, serialization
 File
"/usr/lib/python2.7/site-packages/cryptography/hazmat/primitives/constant_time.py",
line 9, in 
   from cryptography.hazmat.bindings._constant_time import lib
ImportError: 

Re: [OpenIndiana-discuss] Upgdared OI today - pkg not working

2018-09-12 Thread Alexander Pyhalov via openindiana-discuss
Now do you have cryptography under /usr/lib/python2.7/site-packages ?
Try removing it from there to avoid conflicts in future and use cryptography-27 
package.

С уважением,
Александр Пыхалов,
программист отдела телекоммуникационной инфраструктуры
управления информационно-коммуникационной инфраструктуры ЮФУ



От: Predrag Zečević - Technical Support Analyst 
Отправлено: 12 сентября 2018 г. 14:55:32
Кому: openindiana-discuss@openindiana.org
Тема: Re: [OpenIndiana-discuss] Upgdared OI today - pkg not working


On 09/12/18 11:45, Alexander Pyhalov via openindiana-discuss wrote:
> Hi.
>
> It seems you have local version of cryptography installed (likely via pip). 
> Try uninstalling it. IPS should use library/python/cryptography-27@2.1.4 .
>
> С уважением,
> Александр Пыхалов,
> программист отдела телекоммуникационной инфраструктуры
> управления информационно-коммуникационной инфраструктуры ЮФУ
>
>
So, I have tried (in old BE, so I need another new BE):

$ pip uninstall cryptography
Uninstalling cryptography-1.5.2:
   /usr/lib/python2.7/site-packages/cryptography-1.5.2-py2.7.egg-info
...
Proceed (y/n)? y
   Successfully uninstalled cryptography-1.5.2

You are using pip version 9.0.1, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

$ pfexec pkg fix library/python/cryptography-27
Traceback (most recent call last):
   File "/usr/bin/pkg", line 67, in 
 import pkg.actions as actions
   File "/usr/lib/python2.7/vendor-packages/pkg/actions/__init__.py",
line 68, in 
 globals(), locals(), [modname])
   File "/usr/lib/python2.7/vendor-packages/pkg/actions/signature.py",
line 32, in 
 from cryptography.exceptions import InvalidSignature
ImportError: No module named cryptography.exceptions

I have installed it again, since pkg utility fails:
$ pfexec pip install cryptography
Collecting cryptography
   Downloading
https://files.pythonhosted.org/packages/22/21/233e38f74188db94e8451ef6385754a98f3cad9b59bedf3a8e8b14988be4/cryptography-2.3.1.tar.gz
(449kB)
 100% || 450kB 2.0MB/s
Requirement already satisfied: idna>=2.1 in
/usr/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: asn1crypto>=0.21.0 in
/usr/lib/python2.7/vendor-packages (from cryptography)
Requirement already satisfied: six>=1.4.1 in
/usr/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: cffi!=1.11.3,>=1.7 in
/usr/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: enum34 in
/usr/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: ipaddress in
/usr/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: pycparser in
/usr/lib/python2.7/vendor-packages (from cffi!=1.11.3,>=1.7->cryptography)
Installing collected packages: cryptography
   Running setup.py install for cryptography ... done
Successfully installed cryptography-2.3.1
You are using pip version 9.0.1, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


And now, this has worked:
$ pfexec pkg fix library/python/cryptography-27

Was that proper procedure?

With best regards
Predrag Zečević

> 
> От: Predrag Zečević - Technical Support Analyst 
> 
> Отправлено: 12 сентября 2018 г. 12:33:06
> Кому: Discussion list for OpenIndiana
> Тема: [OpenIndiana-discuss] Upgdared OI today - pkg not working
>
> Hi all,
>
> just wanted to test if kvm works, but (after OI upgrade) to
>
>
> $ uname -rosv
> SunOS 5.11 illumos-2eeda98682 illumos
>
> $ pkg list
> Traceback (most recent call last):
> File "/usr/bin/pkg", line 69, in 
>   import pkg.client.api as api
> File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 76,
> in 
>   import pkg.client.image as image
> File "/usr/lib/python2.7/vendor-packages/pkg/client/image.py", line
> 47, in 
>   from cryptography import x509
> File
> "/usr/lib/python2.7/site-packages/cryptography/x509/__init__.py", line
> 7, in 
>   from cryptography.x509.base import (
> File "/usr/lib/python2.7/site-packages/cryptography/x509/base.py",
> line 15, in 
>   from cryptography.x509.extensions import Extension, ExtensionType
> File
> "/usr/lib/python2.7/site-packages/cryptography/x509/extensions.py", line
> 19, in 
>   from cryptography.hazmat.primitives import constant_time, serialization
> File
> "/usr/lib/python2.7/site-packages/cryptography/hazmat/primitives/constant_time.py",
> line 9, in 
>   from cryptography.hazmat.bindings._constant_time import lib
> ImportError: No module named _constant_time
>
> So, I have booted back to working BE.
> Did I missed something?
>
> With best regards.
> Predrag Zečević
> --
> Predrag Zečević
> Technical Support Analyst
> 2e Systems GmbH
>
> tel: +49 - 6196 - 95058 - 15
> mob: +49 - 174 - 3109288
> fax: +49 - 619

[OpenIndiana-discuss] Rust 1.28 testing package

2018-09-12 Thread Aurélien Larcher
For anyone interested there is a testing package of rust 1.28 at

https://pkg.openindiana.org/gcc-next/

pkg://userland/developer/lang/rustc@1.28.0,5.11-2018.0.0.0:20180912T121658Z

The repository is built with gcc-8 so a new BE and a good bandwidth are
required.

-- 
---
Praise the Caffeine embeddings
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Hipster today - qemu-kvm partly working

2018-09-12 Thread Udo Grabowski (IMK)

With -vnc 0.0.0.0:6, it does open a vnc port and the
image has indeed booted. So only the graphics window
is not working.

On 12/09/2018 14:00, Udo Grabowski (IMK) wrote:

On 12/09/2018 13:52, Udo Grabowski (IMK) wrote:

Tried update from today and checked qemu-kvm with different ISOs
and -no-* options. Doesn't crash immediately, but hangs at
'booting ...', not showing the graphics window.


Here's a stack, it consistently hangs polling something:

ro sunth7 ~ # mdb `which qemu-kvm`

::run  -m 1g -cdrom /tftpboot/firefly_0114.iso


VNC server running on `127.0.0.1:5900'
Start bios (version 0.6.1.2-20110201_165504-titi)
Ram Size=0x4000 (0x high)
CPU Mhz=2601
PCI: pci_bios_init_bus_rec bus = 0x0
PIIX3/PIIX4 init: elcr=00 0c
PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237
PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000
PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010
region 4: 0xc000
PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8
region 0: 0xf000
region 1: 0xf200
region 6: 0xf201
PCI: bus=0 devfn=0x18: vendor_id=0x10ec device_id=0x8139
region 0: 0xc100
region 1: 0xf202
region 6: 0xf203
Found 1 cpu(s) max supported 1 cpu(s)
MP table addr=0x000fdc00 MPC table addr=0x000fdc10 size=224
SMBIOS ptr=0x000fdbe0 table=0x3ef0
ACPI tables: RSDP=0x000fdbb0 RSDT=0x3fffdc40
Scan for VGA option rom
Running option rom at c000:0003
VGABios $Id$
Turning on vga text mode console
SeaBIOS (version 0.6.1.2-20110201_165504-titi)

Found 1 lpt ports
Found 1 serial ports
ATA controller 0 at 1f0/3f4/0 (irq 14 dev 9)
ATA controller 1 at 170/374/0 (irq 15 dev 9)
ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD
PS2 keyboard initialized
All threads complete.
Scan for option roms
Running option rom at c900:0003
pnp call arg1=60
pmm call arg1=0
pmm call arg1=2
pmm call arg1=0
Running option rom at c980:0003
ebda moved from 9fc00 to 9f400
Returned 53248 bytes of ZoneHigh
e820 map has 7 items:
  0:  - 0009f400 = 1
  1: 0009f400 - 000a = 2
  2: 000f - 0010 = 2
  3: 0010 - 3fffd000 = 1
  4: 3fffd000 - 4000 = 2
  5: feffc000 - ff00 = 2
  6: fffc - 0001 = 2
enter handle_19:
  NULL
Booting from Hard Disk...
Boot failed: could not read the boot disk

enter handle_18:
  NULL
Booting from Floppy...
Boot failed: could not read the boot disk

enter handle_18:
  NULL
Booting from DVD/CD...
85MB medium detected
Booting from :7c00
^Cmdb: stop on SIGINT
mdb: target stopped at:
libc.so.1`__pollsys+0xa:jb -0xb1020 
mdb: You've got symbols!
Loading modules: [ ld.so.1 libc.so.1 ]

::stack

libc.so.1`__pollsys+0xa()
libc.so.1`pselect+0x26b(10, fd7fffdf9180, fd7fffdf7180,
fd7fffdf5180, fd7fffdf5120, 0)
libc.so.1`select+0x5a(10, fd7fffdf9180, fd7fffdf7180, fd7fffdf5180,
fd7fffdfb180)
main_loop_wait+0x17c(0)
kvm_main_loop+0xc7()
main+0xefc(5, fd7fffdfb4f8, fd7fffdfb528)
_start_crt+0x83()
_start+0x18()

::stacks

THREAD   STATESOBJCOUNT
2UNPARKED   2
 libc.so.1`sigwaitinfo+0x17
 sigwait_compat+0x63
 libc.so.1`_thrp_setup+0x8a
 libc.so.1`_lwp_start

3UNPARKED   1
 ap_main_loop+0x26f
 libc.so.1`_thrp_setup+0x8a
 libc.so.1`_lwp_start

1UNPARKED   1
 libc.so.1`pselect+0x26b
 libc.so.1`select+0x5a
 main_loop_wait+0x17c
 kvm_main_loop+0xc7
 main+0xefc
 _start_crt+0x83
 _start+0x18

5PARKED   CV  1
 libc.so.1`cond_wait_queue+0x5b
 libc.so.1`cond_wait_common+0x1d1
 libc.so.1`__cond_timedwait+0x6d
 libc.so.1`cond_timedwait+0x36
 libc.so.1`pthread_cond_timedwait+0x19
 aio_thread+0x85
 libc.so.1`_thrp_setup+0x8a
 libc.so.1`_lwp_start


::status

debugging PID 2905 (64-bit)
file: /usr/bin/amd64/qemu-kvm-system-x86_64
threading model: native threads
status: stopped on SIGINT (Interrupt), sleeping in pollsys system call
event: stop on SIGINT








--
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology   http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026

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


Re: [OpenIndiana-discuss] Hipster today - qemu-kvm partly working

2018-09-12 Thread Udo Grabowski (IMK)

On 12/09/2018 13:52, Udo Grabowski (IMK) wrote:

Tried update from today and checked qemu-kvm with different ISOs
and -no-* options. Doesn't crash immediately, but hangs at
'booting ...', not showing the graphics window.


Here's a stack, it consistently hangs polling something:

ro sunth7 ~ # mdb `which qemu-kvm`
> ::run  -m 1g -cdrom /tftpboot/firefly_0114.iso

VNC server running on `127.0.0.1:5900'
Start bios (version 0.6.1.2-20110201_165504-titi)
Ram Size=0x4000 (0x high)
CPU Mhz=2601
PCI: pci_bios_init_bus_rec bus = 0x0
PIIX3/PIIX4 init: elcr=00 0c
PCI: bus=0 devfn=0x00: vendor_id=0x8086 device_id=0x1237
PCI: bus=0 devfn=0x08: vendor_id=0x8086 device_id=0x7000
PCI: bus=0 devfn=0x09: vendor_id=0x8086 device_id=0x7010
region 4: 0xc000
PCI: bus=0 devfn=0x0b: vendor_id=0x8086 device_id=0x7113
PCI: bus=0 devfn=0x10: vendor_id=0x1013 device_id=0x00b8
region 0: 0xf000
region 1: 0xf200
region 6: 0xf201
PCI: bus=0 devfn=0x18: vendor_id=0x10ec device_id=0x8139
region 0: 0xc100
region 1: 0xf202
region 6: 0xf203
Found 1 cpu(s) max supported 1 cpu(s)
MP table addr=0x000fdc00 MPC table addr=0x000fdc10 size=224
SMBIOS ptr=0x000fdbe0 table=0x3ef0
ACPI tables: RSDP=0x000fdbb0 RSDT=0x3fffdc40
Scan for VGA option rom
Running option rom at c000:0003
VGABios $Id$
Turning on vga text mode console
SeaBIOS (version 0.6.1.2-20110201_165504-titi)

Found 1 lpt ports
Found 1 serial ports
ATA controller 0 at 1f0/3f4/0 (irq 14 dev 9)
ATA controller 1 at 170/374/0 (irq 15 dev 9)
ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD
PS2 keyboard initialized
All threads complete.
Scan for option roms
Running option rom at c900:0003
pnp call arg1=60
pmm call arg1=0
pmm call arg1=2
pmm call arg1=0
Running option rom at c980:0003
ebda moved from 9fc00 to 9f400
Returned 53248 bytes of ZoneHigh
e820 map has 7 items:
  0:  - 0009f400 = 1
  1: 0009f400 - 000a = 2
  2: 000f - 0010 = 2
  3: 0010 - 3fffd000 = 1
  4: 3fffd000 - 4000 = 2
  5: feffc000 - ff00 = 2
  6: fffc - 0001 = 2
enter handle_19:
  NULL
Booting from Hard Disk...
Boot failed: could not read the boot disk

enter handle_18:
  NULL
Booting from Floppy...
Boot failed: could not read the boot disk

enter handle_18:
  NULL
Booting from DVD/CD...
85MB medium detected
Booting from :7c00
^Cmdb: stop on SIGINT
mdb: target stopped at:
libc.so.1`__pollsys+0xa:jb -0xb1020 
mdb: You've got symbols!
Loading modules: [ ld.so.1 libc.so.1 ]
> ::stack
libc.so.1`__pollsys+0xa()
libc.so.1`pselect+0x26b(10, fd7fffdf9180, fd7fffdf7180, 
fd7fffdf5180, fd7fffdf5120, 0)
libc.so.1`select+0x5a(10, fd7fffdf9180, fd7fffdf7180, fd7fffdf5180, 
fd7fffdfb180)

main_loop_wait+0x17c(0)
kvm_main_loop+0xc7()
main+0xefc(5, fd7fffdfb4f8, fd7fffdfb528)
_start_crt+0x83()
_start+0x18()
> ::stacks
THREAD   STATESOBJCOUNT
2UNPARKED   2
 libc.so.1`sigwaitinfo+0x17
 sigwait_compat+0x63
 libc.so.1`_thrp_setup+0x8a
 libc.so.1`_lwp_start

3UNPARKED   1
 ap_main_loop+0x26f
 libc.so.1`_thrp_setup+0x8a
 libc.so.1`_lwp_start

1UNPARKED   1
 libc.so.1`pselect+0x26b
 libc.so.1`select+0x5a
 main_loop_wait+0x17c
 kvm_main_loop+0xc7
 main+0xefc
 _start_crt+0x83
 _start+0x18

5PARKED   CV  1
 libc.so.1`cond_wait_queue+0x5b
 libc.so.1`cond_wait_common+0x1d1
 libc.so.1`__cond_timedwait+0x6d
 libc.so.1`cond_timedwait+0x36
 libc.so.1`pthread_cond_timedwait+0x19
 aio_thread+0x85
 libc.so.1`_thrp_setup+0x8a
 libc.so.1`_lwp_start

> ::status
debugging PID 2905 (64-bit)
file: /usr/bin/amd64/qemu-kvm-system-x86_64
threading model: native threads
status: stopped on SIGINT (Interrupt), sleeping in pollsys system call
event: stop on SIGINT
>


--
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology   http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026

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


Re: [OpenIndiana-discuss] Upgdared OI today - pkg not working

2018-09-12 Thread Predrag Zečević - Technical Support Analyst


On 09/12/18 11:45, Alexander Pyhalov via openindiana-discuss wrote:

Hi.

It seems you have local version of cryptography installed (likely via pip). Try 
uninstalling it. IPS should use library/python/cryptography-27@2.1.4 .

С уважением,
Александр Пыхалов,
программист отдела телекоммуникационной инфраструктуры
управления информационно-коммуникационной инфраструктуры ЮФУ



So, I have tried (in old BE, so I need another new BE):

$ pip uninstall cryptography
Uninstalling cryptography-1.5.2:
  /usr/lib/python2.7/site-packages/cryptography-1.5.2-py2.7.egg-info
...
Proceed (y/n)? y
  Successfully uninstalled cryptography-1.5.2

You are using pip version 9.0.1, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

$ pfexec pkg fix library/python/cryptography-27
Traceback (most recent call last):
  File "/usr/bin/pkg", line 67, in 
import pkg.actions as actions
  File "/usr/lib/python2.7/vendor-packages/pkg/actions/__init__.py", 
line 68, in 

globals(), locals(), [modname])
  File "/usr/lib/python2.7/vendor-packages/pkg/actions/signature.py", 
line 32, in 

from cryptography.exceptions import InvalidSignature
ImportError: No module named cryptography.exceptions

I have installed it again, since pkg utility fails:
$ pfexec pip install cryptography
Collecting cryptography
  Downloading 
https://files.pythonhosted.org/packages/22/21/233e38f74188db94e8451ef6385754a98f3cad9b59bedf3a8e8b14988be4/cryptography-2.3.1.tar.gz 
(449kB)

100% || 450kB 2.0MB/s
Requirement already satisfied: idna>=2.1 in 
/usr/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: asn1crypto>=0.21.0 in 
/usr/lib/python2.7/vendor-packages (from cryptography)
Requirement already satisfied: six>=1.4.1 in 
/usr/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: cffi!=1.11.3,>=1.7 in 
/usr/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: enum34 in 
/usr/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: ipaddress in 
/usr/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: pycparser in 
/usr/lib/python2.7/vendor-packages (from cffi!=1.11.3,>=1.7->cryptography)

Installing collected packages: cryptography
  Running setup.py install for cryptography ... done
Successfully installed cryptography-2.3.1
You are using pip version 9.0.1, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


And now, this has worked:
$ pfexec pkg fix library/python/cryptography-27

Was that proper procedure?

With best regards
Predrag Zečević



От: Predrag Zečević - Technical Support Analyst 
Отправлено: 12 сентября 2018 г. 12:33:06
Кому: Discussion list for OpenIndiana
Тема: [OpenIndiana-discuss] Upgdared OI today - pkg not working

Hi all,

just wanted to test if kvm works, but (after OI upgrade) to


$ uname -rosv
SunOS 5.11 illumos-2eeda98682 illumos

$ pkg list
Traceback (most recent call last):
File "/usr/bin/pkg", line 69, in 
  import pkg.client.api as api
File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 76,
in 
  import pkg.client.image as image
File "/usr/lib/python2.7/vendor-packages/pkg/client/image.py", line
47, in 
  from cryptography import x509
File
"/usr/lib/python2.7/site-packages/cryptography/x509/__init__.py", line
7, in 
  from cryptography.x509.base import (
File "/usr/lib/python2.7/site-packages/cryptography/x509/base.py",
line 15, in 
  from cryptography.x509.extensions import Extension, ExtensionType
File
"/usr/lib/python2.7/site-packages/cryptography/x509/extensions.py", line
19, in 
  from cryptography.hazmat.primitives import constant_time, serialization
File
"/usr/lib/python2.7/site-packages/cryptography/hazmat/primitives/constant_time.py",
line 9, in 
  from cryptography.hazmat.bindings._constant_time import lib
ImportError: No module named _constant_time

So, I have booted back to working BE.
Did I missed something?

With best regards.
Predrag Zečević
--
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: predrag.zece...@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!

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



--
Predrag Zečevi

[OpenIndiana-discuss] Hipster today - qemu-kvm partly working

2018-09-12 Thread Udo Grabowski (IMK)

Tried update from today and checked qemu-kvm with different ISOs
and -no-* options. Doesn't crash immediately, but hangs at
'booting ...', not showing the graphics window.
--
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology   http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026

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


Re: [OpenIndiana-discuss] Upgdared OI today - pkg not working

2018-09-12 Thread Alexander Pyhalov via openindiana-discuss
Hi.

It seems you have local version of cryptography installed (likely via pip). Try 
uninstalling it. IPS should use library/python/cryptography-27@2.1.4 .

С уважением,
Александр Пыхалов,
программист отдела телекоммуникационной инфраструктуры
управления информационно-коммуникационной инфраструктуры ЮФУ



От: Predrag Zečević - Technical Support Analyst 
Отправлено: 12 сентября 2018 г. 12:33:06
Кому: Discussion list for OpenIndiana
Тема: [OpenIndiana-discuss] Upgdared OI today - pkg not working

Hi all,

just wanted to test if kvm works, but (after OI upgrade) to


$ uname -rosv
SunOS 5.11 illumos-2eeda98682 illumos

$ pkg list
Traceback (most recent call last):
   File "/usr/bin/pkg", line 69, in 
 import pkg.client.api as api
   File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 76,
in 
 import pkg.client.image as image
   File "/usr/lib/python2.7/vendor-packages/pkg/client/image.py", line
47, in 
 from cryptography import x509
   File
"/usr/lib/python2.7/site-packages/cryptography/x509/__init__.py", line
7, in 
 from cryptography.x509.base import (
   File "/usr/lib/python2.7/site-packages/cryptography/x509/base.py",
line 15, in 
 from cryptography.x509.extensions import Extension, ExtensionType
   File
"/usr/lib/python2.7/site-packages/cryptography/x509/extensions.py", line
19, in 
 from cryptography.hazmat.primitives import constant_time, serialization
   File
"/usr/lib/python2.7/site-packages/cryptography/hazmat/primitives/constant_time.py",
line 9, in 
 from cryptography.hazmat.bindings._constant_time import lib
ImportError: No module named _constant_time

So, I have booted back to working BE.
Did I missed something?

With best regards.
Predrag Zečević
--
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: predrag.zece...@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!

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


[OpenIndiana-discuss] Upgdared OI today - pkg not working

2018-09-12 Thread Predrag Zečević - Technical Support Analyst

Hi all,

just wanted to test if kvm works, but (after OI upgrade) to


$ uname -rosv
SunOS 5.11 illumos-2eeda98682 illumos

$ pkg list
Traceback (most recent call last):
  File "/usr/bin/pkg", line 69, in 
import pkg.client.api as api
  File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 76, 
in 

import pkg.client.image as image
  File "/usr/lib/python2.7/vendor-packages/pkg/client/image.py", line 
47, in 

from cryptography import x509
  File 
"/usr/lib/python2.7/site-packages/cryptography/x509/__init__.py", line 
7, in 

from cryptography.x509.base import (
  File "/usr/lib/python2.7/site-packages/cryptography/x509/base.py", 
line 15, in 

from cryptography.x509.extensions import Extension, ExtensionType
  File 
"/usr/lib/python2.7/site-packages/cryptography/x509/extensions.py", line 
19, in 

from cryptography.hazmat.primitives import constant_time, serialization
  File 
"/usr/lib/python2.7/site-packages/cryptography/hazmat/primitives/constant_time.py", 
line 9, in 

from cryptography.hazmat.bindings._constant_time import lib
ImportError: No module named _constant_time

So, I have booted back to working BE.
Did I missed something?

With best regards.
Predrag Zečević
--
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: predrag.zece...@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!

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