Re: [OpenIndiana-discuss] firefox crashes

2024-02-05 Thread Predrag Zecevic via openindiana-discuss

On 2024-02-05 10:02:39, Stephan Althaus wrote:

Hello!

since a few days, firefox dumps core from time to time. i think i can 
reproduce it easily.


Anyone else seeing this, or is this a local problem ?

I updated last time on 02.02.2024:
The illumos Project illumos-b91bbe3818  February 2024


core 'core' of 4945:    /usr/bin/firefox
-- thread# 1 / lwp# 1 [MainThread] ---
 7fff852cace2 _ZN2JS18HideScriptedCallerEP9JSContext ()
 7fff821ef472 
_ZN7mozilla3dom27CustomElementReactionsStack15InvokeReactionsEP10AutoTArrayI6RefPtrINS0_7ElementEELm3EEP15nsIGlobalObject 
() + 5c
 7fff821ef8c7 
_ZN7mozilla3dom27CustomElementReactionsStack24PopAndInvokeElementQueueEv 
() + af

 7fff81ca7abd _ZN7mozilla3dom14AutoCEReactionD1Ev () + 59
 7fff82ab2146 
_ZN7mozilla3dom15Element_BindingL12setAttributeEP9JSContextN2JS6HandleIP8JSObjectEEPvRK19JSJitMethodCallArgs 
() + 1ef
 7fff82c06a7a 
_ZN7mozilla3dom14binding_detail13GenericMethodINS1_16NormalThisPolicyENS1_15ThrowExceptionsEEEbP9JSContextjPN2JS5ValueE 
() + 1ea

 2d26f1ea4d1e  ()
 2d26f1e59876  ()
 2d26f1e8b84e  ()
 2d26f1e59876  ()
 2d26f1e504e6  ()
 7fff856b7f51 _ZL8EnterJitP9JSContextRN2js8RunStateEPh () + 13e
 7fff856b83a8 _ZN2js3jit13MaybeEnterJitEP9JSContextRNS_8RunStateE 
() + 6a

 7fff858b7550 _ZN2js9RunScriptEP9JSContextRNS_8RunStateE () + b5
 7fff858b7926 
_ZN2js23InternalCallOrConstructEP9JSContextRKN2JS8CallArgsENS_14MaybeConstructENS_10CallReasonE 
() + 1a4
 7fff858b81f4 
_ZN2js4CallEP9JSContextN2JS6HandleINS2_5ValueEEES5_RKNS_13AnyInvokeArgsENS2_13MutableHandleIS4_EENS_10CallReasonE 
() + bf

 7fff8513abf7 _ZN2js9fun_applyEP9JSContextjPN2JS5ValueE () + 337
 2d26f1e561c6  ()
 2d26f1fdf109  ()
 2d26f1ec7d97  ()
 2d26f2022db7  ()
 2d26f1e504e6  ()
 7fff856b7f51 _ZL8EnterJitP9JSContextRN2js8RunStateEPh () + 13e
 7fff856b83a8 _ZN2js3jit13MaybeEnterJitEP9JSContextRNS_8RunStateE 
() + 6a




Regards,

Stephan



Hi Stephan,

I had swap dataset set to 32GB and got recent FF (and librewolf too) 
crashed few times, until I have increased it:

:; pfexec zfs -o set volsize=48G rpool/swap

Since then, all works fine.

I am not sure if that has helped at all (and I have pulled out new size 
from ...), but if I recall properly, we had to increase swap for FF in 
order to get it working long time ago..


Regards


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


--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


[OpenIndiana-discuss] Question regarding: Obsolete perl/DBD-mysql

2024-01-15 Thread Predrag Zecevic via openindiana-discuss

Hi Marcel, all

why is this package (library/perl-5/dbd-mysql) obsoleted?
https://github.com/OpenIndiana/oi-userland/pull/14655

There is no 
explanation in description, so just wonder...


Best regards

--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


Re: [OpenIndiana-discuss] Screen locking with XScreenSaver disabled

2024-01-15 Thread Predrag Zecevic via openindiana-discuss

Hi all,

this is on my OI installation:

:; pkg list *screen*
NAME (PUBLISHER) VERSION    IFO
desktop/mate/mate-screensaver 1.26.2-2023.0.0.0  i--
desktop/mate/mate-screenshot 1.26.1-2023.0.0.0  i--
desktop/xscreensaver 6.8-2023.0.0.0 i--
desktop/xscreensaver/hacks 6.8-2023.0.0.0 i--
desktop/xscreensaver/hacks/hacks-gl 6.8-2023.0.0.0 i--
terminal/screen 4.9.1-2023.0.0.2   i--

I am *using* mate-screensaver because I want my screen locked.

If I recall properly, preferred applications in mate settings is used to 
define which screen saver is to be used/started.


You 1st image shows xScreenSaver and 2nd one is disabled 
mate-screensaver (not ATM at GUI screen, so I cannot confirm for sure)


HTH
Regards.

On 2024-01-15 00:17:53, hput wrote:

Till Wegmueller  writes:


Hi

Check all other system settings if you have another Screensaver. Mate
has it's own AFAIK.

The thing is, as you see in the small image of what I see on screen:


It is the very Xscreensaver installed in my OS:
  pkg list |grep xscreen
  desktop/xscreensaver6.8-2023.0.0.0i--

And is disabled in gui:




On 13.01.2024 20:10, hput wrote:

First please excuse such basic question.
I have the installed Xscreensaver disabled at the Xscreensaver gui.
But still when I leave the screen for a while Xscreensaver locks
the screen requiring a passwd to get the screen back.
How to completely disable any locking of screen?

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


--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-18 Thread Predrag Zecevic via openindiana-discuss

On 2023-12-15 11:40:21, Predrag Zečević wrote:




Strange is this:

:; pkg list | grep golang
developer/golang 1.21.1-2023.0.0.0     i--
developer/golang-121 1.21.5-2023.0.0.0     i--

But:
:; ls -dlh /var/pkg/publisher/openindiana.org/pkg/developer%2Fgolang*
drwxr-xr-x 2 root root 9 Dec 13 19:36 
/var/pkg/publisher/openindiana.org/pkg/developer%2Fgolang
drwxr-xr-x 2 root root 4 Aug 23  2021 
/var/pkg/publisher/openindiana.org/pkg/developer%2Fgolang-115
drwxr-xr-x 2 root root 4 Aug 25  2021 
/var/pkg/publisher/openindiana.org/pkg/developer%2Fgolang-116
drwxr-xr-x 2 root root 3 Jun 19 15:21 
/var/pkg/publisher/openindiana.org/pkg/developer%2Fgolang-119
drwxr-xr-x 2 root root 4 Oct  4 11:24 
/var/pkg/publisher/openindiana.org/pkg/developer%2Fgolang-120
drwxr-xr-x 2 root root 5 Dec 14 12:47 
/var/pkg/publisher/openindiana.org/pkg/developer%2Fgolang-121


