Re: [OpenIndiana-discuss] cups does not work any more

2023-01-05 Thread Marcel Telka
On Thu, Jan 05, 2023 at 01:24:24PM +0100, Marc Lobelle wrote:
> What should I do ?

Load the core file into a debugger and try to root cause the problem.

FYI, I'm running the same cups bits and it works okay here.


HTH.

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

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


[OpenIndiana-discuss] Thunderbird/Firefox issue

2023-01-05 Thread Predrag Zečević via openindiana-discuss

Hi all,

I apologize myself in advance for a bit long e-mail, but I *do* use OI 
as my desktop and this is kind important...


This is what I have installed ATM (I am trying to keep my system updated):
:; :; pkg list | grep -E "thunderbird|firefox"
mail/thunderbird  102.6.0-2022.0.0.0 
i--
web/browser/firefox   102.6.0-2022.1.0.0 
i--
web/browser/firefox/plugin/firefox-java   1.8.3-2020.0.1.0 
i--
web/data/firefox-bookmarks102.6.0-2022.1.0.0 
i--


Recently (well, for sure in last 6 months) I have spotted weird issue:
when I click on URL in Thunderbird (TB) e-mail message it does not open 
in Firefox (FF) anymore...


From that, I found 2 different problems (using MATE Desktop):

 1) -
In "Preferred Application" configuration applet, I cannot choose "Web 
Browser" at all!

   Seems that distributed desktop file contains all relevant info:
:; cat /usr/share/applications/firefox.desktop | grep -vE 
"^(Name|Comment)\["

[Desktop Entry]
Encoding=UTF-8
Name=Firefox Web Browser
GenericName=Web Browser
Comment=Browse the worldwide web
Exec=/usr/bin/firefox %u
TryExec=/usr/bin/firefox
Icon=firefox-icon
Terminal=false
Type=Application
StartupNotify=true
Categories=Application;Network;X-Sun-Quick-Start;
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;

 2) -
When I tried to set TB as preferred application, a I saw dozen of 
entries in dropdown box, all having name "Thunderbird" (see below ...)

Moreover, distributed dekstop file is missing MimeType (?):
:; cat /usr/share/applications/thunderbird.desktop | grep -vE 
"^(Name|Comment)\["

[Desktop Entry]
Encoding=UTF-8
Name=Thunderbird Mail/Calendar
GenericName=Email
Comment=Read email, blogs and usenet newsgroups and calendar
TryExec=/usr/bin/thunderbird
Exec=/usr/bin/thunderbird
Icon=thunderbird-icon
Terminal=false
Type=Application
StartupNotify=true


Those dozen of files (from dropdown box) are located under 
${HOME}/.local/share/applications/ directory and have names with this 
pattern:

*userapp-Thunderbird-??.desktop*
although, there is also:
*userapp-Thunderbird.desktop*

### Please note: this is AFTER I have removed all 
userapp-Thunderbird-??.desktop files and logged out/logged in):


:; ls -al ${HOME}/.local/share/applications/*Thunderbird*
-rw--- 1 predrag_zecevic admin 181 Jan  5 14:06 
/export/home/predrag_zecevic/.local/share/applications/userapp-Thunderbird-DEBCY1.desktop
-rw--- 1 predrag_zecevic admin 246 Jan  5 13:40 
/export/home/predrag_zecevic/.local/share/applications/userapp-Thunderbird.desktop


Weird is also that file ${HOME}/.config/mimeapps.list is kept updating 
on log-in (you probably guessed already -- by adding new 
userapp-Thunderbird-??.desktop for mime-type) !!!


Similar did happen in the past for Firefox (e.g. several 
userapp-Firefox-??.desktop files were there) but seems gone in the 
meantime.


Finally, when running this command one can see plenty of errors (I have 
shown only important one):


:; pfexec update-desktop-database -v |& grep -E "thunderbird|firefox"
File "/usr/share/applications/thunderbird.desktop" lacks MimeType key


Lastly, where I can open ticket for this?

--
Predrag Zečević

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


[OpenIndiana-discuss] cups does not work any more

2023-01-05 Thread Marc Lobelle

Hello,

On January 3, I updated all packages and cups does not work anymore:


svcs says:

maintenance    janv._03 svc:/application/cups/scheduler:default

and obviously, the commands have been modified by the update

ml@spitfire:/home/ml# ls -lrt /usr/sbin/cups*
lrwxrwxrwx 1 root root 10 févr. 10  2022 /usr/sbin/cupsdisable -> 
cupsaccept*
lrwxrwxrwx 1 root root 10 févr. 10  2022 /usr/sbin/cupsenable -> 
cupsaccept*
lrwxrwxrwx 1 root root 10 févr. 10  2022 /usr/sbin/cupsreject -> 
cupsaccept*

-r-xr-xr-x 1 root bin   28835 févr. 10  2022 /usr/sbin/cups-genppdupdate*
-r-xr-xr-x 1 root bin   72696 nov.  18 12:56 /usr/sbin/cups-genppd.5.3*
-r-xr-xr-x 1 root bin  294664 nov.  18 12:57 /usr/sbin/cups-browsed*
-r-xr-xr-x 1 root bin   20512 janv.  3 12:13 /usr/sbin/cupsaccept*
-r-xr-xr-x 1 root bin   21184 janv.  3 12:13 /usr/sbin/cupsctl*
-r-xr-xr-x 1 root bin  592640 janv.  3 12:13 /usr/sbin/cupsd*
-r-xr-xr-x 1 root bin   61688 janv.  3 12:13 /usr/sbin/cupsfilter*

 cat /var/svc/log/application-cups-scheduler:default.log

...

[ janv.  2 18:47:27 Enabled. ]
[ janv.  2 18:47:27 Executing start method ("/usr/sbin/cupsd"). ]
[ janv.  2 18:47:27 Method "start" exited with status 0. ]
[ janv.  3 12:20:04 Enabled. ]
[ janv.  3 12:20:06 Executing start method ("/usr/sbin/cupsd"). ]
[ janv.  3 12:20:06 Method "start" exited with status 0. ]
*[ janv.  3 23:35:36 Stopping because process dumped core. ]*
[ janv.  3 23:35:36 Executing stop method (:kill). ]
[ janv.  3 23:35:36 Executing start method ("/usr/sbin/cupsd"). ]
[ janv.  3 23:35:37 Method "start" exited with status 0. ]
[ janv.  3 23:35:37 Stopping because process dumped core. ]
[ janv.  3 23:35:37 Executing stop method (:kill). ]
[ janv.  3 23:35:37 Executing start method ("/usr/sbin/cupsd"). ]
[ janv.  3 23:35:37 Method "start" exited with status 0. ]
[ janv.  3 23:35:37 Stopping because process dumped core. ]
[ janv.  3 23:35:37 Executing stop method (:kill). ]
[ janv.  3 23:35:37 Executing start method ("/usr/sbin/cupsd"). ]
[ janv.  3 23:35:37 Method "start" exited with status 0. ]
[ janv.  3 23:35:37 Stopping because process dumped core. ]
[ janv.  3 23:35:37 Executing stop method (:kill). ]
[ janv.  3 23:35:37 Executing start method ("/usr/sbin/cupsd"). ]
[ janv.  3 23:35:37 Method "start" exited with status 0. ]
[ janv.  3 23:35:37 Stopping because process dumped core. ]
[ janv.  3 23:35:37 Executing stop method (:kill). ]
[ janv.  3 23:35:37 Restarting too quickly, changing state to maintenance. ]

Obviously the new version has a problem...

What should I do ?

Thanks

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