Re: [oi-dev] [OpenIndiana-discuss] Heads-up: Python 3.7 reached EOL, please uninstall it

2024-01-29 Thread Marcel Telka
On Mon, Jan 29, 2024 at 06:53:39PM +, Apostolos Syropoulos via 
openindiana-discuss wrote:
> I have entered the command mentioned in your message and here is what I get:
> # pkg uninstall -v runtime/python-37   'library/python/*-37' 
> web/server/apache-24/module/apache-wsgi-37
> 
> pkg uninstall: 'web/server/apache-24/module/apache-wsgi-37' matches no 
> installed packages
> # pkg uninstall -v runtime/python-37   'library/python/*-37'
> Creating Plan (Solver setup): \
> pkg uninstall: Unable to remove 'runtime/python-37@3.7.16-2023.0.0.2' due to 
> the following packages that depend on it:
>   developer/dtrace/toolkit@0.99-2022.0.0.6

Your system is apparently not up-to-date.  There is already
developer/dtrace/toolkit@0.99-2023.0.0.7 that does not depend on
runtime/python-37.  So to solve, just update.

-- 
+---+
| Marcel Telka   e-mail:   mar...@telka.sk  |
|homepage: http://telka.sk/ |
+---+

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


[oi-dev] Heads-up: Python 3.7 reached EOL, please uninstall it

2024-01-29 Thread Marcel Telka
Hi,

Python 3.7 reached end of life[1] in June 2023 (7 months ago).

Currently there is no OpenIndiana package that depends on Python 3.7,
except some Python modules that are otherwise unused.  They are still
sitting in the IPS package repository waiting for their obsoletion.  We
are slowly obsoleting them but since there are hundreds of such packages
the process is slow.

The slowness of the process does have some negative side effects for end
users so here is the heads up and a suggestion how to solve such issues.

The issue you could encounter is a failure when you try to install or
upgrade some packages, for example:

# pkg install library/python/rbtools
Creating Plan (Running solver): -
pkg install: No matching version of library/python/rbtools can be installed:
  Reject:  
pkg://openindiana.org/library/python/rbtools@4.1-2023.0.0.0:20230525T122724Z
  Reason:  No version matching 'conditional' dependency 
library/python/rbtools-37@4.1-2023.0.0.0 can be installed

Reject:  
pkg://openindiana.org/library/python/rbtools-37@4.1-2023.0.0.0:20230525T122701Z
Reason:  All acceptable versions of 'require' dependency on 
library/python/certifi-37 are obsolete

#

Please note that not only library/python/* packages are affected.
Basically any package that depends on any Python-related package could
be affected similarly.

When you see similar failure stating that some package ending with '-37'
cannot be installed, then you are affected by this.

How to solve the issue?

The solution is easy:  Uninstall all Python 3.7 related packages from your
system using command like:

# pkg uninstall -v runtime/python-37 \
'library/python/*-37' \
web/server/apache-24/module/apache-wsgi-37

The removal of Python 3.7 packages is recommended even if you currently do not
see any issue related to Python 3.7.

Please ask if you are experiencing any unforeseen issue related to this.


Thank you.


[1] see https://devguide.python.org/versions/#versions

-- 
+---+
| Marcel Telka   e-mail:   mar...@telka.sk  |
|homepage: http://telka.sk/ |
+---+

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


Re: [oi-dev] heads up: zones not available after pkg update in global zone

2024-01-29 Thread Stephan Althaus

On 1/27/24 10:05, Stephan Althaus wrote:

On 1/26/24 23:14, Bill Sommerfeld via oi-dev wrote:

On 1/26/24 13:26, Stephan Althaus wrote:

On 1/26/24 18:42, Bill Sommerfeld via oi-dev wrote:

On 1/26/24 01:17, Stephan Althaus wrote:

Maybe its only here and a local problem, but who knows ...


I did a pkg update this morning, and the zones are not available.

# zoneadm list -cv
   ID NAME STATUS PATH BRAND    IP
    0 global   running    / ipkg shared
    1 mail running    /zones/mail nlipkg excl
    2 www  running    /zones/www nlipkg   excl

The zones are booted, but zlogin is not possible, nor are the 
zones reachable via ssh.


Looks like execing the shell failed.

Upstream illumos-gate just made an incompatible change to the 
private interface between libc and the kernel used by the exec*() 
family of functions.


commit 2b395c3c2a39cdc00f9fe7ac497795bd112f7663
Author: Andy Fiddaman 
Date:   Sat Jan 20 10:47:38 2024 +

    5798 fexecve() needed per POSIX 2008
    Portions contributed by: Garrett D'Amore 
    Reviewed by: Dan Cross 
    Reviewed by: Bill Sommerfeld 
    Approved by: Gordon Ross 

Changes to the libc-kernel interface are relatively uncommon but 
should be expected to happen every so often.


I see that you're using nlipkg zones, which aren't kept in sync 
with the global zone.   Did you update the zones as well?   If not, 
I'd expect most exec*() calls to fail with an EINVAL unless the new 
fourth argument to the underlying syscall is zero by chance.


Update the zones along with the global zone and they should start 
working again.  Just updating all the variants of libc.so.1 to 
match the global zone should be enough to get you up & limping again.


    - Bill





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


Hello!


Thanks for the explanation.

The zone that did not work was updated a day before the global zone, 
BE is "openindiana-2024:01:24" within the zone,

so the exec* stuff should be in..
But wait the merge was at timestamp  2024-01-23T19:29:54.000Z so 
maybe not..


Current BE of the global zone is "openindiana-2024:01:02" so the 
commit is not in..


I will try to update the ng-zones first and after that the global zone,
or maybe better change the zones to ipkg first,
or just update the zones now and reboot the global zone to the 
(currently unused) existing BE  "openindiana-2024:01:26" for which 
the problem exists..


what would be helpful for confirming what happened would be the 
illumos-gate.info.git-rev property from the /system/library package 
in each BE of the global zone and the impacted zone.


Try running:

$ pkg contents -H -o value -a name=illumos-gate.info.git-rev 
/system/library


for the global zone, and

$ pkg -R  contents -H -o value -a 
name=illumos-gate.info.git-rev /system/library


for each relevant alternate BE and zone root.

    - Bill



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


Hello!

This is the running combination:

Global zone:

$ pkg contents -H -o value -a name=illumos-gate.info.git-rev 
/system/library

8361acf58a302751348aac091ab09484f3ecfb8c

ng zone

# pkg contents -H -o value -a name=illumos-gate.info.git-rev 
/system/library

32c2a899b6e4eab014fd5243af6c011a84dc103f


When i activate the newer BE on the global zone,
where i cant't zlogin to the ng zone, we have this value:

$ pkg contents -H -o value -a name=illumos-gate.info.git-rev 
/system/library

d5a816590ba1bb4affbf62f0113d75baf7f83177


Regards,
Stephan



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


Hello!

Sorry for the late reply, covid is greeting:-/


To sum up it is mandatory to have the same git-rva within the ng zones 
and the global zones.


pkg update-r  does not work with my ng zones of branch nlipkg, but we 
always can do a pkg update within in each ng zone - "pkg update && init 
5" maybe, and afterwards within the global zone "pkg update && init 6"


This was the 'solution' for my system.


Thanks for all your help!!


Regards,

Stephan



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