So, no directory was removed when package is removed! That explains 
15 GB in /var/pkg/publisher/ directory.


If no one else have this problem, then it is not bug, but something else
Regards


Yes, this is me (somehow):

I was executing "pfexec pkg update -vn" every morning to get latest 
packages available (output was send to file, parsed for interesting 
packages, and sent to me per e-mail).


Seems that command downloads packages?
To prove, I did test:

:; cd /var/pkg/publisher/openindiana.org/pkg
:; find . -type f | sort > /tmp/pkg-1.txt
:; pfexec pkg update -vn  # executed at 2023-12-15 10:32:47 CET
:; find . -type f | sort > /tmp/pkg-2.txt
:; diff /tmp/pkg-2.txt /tmp/pkg-1.txt | wc -l
770

So, I got 770 new entries under /var/pkg/publisher/openindiana.org/pkg 
!!!


Example:
:; ls -hld ./system%2Fsecurity%2Fkerberos-5/* | wc -l
891

:; ls -hld ./system%2Fsecurity%2Fkerberos-5/* | tail -5
-rw-r--r-- 1 root root 46K Dec 11 05:00 
./system%2Fsecurity%2Fkerberos-5/0.5.11%2C5.11-2023.0.0.21923%3A20231211T012803Z
-rw-r--r-- 1 root root 46K Dec 12 05:00 
./system%2Fsecurity%2Fkerberos-5/0.5.11%2C5.11-2023.0.0.21925%3A20231212T013240Z
-rw-r--r-- 1 root root 46K Dec 13 19:35 
./system%2Fsecurity%2Fkerberos-5/0.5.11%2C5.11-2023.0.0.21925%3A20231213T011458Z
-rw-r--r-- 1 root root 46K Dec 14 05:00 
./system%2Fsecurity%2Fkerberos-5/0.5.11%2C5.11-2023.0.0.21926%3A20231214T011328Z
-rw-r--r-- 1 root root 46K Dec 15 10:33 
./system%2Fsecurity%2Fkerberos-5/0.5.11%2C5.11-2023.0.0.21928%3A20231215T071813Z


:; du -sh ./system%2Fsecurity%2Fkerberos-5/
41M ./system%2Fsecurity%2Fkerberos-5/

And so on...

Am I right when assuming that 'pkg update -vn' should NOT _download_ 
packages?


From 'man pkg':
--
   -n

   Perform a trial run of the operation with no package 
changes made.

--

If answer is yes, then I will open ticket...

Also I assume that I am allowed to remove any package manifest file 
under /var/pkg/publisher/openindiana.org/pkg what is not installed?


Regards.

P.S: IMHO, seems *pkg* keeps installed package "registry" in this 
structure, under /var/pkg/publisher/openindiana.org:


:; ls -hl catalog/
total 2,0K
lrwxrwxrwx 1 root root 65 Dec 15 10:33 catalog.attrs -> 
../origins/12dad71d06df371e72f75c488f47c75a13e340d1/catalog.attrs
lrwxrwxrwx 1 root root 66 Dec 15 10:33 catalog.base.C -> 
../origins/12dad71d06df371e72f75c488f47c75a13e340d1/catalog.base.C
lrwxrwxrwx 1 root root 72 Dec 15 10:33 catalog.dependency.C -> 
../origins/12dad71d06df371e72f75c488f47c75a13e340d1/catalog.dependency.C
lrwxrwxrwx 1 root root 69 Dec 15 10:33 catalog.summary.C -> 
../origins/12dad71d06df371e72f75c488f47c75a13e340d1/catalog.summary.C


:; ls -hl origins/12dad71d06df371e72f75c488f47c75a13e340d1/
total 346M
-rw-r--r-- 1 root root  40K Dec 15 09:16 catalog.attrs
-rw-r--r-- 1 root root 7,5M Dec 15 08:29 catalog.base.C
-rw-r--r-- 1 root root 310M Dec 15 08:29 catalog.dependency.C
-rw-r--r-- 1 root root  29M Dec 15 08:29 catalog.summary.C



So, let me update here,

I have found hundred of thousands of "orphaned" manifest files (see 
message above for examples, e.g. kerberos-5 package example).
Those files have occupied 15 GB of disk space (also in each BE created 
during pkg update).


Space was eaten by 'pkg update -nv' command (package not installed but 
manifest is downloaded and kept) which I was running last couple years, 
once/day.


This is script (if someone else needs it), which might run for long time 
(like it was on my installation: more than 48 hours) and at the end it 
compiles list of commands to remove orphaned manifest files:

---8<-
#!/bin/bash

# Clean-up /var/pkg/publisher/openindiana.org/pkg directory

TODAY=$(date '+%Y%m%dT%H%M%S')
PKGMFF="/var/tmp/PKGs.${TODAY}-manifests.txt"
PKGINP="/var/tmp/PKGs.${TODAY}-installed.txt"
PKGMRM="/var/tmp/PKGs.${TODAY}-manifests-to-remove.sh"

echo "Collecting manifest data from 
/var/pkg/publisher/openindiana.org/pkg/ ..."

(
  cd /var/pkg/publisher/openindiana.org/pkg/
  find . -type f | cut -d "/" -f 2- | sort > ${PKGMFF}
)

echo "Collecting installed packages ..."
(
  pkg i

Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-13 Thread Predrag Zecevic via openindiana-discuss

On 2023-12-13 16:33:28, Marcel Telka wrote:

On Wed, Dec 13, 2023 at 04:30:27PM +0100, Predrag Zecevic wrote:

13G /var/pkg/cache/publisher

What is there?  Does it match `pkg publisher` output?



Yes, it matches:
:; pkg publisher
PUBLISHER   TYPE STATUS P LOCATION
openindiana.org (non-sticky) origin   online F 
https://pkg.openindiana.org/hipster/
hipster-encumbered  origin   online F 
https://pkg.openindiana.org/hipster-encumbered/


:; ls -dlh /var/pkg/publisher/*
drwxr-xr-x 7 root root 8 Dec 13 15:00 /var/pkg/publisher/hipster-encumbered
drwxr-xr-x 7 root root 8 Dec 13 15:00 /var/pkg/publisher/openindiana.org
drwxr-xr-x 3 root root 3 May 19  2021 /var/pkg/publisher/userland

:; pfexec du -sh /var/pkg/publisher/*
21M /var/pkg/publisher/hipster-encumbered
15G /var/pkg/publisher/openindiana.org
1,0K    /var/pkg/publisher/userland

:; pfexec du -sh /var/pkg/publisher/openindiana.org/*
3,5K    /var/pkg/publisher/openindiana.org/catalog
1,5K    /var/pkg/publisher/openindiana.org/certs
749M    /var/pkg/publisher/openindiana.org/file
1,0K    /var/pkg/publisher/openindiana.org/last_refreshed
340M    /var/pkg/publisher/openindiana.org/origins
14G /var/pkg/publisher/openindiana.org/pkg

Regards

--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-13 Thread Predrag Zecevic via openindiana-discuss

On 2023-12-13 15:50:12, Marcel Telka wrote:

On 13. Dec 2023, at 15:13, Predrag Zecevic 
 wrote:
:; du -sh /var/pkg/cache/
13G /var/pkg/cache/

How big is /var/pkg/cache/tmp ?


:; du -sh /var/pkg/cache/*
38M /var/pkg/cache/actions.offsets
110M    /var/pkg/cache/actions.stripped
429M    /var/pkg/cache/index
1,0K    /var/pkg/cache/keys.conflicting
13G /var/pkg/cache/publisher
304M    /var/pkg/cache/tmp

Regards

--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-13 Thread Predrag Zecevic via openindiana-discuss


On 2023-12-13 15:34:38, Toomas Soome wrote:



On 13. Dec 2023, at 15:13, Predrag Zecevic 
 wrote:

On 2023-12-13 13:35:03, Toomas Soome wrote:



On 13. Dec 2023, at 14:30, Predrag Zecevic via openindiana-discuss 
 wrote:

Hi all,

I have searched for solution first, and could not find it...

My /var/pkg is huge:

:; pfexec du -shc /var/pkg/*
13G /var/pkg/cache
512 /var/pkg/gui_cache
5,0K/var/pkg/history
61M /var/pkg/license
512 /var/pkg/linked
512 /var/pkg/lock
512 /var/pkg/modified
5,5K/var/pkg/pkg5.image
14G /var/pkg/publisher
512 /var/pkg/ssl
346M/var/pkg/state
28G total

I wonder if /var/pkg/cache can be "emptied"?

With best regards.

--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


make sure flush-content-cache-on-successis True in pkg property output, then 
install one package (and uninstall it if not really needed;), then the cache 
should get flushed for you.

rgds,
toomas

Hi Toomas,

I have that property set since long time ago:

:; pkg property flush-content-cache-on-success
PROPERTY   VALUE
flush-content-cache-on-success True

ATM:
:; du -sh /var/pkg/cache/
13G /var/pkg/cache/

:; pkg list mail/opendkim

pkg list: no packages matching the following patterns are installed:
   mail/opendkim

:; pfexec pkg install mail/opendkim
Packages to install:  2
 Services to change:  2
Create boot environment: No
Create backup boot environment: No

DOWNLOADPKGS FILESXFER (MB)   SPEED
Completed2/2   221/221 1.1/1.1 52.1k/s

PHASE  ITEMS
Installing new actions   297/297
Updating package state database Done
Updating package cache   0/0
Updating image stateDone
Creating fast lookup database   Done
Reading search indexDone
Updating search index2/2
Updating package cache   2/2

:; pfexec pkg uninstall mail/opendkim
 Packages to remove:  1
 Services to change:  2
Create boot environment: No
Create backup boot environment: No

PHASE  ITEMS
Removing old actions 249/249
Updating package state database Done
Updating package cache   1/1
Updating image stateDone
Creating fast lookup database   Done
Reading search indexDone
Updating search index1/1
Updating package cache   2/2

# Installed 2 packages, but removed only one -- but that is another story...

:; du -sh /var/pkg/cache/
13G /var/pkg/cache/

So, nothing has happen

Regards.

--
Predrag Zečević
predrag.zecevic.1...@googlemail.com



hm, that is interesting. How old is this BE?

rgds,
toomas



Hi Toomas,

it is very old - maybe whole 7-8 years (BE is updated on, approx, 
monthly basis):


Regards.

--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


Re: [OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-13 Thread Predrag Zecevic via openindiana-discuss

On 2023-12-13 13:35:03, Toomas Soome wrote:



On 13. Dec 2023, at 14:30, Predrag Zecevic via openindiana-discuss 
 wrote:


Hi all,

I have searched for solution first, and could not find it...

My /var/pkg is huge:

:; pfexec du -shc /var/pkg/*
13G /var/pkg/cache
512 /var/pkg/gui_cache
5,0K    /var/pkg/history
61M /var/pkg/license
512 /var/pkg/linked
512 /var/pkg/lock
512 /var/pkg/modified
5,5K    /var/pkg/pkg5.image
14G /var/pkg/publisher
512 /var/pkg/ssl
346M    /var/pkg/state
28G total

I wonder if /var/pkg/cache can be "emptied"?

With best regards.

--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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



make sure flush-content-cache-on-successis True in pkg property 
output, then install one package (and uninstall it if not really 
needed;), then the cache should get flushed for you.


rgds,
toomas


Hi Toomas,

I have that property set since long time ago:

:; pkg property flush-content-cache-on-success
PROPERTY   VALUE
flush-content-cache-on-success True

ATM:
:; du -sh /var/pkg/cache/
13G /var/pkg/cache/

:; pkg list mail/opendkim

pkg list: no packages matching the following patterns are installed:
  mail/opendkim

:; pfexec pkg install mail/opendkim
   Packages to install:  2
    Services to change:  2
   Create boot environment: No
Create backup boot environment: No

DOWNLOAD    PKGS FILES    XFER 
(MB)   SPEED

Completed    2/2   221/221 1.1/1.1 52.1k/s

PHASE  ITEMS
Installing new actions   297/297
Updating package state database Done
Updating package cache   0/0
Updating image state    Done
Creating fast lookup database   Done
Reading search index    Done
Updating search index    2/2
Updating package cache   2/2

:; pfexec pkg uninstall mail/opendkim
    Packages to remove:  1
    Services to change:  2
   Create boot environment: No
Create backup boot environment: No

PHASE  ITEMS
Removing old actions 249/249
Updating package state database Done
Updating package cache   1/1
Updating image state    Done
Creating fast lookup database   Done
Reading search index    Done
Updating search index    1/1
Updating package cache   2/2

# Installed 2 packages, but removed only one -- but that is another story...

:; du -sh /var/pkg/cache/
13G /var/pkg/cache/

So, nothing has happen

Regards.

--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


[OpenIndiana-discuss] Is it safe to remove /var/pkg/cache directory?

2023-12-13 Thread Predrag Zecevic via openindiana-discuss

Hi all,

I have searched for solution first, and could not find it...

My /var/pkg is huge:

:; pfexec du -shc /var/pkg/*
13G /var/pkg/cache
512 /var/pkg/gui_cache
5,0K    /var/pkg/history
61M /var/pkg/license
512 /var/pkg/linked
512 /var/pkg/lock
512 /var/pkg/modified
5,5K    /var/pkg/pkg5.image
14G /var/pkg/publisher
512 /var/pkg/ssl
346M    /var/pkg/state
28G total

I wonder if /var/pkg/cache can be "emptied"?

With best regards.

--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


Re: [OpenIndiana-discuss] pkg folder size escalated

2023-05-19 Thread Predrag Zecevic via openindiana-discuss

On 18.05.2023 07:22, Goetz T. Fischer wrote:

hello everyone,

after a fresh indiana installation and removing a couple of packages my 
/var/pkg folder is more than
700mb! doing comparable things with solaris 11.4 leaves me with a /var/pkg size 
of less than 200.
how can i clean that up safely and how can i keep it from escalating again in 
the future?

thanks in advance for any help


--
R-A-C
Götz T. Fischer CertIT&Comp
+49(0)7225/98 98 79
g.fisc...@r-a-c.de
r-a-c.de


Hi all,

if I recall properly, it is all about pkg.openindiana.org (e.g. server 
side).


It has to be "squashed" somehow (Alexander Pyhalov did it long time 
ago), I guess on preparing new release.


Best regards

P.S: On my OI, initially installed few years ago and constantly updated:

:; pfexec du -shc /var/pkg/*
11G /var/pkg/cache
512 /var/pkg/gui_cache
1,5K    /var/pkg/history
56M /var/pkg/license
512 /var/pkg/linked
512 /var/pkg/lock
512 /var/pkg/lost+found
512 /var/pkg/modified
5,5K    /var/pkg/pkg5.image
12G /var/pkg/publisher
512 /var/pkg/ssl
267M    /var/pkg/state
22G total


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


--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


[OpenIndiana-discuss] pkg update fails

2023-05-15 Thread Predrag Zecevic via openindiana-discuss

Hi all,

I have tried to update OI this morning, and got this:

pkg update: Illegal FMRI 
'dat`base/mariadb-106/client@10.6.12-2023.0.0.2': Invalid Package Name: 
dat`base/mariadb-106/client



Any idea?
Regards.

--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


[OpenIndiana-discuss] OI Installer offers to visit wiki.openindiana.org

2023-02-22 Thread Predrag Zecevic via openindiana-discuss

Hi all,

just installing latest available OI ISO (OI-hipster-gui-20221123.iso), 
and spotted that it shows documentation platform as wiki.openindiana.org.


As far as I know, that one is replaced with docs.openindiana.org

Regards.

--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


Re: [OpenIndiana-discuss] VIM 9: lost shell (read bash) syntax

2023-02-20 Thread Predrag Zecevic via openindiana-discuss

On 20.02.2023 17:07, Toomas Soome wrote:



On 20. Feb 2023, at 18:05, Predrag Zecevic via openindiana-discuss 
 wrote:


On 20.02.2023 16:53, Udo Grabowski (IMK) wrote:

On 20/02/2023 16:49, Udo Grabowski (IMK) wrote:

On 20/02/2023 16:20, Predrag Zecevic via openindiana-discuss wrote:

Hi all,

does anyone has nice .vimrc, which still obey syntax coloring? 
Especially for

bash...

Recently, vim was upgrade from version 8 to 9:

:; pkg list *editor/vim*
NAME (PUBLISHER) VERSION    IFO
editor/vim 9.0.1300-2023.0.0.0    i--
editor/vim/vim-core 9.0.1300-2023.0.0.0    i--

Since then, bash syntax coloring is not working with neither 
.vimrc (old one,

and modified one). Or w/o .vimrc.
Previously, that syntax highlighting could help a lot, when 
entering shell

commands to point to the syntax error.

Now, it is completely useless...

Any thoughts? Anyone still uses it?


No problem here, with .vimrc

set encoding=utf-8
set term=xterm-color
syntax enable

everything highlights fine, even bash scripts.



You may also need this (one line) :
autocmd Syntax * exec("set 
dict+=".$VIMRUNTIME."/syntax/".expand('').".vim")



Thanks,

---8<--
:; cat ~/.vim/vimrc
set encoding=utf-8
set term=xterm-color
syntax enable

autocmd Syntax * exec("set 
dict+=".$VIMRUNTIME."/syntax/".expand('').".vim")

---8<--

and still no luck (tried from within *tmux* session and from pure 
bash shell).
Same version from Ubuntu 22.04 (I had to install it from PPA repo) 
shows test bash file properly.


So, it could be something on my machine.
The problem is I have no clue where to start.


pkg verify vim vim-core

then check /etc/vimrc

rgds,
toomas


Thanks.

This has returned no "fix" output:
---<8--
:; pfexec pkg verify vim vim-core
---8<--

Same results with and w/o /etc/vimrc

BTW: vim 9 has changed comment form " to # character.
Our /etc/vimrc still have old style ones

Regards.


Regards.


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


--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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




--
Predrag Zečević
predrag.zecevic.1...@googlemail.com
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] VIM 9: lost shell (read bash) syntax

2023-02-20 Thread Predrag Zecevic via openindiana-discuss

On 20.02.2023 16:53, Udo Grabowski (IMK) wrote:

On 20/02/2023 16:49, Udo Grabowski (IMK) wrote:

On 20/02/2023 16:20, Predrag Zecevic via openindiana-discuss wrote:

Hi all,

does anyone has nice .vimrc, which still obey syntax coloring? 
Especially for

bash...

Recently, vim was upgrade from version 8 to 9:

:; pkg list *editor/vim*
NAME (PUBLISHER) VERSION    IFO
editor/vim 9.0.1300-2023.0.0.0    i--
editor/vim/vim-core 9.0.1300-2023.0.0.0    i--

Since then, bash syntax coloring is not working with neither .vimrc 
(old one,

and modified one). Or w/o .vimrc.
Previously, that syntax highlighting could help a lot, when entering 
shell

commands to point to the syntax error.

Now, it is completely useless...

Any thoughts? Anyone still uses it?


No problem here, with .vimrc

set encoding=utf-8
set term=xterm-color
syntax enable

everything highlights fine, even bash scripts.



You may also need this (one line) :
autocmd Syntax * exec("set 
dict+=".$VIMRUNTIME."/syntax/".expand('').".vim")



Thanks,

---8<--
:; cat ~/.vim/vimrc
set encoding=utf-8
set term=xterm-color
syntax enable

autocmd Syntax * exec("set 
dict+=".$VIMRUNTIME."/syntax/".expand('').".vim")

---8<--

and still no luck (tried from within *tmux* session and from pure bash 
shell).
Same version from Ubuntu 22.04 (I had to install it from PPA repo) shows 
test bash file properly.


So, it could be something on my machine.
The problem is I have no clue where to start.

Regards.


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


--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


Re: [OpenIndiana-discuss] VIM 9: lost shell (read bash) syntax

2023-02-20 Thread Predrag Zecevic via openindiana-discuss

On 20.02.2023 16:28, Eric Bautsch wrote:
I don't know if it helps, but I recently cam across this page which 
seems to nicely explain how it's all done:


https://mediatemple.net/community/products/dv/204644480/enabling-vi-syntax-colors-and-highlighting 




In turn then, looking at a linux system in /usr/share/vim/vim*/colors/ 
may help you work out what you need



