Re: [OpenIndiana-discuss] Python abstact socket and config printer applet.py

2023-12-13 Thread Joshua M. Clulow via openindiana-discuss
On Wed, 13 Dec 2023 at 15:08, Bill Sommerfeld via openindiana-discuss wrote: > A quick look at the applet.py code shows that it creates the bound > socket as a lock (to prevent multiple instances from running as the same > user) but never uses it for anything or passes it to anything outside > the

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

2023-12-13 Thread Marcel Telka
On Wed, Dec 13, 2023 at 11:25:36PM +0100, Marcel Telka wrote: > On Wed, Dec 13, 2023 at 07:04:41PM +0100, Predrag Zečević wrote: > > :; pfexec du -sh /var/pkg/cache/publisher/* 4,0M > > /var/pkg/cache/publisher/hipster-encumbered 13G > > /var/pkg/cache/publisher/openindiana.org 1,0K > > /var/pkg/ca

Re: [OpenIndiana-discuss] Python abstact socket and config printer applet.py

2023-12-13 Thread Bill Sommerfeld via openindiana-discuss
On 12/13/23 15:03, Joshua M. Clulow via openindiana-discuss wrote: On Wed, 13 Dec 2023 at 09:24, Carsten Grzemba via openindiana-discuss wrote: A sock.bind with an normal string works, but not the style with the leading \0. This is the syntax for abstract sockets on Linux. I have no idea if ab

Re: [OpenIndiana-discuss] Python abstact socket and config printer applet.py

2023-12-13 Thread Joshua M. Clulow via openindiana-discuss
On Wed, 13 Dec 2023 at 09:24, Carsten Grzemba via openindiana-discuss wrote: > A sock.bind with an normal string works, but not the style with the leading > \0. This is the syntax for abstract sockets on Linux. > I have no idea if abstract sockets would work on Illumos and Python. But how > shou

Re: [OpenIndiana-discuss] Python abstact socket and config printer applet.py

2023-12-13 Thread Bill Sommerfeld via openindiana-discuss
On 12/13/23 09:24, Carsten Grzemba via openindiana-discuss wrote: I don't know when I have seen the last time the printer applet in mate-panel. On my attempts to revive the applet I stumbled on the abstract socket stuff in the Python code of applet.py If i try to start /usr/share/system-confi

Re: [OpenIndiana-discuss] Python abstact socket and config printer applet.py

2023-12-13 Thread Marcel Telka
On Wed, Dec 13, 2023 at 06:24:17PM +0100, Carsten Grzemba via openindiana-discuss wrote: > I don't know when I have seen the last time the printer applet in mate-panel. The following link suggests that it does not work since version 1.5.16 of system-config-printer. https://github.com/OpenPrinting

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

2023-12-13 Thread Marcel Telka
On Wed, Dec 13, 2023 at 07:04:41PM +0100, Predrag Zečević wrote: > :; pfexec du -sh /var/pkg/cache/publisher/* 4,0M > /var/pkg/cache/publisher/hipster-encumbered 13G > /var/pkg/cache/publisher/openindiana.org 1,0K > /var/pkg/cache/publisher/userland I suggest to do: rm -rf /var/pkg/cache/publishe

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

2023-12-13 Thread Predrag Zečević via openindiana-discuss
On 2023-12-13 17:13:22, Marcel Telka wrote: On Wed, Dec 13, 2023 at 04:39:51PM +0100, Predrag Zecevic wrote: 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 publis

[OpenIndiana-discuss] Python abstact socket and config printer applet.py

2023-12-13 Thread Carsten Grzemba via openindiana-discuss
I don't know when I have seen the last time the printer applet in mate-panel. On my attempts to revive the applet I stumbled on the abstract socket stuff in the Python code of applet.py If i try to start /usr/share/system-config-printer/applet.py I get the exception Process already running (

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

2023-12-13 Thread Marcel Telka
On Wed, Dec 13, 2023 at 04:39:51PM +0100, Predrag Zecevic wrote: > 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 matc

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 openind

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

2023-12-13 Thread Marcel Telka
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? -- +---+ | Marcel Telka e-mail: mar...@telka.sk | |homepage: http://telka.sk/ | +

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    /v

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

2023-12-13 Thread Marcel Telka
> > > 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 ? -- +---+ | Marcel Telka e-mail: mar...@telka.sk | |homepage: http://telka.sk/

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

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

2023-12-13 Thread Toomas Soome via openindiana-discuss
> 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 /

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

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

2023-12-13 Thread Toomas Soome via openindiana-discuss
> 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/histo

[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