Eric


Thanks Eric,
but that is not issue here.

Maybe I did not explain problem properly...

For example, editing perl script, or python or even scripts with shebang 
'#!/bin/sh' does syntax properly...
I have problems with shebang '#!/bin/bash' only (and no, I do not want 
to edit tons of scripts).


:; ls -al /bin/bash /usr/bin/bash
-r-xr-xr-x 1 root bin 1,4M Dec 21 16:26 /bin/bash
-r-xr-xr-x 1 root bin 1,4M Dec 21 16:26 /usr/bin/bash

(bash was not changed, just vim 8.x was replaced by vim 9.x)

Regards.



On 20/02/2023 16:20, Predrag Zecevic via openindiana-discuss wrote:

Hi all,

does anyone has nice .vimrc, which still obey syntax coloring? 
Especially for bash...


Recently, vim was upgrade from version 8 to 9:

:; pkg list *editor/vim*
NAME (PUBLISHER) VERSION    IFO
editor/vim 9.0.1300-2023.0.0.0    i--
editor/vim/vim-core 9.0.1300-2023.0.0.0    i--

Since then, bash syntax coloring is not working with neither .vimrc 
(old one, and modified one). Or w/o .vimrc.
Previously, that syntax highlighting could help a lot, when entering 
shell commands to point to the syntax error.


Now, it is completely useless...

Any thoughts? Anyone still uses it?
Attached image shows it (if it was not cut off)

P.S: I did google-ing, and no luck yet...
P.P.S: and that is not only problem I have found so far, but that is 
for another story



___
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ć
predrag.zecevic.1...@googlemail.com


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


[OpenIndiana-discuss] VIM 9: lost shell (read bash) syntax

2023-02-20 Thread Predrag Zecevic via openindiana-discuss

Hi all,

does anyone has nice .vimrc, which still obey syntax coloring? 
Especially for bash...


Recently, vim was upgrade from version 8 to 9:

:; pkg list *editor/vim*
NAME (PUBLISHER) VERSION    IFO
editor/vim 9.0.1300-2023.0.0.0    i--
editor/vim/vim-core 9.0.1300-2023.0.0.0    i--

Since then, bash syntax coloring is not working with neither .vimrc (old 
one, and modified one). Or w/o .vimrc.
Previously, that syntax highlighting could help a lot, when entering 
shell commands to point to the syntax error.


Now, it is completely useless...

Any thoughts? Anyone still uses it?
Attached image shows it (if it was not cut off)

P.S: I did google-ing, and no luck yet...
P.P.S: and that is not only problem I have found so far, but that is for 
another story


--
Predrag Zečević
predrag.zecevic.1...@googlemail.com
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Action upgrade failed for 'usr/lib/libgtksourceview-3.0.so.1.3.0' (pkg://openindiana.org/library/desktop/gtksourceview3)

2023-02-09 Thread Predrag Zecevic via openindiana-discuss

Hi all,

I have installed OI system from USB image (downloaded last Friday).
All went fine, except this:
# The illumos Project illumos-b8af4a8966  November 2022

---8<--
:; pkg refresh
:; pkg update
    Packages to remove:  32
   Packages to install:  30
    Packages to update: 602
    Packages to change:   1
   Mediators to change:   1
   Create boot environment: Yes
Create backup boot environment:  No

DOWNLOAD    PKGS FILES    XFER 
(MB)   SPEED
Completed    665/665   21635/21635 905.3/905.3  
1.5M/s


PHASE  ITEMS
Removing old actions 13572/13572
Installing new actions   10583/10583
Updating modified actions 9300/19414Action upgrade 
failed for 'usr/lib/libgtksourceview-3.0.so.1.3.0' 
(pkg://openindiana.org/library/desktop/gtksourceview3):
 ActionExecutionError: Requested operation failed for action file 
57487a03be9fa09992a09e2ad6c7f65cb0c66eb2 
chash=ae519e0c15955fd005042807a4602a267dc42727 elfarch=i386 elfbits=32 
elfhash=1a4579a549540a723e062d93a4885d4895c2ee74 group=bin mode=0555 
owner=root path=usr/lib/libgtksourceview-3.0.so.1.3.0 
pkg.content-hash=gelf:sha512t_256:a9c3c03ce977243b87d5b6d2a4dd59a6298e5b8b24238aada5344dd4143bff06 
pkg.content-hash=gelf.unsigned:sha512t_256:a9c3c03ce977243b87d5b6d2a4dd59a6298e5b8b24238aada5344dd4143bff06 
pkg.content-hash=file:sha512t_256:eb8cf47c87a5c6a0ac1fdf6ac3f47b596232b02c454354a6bea42a3f4a041080 
pkg.content-hash=gzip:sha512t_256:a2ba2b368950f98fa4bf606f4db904086f5956e8b2c68482f3cc4c49f7ecaa7e 
pkg.csize=270402 pkg.size=733324:
Action data hash verification failure: expected: 
eb8cf47c87a5c6a0ac1fdf6ac3f47b596232b02c454354a6bea42a3f4a041080 
computed: 
e90268e8ab36c5fc09b12a7a3a6eb2f96e527403143294567553e0b3cc7f6626 action: 
file 57487a03be9fa09992a09e2ad6c7f65cb0c66eb2 
chash=ae519e0c15955fd005042807a4602a267dc42727 elfarch=i386 elfbits=32 
elfhash=1a4579a549540a723e062d93a4885d4895c2ee74 group=bin mode=0555 
owner=root path=usr/lib/libgtksourceview-3.0.so.1.3.0 
pkg.content-hash=gelf:sha512t_256:a9c3c03ce977243b87d5b6d2a4dd59a6298e5b8b24238aada5344dd4143bff06 
pkg.content-hash=gelf.unsigned:sha512t_256:a9c3c03ce977243b87d5b6d2a4dd59a6298e5b8b24238aada5344dd4143bff06 
pkg.content-hash=file:sha512t_256:eb8cf47c87a5c6a0ac1fdf6ac3f47b596232b02c454354a6bea42a3f4a041080 
pkg.content-hash=gzip:sha512t_256:a2ba2b368950f98fa4bf606f4db904086f5956e8b2c68482f3cc4c49f7ecaa7e 
pkg.csize=270402 pkg.size=733324


The running system has not been modified. Modifications were only made 
to a clone of the running system.  This clone is mounted at 
/tmp/tmp6mjh7cax should you wish to inspect it.

---8<--

How to fix that issue?

Best regards.

--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


Re: [OpenIndiana-discuss] Help needed starting postfix as a service - maintenance state

2023-01-23 Thread Predrag Zecevic via openindiana-discuss

On 23.01.2023 11:38, Stephan Althaus wrote:

On 1/23/23 11:36, Predrag Zecevic via openindiana-discuss wrote:
tail -20 $(svcprop -p restarter/logfile svc:/network/smtp:postfix) 


Hello!

Thanks for your help..

Nothing new here, There are my tests visible with svcadm clear postfix...


# tail -20 $(svcprop -p restarter/logfile svc:/network/smtp:postfix)
[ Jan 23 09:29:38 Method "start" exited with status 1. ]
[ Jan 23 09:30:37 Leaving maintenance because clear requested. ]
[ Jan 23 09:30:37 Enabled. ]
[ Jan 23 09:30:37 Executing start method ("/usr/sbin/postfix start"). ]
[ Jan 23 09:30:38 Method "start" exited with status 1. ]
[ Jan 23 09:32:16 Leaving maintenance because clear requested. ]
[ Jan 23 09:32:16 Enabled. ]
[ Jan 23 09:32:16 Executing start method ("/usr/sbin/postfix start"). ]
[ Jan 23 09:32:17 Method "start" exited with status 1. ]
[ Jan 23 09:44:37 Disabled. ]
[ Jan 23 09:44:37 Rereading configuration. ]
[ Jan 23 09:45:08 Enabled. ]
[ Jan 23 09:45:08 Executing start method ("/usr/sbin/postfix start"). ]
[ Jan 23 09:45:09 Method "start" exited with status 1. ]
[ Jan 23 09:45:09 Executing start method ("/usr/sbin/postfix start"). ]
[ Jan 23 09:45:10 Method "start" exited with status 1. ]
[ Jan 23 09:45:10 Executing start method ("/usr/sbin/postfix start"). ]
[ Jan 23 09:45:11 Method "start" exited with status 1. ]
[ Jan 23 09:45:22 Leaving maintenance because disable requested. ]
[ Jan 23 09:45:22 Disabled. ]


Stephan


Than, maybe, mail log can show more. To check where it goes (I am using 
rsyslog):

:; grep -w mail /etc/rsyslog.conf
*.err;kern.debug;daemon.notice;mail.crit    /var/adm/messages
# Log anything (except auth, cron, daemon & mail) of level info or higher.
*.info;mail.none;auth.none;cron.none    -/var/log/misc.log
# Log all the auth, daemon & mail messages in one place.
mail.*  -/var/log/mail.log

:; less /var/log/mail.log # might give a hint next...

HTH
Regards.


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


--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


Re: [OpenIndiana-discuss] Help needed starting postfix as a service - maintenance state

2023-01-23 Thread Predrag Zecevic via openindiana-discuss

On 23.01.2023 08:18, Stephan Althaus wrote:

Hello!

Yesterday i moved from CSWpostfix to the OI version.

"postfix start" and "postfix stop" works in my zone (as root), no 
errors with "postfix check",

but "svcadm enable postfix" results in maintenance state because of:

Jan 23 07:45:37 mail postfix/postfix-script[23386]: [ID 947731 
mail.crit] fatal: the Postfix mail system is already running
Jan 23 07:45:38 mail postfix/postfix-script[23392]: [ID 947731 
mail.crit] fatal: the Postfix mail system is already running
Jan 23 07:45:39 mail postfix/postfix-script[23398]: [ID 947731 
mail.crit] fatal: the Postfix mail system is already running


Disabling, and re-enabling does not help, the reboot of the zone 
doesn't help either.


Groups for role 'root' are:

#groups
root other bin sys adm uucp mail tty lp nuucp daemon postfix

Any hints are welcome to get the service running..

Thanks!


Hi Stefan,

what shows this command:
:; tail -20 $(svcprop -p restarter/logfile svc:/network/smtp:postfix)

Maybe there is something there?
Regards.

Stephan



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


--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


Re: [OpenIndiana-discuss] warning message

2022-12-09 Thread Predrag Zecevic via openindiana-discuss

On 06.12.2022 16:53, russell wrote:

Hi,

For the last number of weeks I have been getting the following 
messages on startup about the spare drives for rpool1.


 NOTICE: vdev_disk_open /dev/dsk/c4t1d0s1: update devid from 
'id1,sd@SATA_CT500MX500SSD1__1914/b' to 
'id1,sd@n500a0751/b'
 NOTICE: vdev_disk_open /dev/dsk/c4t3d0s1: update devid from 
'id1,sd@SATA_CT500MX500SSD1__2141/b' to 
'id1,sd@n500a0751/b'


How do I get the zfs to update the information on the spare drives for 
the rpool1 to the notice stops?


TIA


Russell

Hi Russel,

I had a similar case on home OI, but not sure what could cause it. I did 
few changes before (3-4 days ago):

* Tried to set kbd with  *eeprom* command
* Did OI Upgrade
* Performed poweroff to add one more HD

After all that, during boot I saw this for *rpool*. Also, noticed BIOS 
(UEFI BIOS) change - was reset somehow and I had to change it again 
(battery issue?).


After failed boot, I was offered to try /lib/svc/bin/restore_repository 
command, which at the end I did (and pick up [boot] recovery).


Suddenly  reboot went fine.
HTH
Regards.


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


--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


Re: [OpenIndiana-discuss] Rename network interface

2022-11-23 Thread Predrag Zecevic via openindiana-discuss

Hi Thomas,

many thanks. This was my case:

:; grep '"rge' /etc/path_to_inst
"/pci@0,0/pci8086,244e@1e/pci10ec,8169@1" 0 "rge"
"/pci@0,0/pci8086,1e18@1c,4/pci1043,8505@0" 1 "rge"

I will fix it as you have suggested (and remain silent if that has worked)...

With very best regards.

On 23.11.2022 13:06, Thomas Wagner wrote:

Hi Predrag,

instance numbering is made permanent in /etc/path_to_inst

Example:
grep e1000g path_to_inst
"/pci@0,0/pci1af4,1100@3" 0 "e1000g"

So yours schould print something like "grep rge"
"/someonepath" 0 "rge"
"/someotherpath" 1 "rge"

So essentially it is a swap of the single "0" and "1".
You could delete the line with "0" and rename the "1" on
the other line to "0".
The last step is rebuild the boot-archive to include a
copy of the path_to_inst file and then reboot.

bootadm update-archive

Regards
Thomas



On Wed, Nov 23, 2022 at 12:40:32PM +0100, Predrag Zecevic via 
openindiana-discuss wrote:

Hi all,

I have moved OI (rpool and other pools) from one PC to another with almost
no problems (had to re-instate zpool cache devices, since partition
enumeration was not done for them during zpool import operation).

Old PC has installed external (PCI) Realtek Network card and it was
recognized as rge0.
New PC have onboard different model Realtek Network cardand it is now
indexed as rge1.

As rge0 card is not present anymore, how can I make OI to rename rge1 to
rge0?
(for example, zones are configured to use rge0, etc)

With best regards.


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


--
Predrag Zečević
predrag.zecevic.1...@googlemail.com
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Rename network interface

2022-11-23 Thread Predrag Zecevic via openindiana-discuss

Hi all,

I have moved OI (rpool and other pools) from one PC to another with 
almost no problems (had to re-instate zpool cache devices, since 
partition enumeration was not done for them during zpool import operation).


Old PC has installed external (PCI) Realtek Network card and it was 
recognized as rge0.
New PC have onboard different model Realtek Network cardand it is now 
indexed as rge1.


As rge0 card is not present anymore, how can I make OI to rename rge1 to 
rge0?

(for example, zones are configured to use rge0, etc)

With best regards.

--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


[OpenIndiana-discuss] vim 9 problem

2022-10-31 Thread Predrag Zecevic via openindiana-discuss

Hi all,

with recent OI updates, I got this version of vim installed:

:; vim --version
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Oct 26 2022 09:11:22)
Included patches: 1-800
Modified by OpenIndiana 
Compiled by oi-userland build environment
Huge version without GUI.  Features included (+) or not (-):
+acl   +file_in_path  +mouse_urxvt -tag_any_white
+arabic    +find_in_path  +mouse_xterm   -tcl
+autocmd   +float +multi_byte +termguicolors
+autochdir +folding   +multi_lang    +terminal
-autoservername    -footer    -mzscheme  +terminfo
-balloon_eval  +fork()    +netbeans_intg +termresponse
+balloon_eval_term +gettext   +num64 +textobjects
-browse    -hangul_input  +packages  +textprop
++builtin_terms    +iconv +path_extra    +timers
+byte_offset   +insert_expand +perl/dyn  +title
+channel   +ipv6  +persistent_undo   -toolbar
+cindent   +job   +popupwin +user_commands
-clientserver  +jumplist  +postscript    +vartabs
-clipboard +keymap    +printer +vertsplit
+cmdline_compl +lambda    +profile +vim9script
+cmdline_hist  +langmap   -python    +viminfo
+cmdline_info  +libcall   +python3/dyn +virtualedit
+comments  +linebreak +quickfix  +visual
+conceal   +lispindent    +reltime +visualextra
+cryptv    +listcmds  +rightleft +vreplace
+cscope    +localmap  +ruby/dyn +wildignore
...

But, when calling it (using same ~/.vimrc for years), it throws an error:

:; vim ~/.vimrc +370
Error detected while processing ~/.vimrc:
line  370:
E609: Cscope error: /bin/sh: exec: cscope: not found
Press ENTER or type command to continue


Problem is fixed with:

:; pfexec pkg install -v  pkg:/developer/cscope
...

So, I guess 'cscope' should be installed as dependency package for this 
'vim' version.
Presumably, previous version was using some internal 'cscope' 
funtcion/plugin...


Of course, I am not sure that my conclusion is right one.

Regards.

--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


[OpenIndiana-discuss] ZFS version

2022-10-19 Thread Predrag Zecevic via openindiana-discuss

Hi all,

how to find out which zfs version we are running on OpenIndiana?

ZOL have command:
:; zfs --version
zfs-2.1.5-2

--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


[OpenIndiana-discuss] rclone - mount option on openindiana

2022-08-30 Thread Predrag Zecevic via openindiana-discuss

Hi all,

Does anyone have an idea how to get this fixed?
https://forum.rclone.org/t/rclone-mount-on-openindiana-not-available/28393

I am not good in *go*, so I was thinking maybe somebody can provide 
_fuse_ implementation in *go* or whatever is needed...


I have found rclone very useful for backing up NAS, and with mount 
option, it is possible to use (for example) Google drive


Regards.

--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


Re: [OpenIndiana-discuss] runtime/python-39 - missing file

2022-07-05 Thread Predrag Zecevic via openindiana-discuss

On 05.07.2022 09:52, Peter Tribble wrote:



On Tue, Jul 5, 2022 at 8:39 AM Predrag Zecevic via openindiana-discuss 
 wrote:


Hi all,

It seems that runtime/python-39 does not deliver file:
---8<--
:; ls -al /usr/lib/amd64/pkgconfig/python3.pc
ls: cannot access '/usr/lib/amd64/pkgconfig/python3.pc': No such
file or
directory


That file is mediated (because it can be delivered by all the 
different versions of python3).

What does 'pkg mediator' say?


:; pkg mediator python3
MEDIATOR    VER. SRC. VERSION IMPL. SRC. IMPLEMENTATION
python3 vendor    3.9 vendor

Regards.

I would expect you might need something like

pfexec pkg set-mediator -V 3.9 python

(assuming you want python3.9 to be the default python).

:; pfexec pkg fix runtime/python-39
No updates necessary for this image.

:; pkg contents runtime/python-39 | grep pkgconfig
usr/lib/amd64/pkgconfig/python-3.9-embed.pc
usr/lib/amd64/pkgconfig/python-3.9.pc
usr/lib/amd64/pkgconfig/python3-embed.pc
usr/lib/amd64/pkgconfig/python3.pc

:; ls -al /usr/lib/amd64/pkgconfig/python*3*
-r--r--r-- 1 root bin  292 Jan  2  2020
/usr/lib/amd64/pkgconfig/python-3.5.pc
-r--r--r-- 1 root bin  292 Nov 12  2020
/usr/lib/amd64/pkgconfig/python-3.7.pc
lrwxrwxrwx 1 root root  13 Nov 12  2020
/usr/lib/amd64/pkgconfig/python-3.7m.pc -> python-3.7.pc
-r--r--r-- 1 root bin  311 Jan 28  2021
/usr/lib/amd64/pkgconfig/python-3.9-embed.pc
-r--r--r-- 1 root bin  285 Jan 28  2021
/usr/lib/amd64/pkgconfig/python-3.9.pc

How to fix that?

Regards.

-- 
Predrag Zečević

predrag.zecevic.1...@googlemail.com


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



--
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/


--
Predrag Zečević
predrag.zecevic.1...@googlemail.com
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] runtime/python-39 - missing file

2022-07-05 Thread Predrag Zecevic via openindiana-discuss

Hi all,

It seems that runtime/python-39 does not deliver file:
---8<--
:; ls -al /usr/lib/amd64/pkgconfig/python3.pc
ls: cannot access '/usr/lib/amd64/pkgconfig/python3.pc': No such file or 
directory


:; pfexec pkg fix runtime/python-39
No updates necessary for this image.

:; pkg contents runtime/python-39 | grep pkgconfig
usr/lib/amd64/pkgconfig/python-3.9-embed.pc
usr/lib/amd64/pkgconfig/python-3.9.pc
usr/lib/amd64/pkgconfig/python3-embed.pc
usr/lib/amd64/pkgconfig/python3.pc

:; ls -al /usr/lib/amd64/pkgconfig/python*3*
-r--r--r-- 1 root bin  292 Jan  2  2020 
/usr/lib/amd64/pkgconfig/python-3.5.pc
-r--r--r-- 1 root bin  292 Nov 12  2020 
/usr/lib/amd64/pkgconfig/python-3.7.pc
lrwxrwxrwx 1 root root  13 Nov 12  2020 
/usr/lib/amd64/pkgconfig/python-3.7m.pc -> python-3.7.pc
-r--r--r-- 1 root bin  311 Jan 28  2021 
/usr/lib/amd64/pkgconfig/python-3.9-embed.pc
-r--r--r-- 1 root bin  285 Jan 28  2021 
/usr/lib/amd64/pkgconfig/python-3.9.pc


How to fix that?

Regards.

--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


Re: [OpenIndiana-discuss] VirtualBox Error because of kernel module version

2022-02-21 Thread Predrag Zecevic via openindiana-discuss

On 20.02.2022 20:22, Stephan Althaus wrote:

Hello!

I am getting errors today and had not updated for a week or so, 
virtualbox was last running on friday.


Maybe someone can check the kernel module versions if they are the 
same as i have:


$ VBoxManage startvm aLinux
Waiting for VM "aLinux" to power on...
VBoxManage: error: The virtual machine 'aLinux' has terminated 
unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), 
component MachineWrap, interface IMachine


$ modinfo|grep -i vb
*239 fa05b000  5a270 304   1  vboxdrv (VirtualBox HostDrv 
6.1.30r14843) <- ???*
240 fa09d000   79e8 305   1  vboxflt (VirtualBox NetDrv 
6.1.30r148432)
240 fa09d000   79e8   -   1  vboxflt (VirtualBox NetMod 
6.1.30r148432)
241 f9cc34f8    d38 306   1  vboxnet (VirtualBox NetAdp 
6.1.30r148432)
244 fa0b   70e0 307   1  vboxusb (VirtualBox USB 
6.1.30r148432)
245 fa0b7000   4838 308   1  vboxusbmon (VirtualBox USBMon 
6.1.30r148432


$ pkg info virtualbox
 Name: system/virtualbox
  Summary: VirtualBox - general-purpose full virtualizer
 Category: System/Virtualization
    State: Installed
    Publisher: openindiana.org
  Version: 6.1.30
   Branch: 2022.0.0.2
   Packaging Date: January 28, 2022 at 06:55:02 AM
Last Install Time: September  7, 2019 at 07:43:17 PM
 Last Update Time: February  2, 2022 at 12:05:54 PM
 Size: 124.01 MB
 FMRI: 
pkg://openindiana.org/system/virtualbox@6.1.30-2022.0.0.2:20220128T065502Z
   Source URL: 
https://download.virtualbox.org/virtualbox/6.1.30/VirtualBox-6.1.30.tar.bz2

  Project URL: https://www.virtualbox.org/


Greetings,

Stephan

Hi Stephan,

I have identical package and modules:
:; modinfo|grep -i vb
182 f9ce94f8    d38 289   1  vboxnet (VirtualBox NetAdp 
6.1.30r148432)
184 f9f3f000  5a270 287   1  vboxdrv (VirtualBox HostDrv 
6.1.30r14843)
246 fa2a2000   79e8 288   1  vboxflt (VirtualBox NetDrv 
6.1.30r148432)
246 fa2a2000   79e8   -   1  vboxflt (VirtualBox NetMod 
6.1.30r148432)

247 fa2aa000   70e0 290   1  vboxusb (VirtualBox USB 6.1.30r148432)
248 fa2b1000   4838 291   1  vboxusbmon (VirtualBox USBMon 
6.1.30r148432


VB guest (CentOS 8 Stream)  was started (in headless mode) w/o problems, 
from /var/log/messages:


Feb 21 12:44:26 solarium kernel: vboxguest: loading out-of-tree module 
taints kernel.
Feb 21 12:44:26 solarium kernel: vboxguest: module verification failed: 
signature and/or required key missing - tainting kernel
Feb 21 12:44:26 solarium kernel: vboxguest: Successfully loaded version 
6.1.30 r148432


Regards.

P.S: OI was updated on
:; beadm list -K date oi_220215.oi_nvidia
BE  Active Mountpoint Space  Policy Created
oi_220215.oi_nvidia NR /  51,76G static 2022-02-15 14:15




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


--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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


[OpenIndiana-discuss] nodejs (npm) problem

2022-02-07 Thread Predrag Zecevic via openindiana-discuss

Hi all,

does this happens only to me?
:; pkg list | grep nodejs
runtime/nodejs-16 16.13.2-2022.0.0.0 i--

:; npm version
Error: Cannot find module 'make-fetch-happen'
Require stack:
- /usr/node/16/lib/node_modules/npm/node_modules/npm-registry-fetch/index.js
- /usr/node/16/lib/node_modules/npm/node_modules/pacote/lib/remote.js
- /usr/node/16/lib/node_modules/npm/node_modules/pacote/lib/git.js
- /usr/node/16/lib/node_modules/npm/node_modules/pacote/lib/fetcher.js
- /usr/node/16/lib/node_modules/npm/node_modules/pacote/lib/index.js
- /usr/node/16/lib/node_modules/npm/lib/utils/update-notifier.js
- /usr/node/16/lib/node_modules/npm/lib/cli.js
- /usr/node/16/lib/node_modules/npm/bin/npm-cli.js
    at Function.Module._resolveFilename 
(node:internal/modules/cjs/loader:933:15)

    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object. 
(/usr/node/16/lib/node_modules/npm/node_modules/npm-registry-fetch/index.js:6:15)

    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js 
(node:internal/modules/cjs/loader:1153:10)

    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)

Regards.

--
--
Predrag Zečević
predrag.zecevic.1...@googlemail.com


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