Re: Why is systemd starting Firefox?

2022-06-05 Thread sp...@caiway.net
On Sun, 05 Jun 2022 08:30:50 +0200
Kamil Jońca  wrote:

> local10  writes:
> 
> >
> > # systemctl list-units | grep -i firefox
> 
> what is the result of:
> $systemctl --user list-units
> 
> (as a regular user)
> 
> 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
Oops! Could not find the desired page
Ups! Nie udało się znaleźć pożądanej strony

Did you notice Kamil?



Re: Why is systemd starting Firefox?

2022-06-04 Thread Kamil Jońca
local10  writes:

>
> # systemctl list-units | grep -i firefox

what is the result of:
$systemctl --user list-units

(as a regular user)


-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html



Re: Why is systemd starting Firefox?

2022-06-04 Thread sp...@caiway.net
On Sun, 23 Jan 2022 21:17:50 +0100 (CET)
local10  wrote:

> Jan 23, 2022, 19:15 by songb...@anthive.com:
> 
> > what desktop are you running?
> >
> >  it may be set up in your desktop to automatically be started.
> >
> 
> Am using KDE. Don't have any tasks in KDE Autostart.
> 
> Regards,
> 

[exec] (killall firefox-esr) {killall firefox-esr} 


This is in my fluxbox menu

I seldom use it nowadays. 

Thanks for the tip

I move the line in another submenu


Thanks for the tip

Arne



Re: Why is systemd starting Firefox?

2022-01-25 Thread Andrei POPESCU
On Lu, 24 ian 22, 00:50:01, local10 wrote:
> Jan 23, 2022, 23:24 by avbe...@gmail.com:
> 
> > Does this command show anything useful when 'firefox-esr' is running?
> >     $ systemctl --user status
> >
> 
> There's a few entries like the following:
> 
> ├─app-firefox\x2desr-dc24162ec3664da890a78fe619b4b1e4.scope 
>    │ │ ├─51854 /usr/lib/firefox-esr/firefox-esr -ProfileManager
>    │ │ ├─54031 /usr/lib/firefox-esr/firefox-esr -contentproc -childID 
> 3 -isForBrowser -prefsLen 5019 -prefMapSize 291459 -jsInit 285716 
> -parentBuildID 20220105212146 -appdir /usr/lib/firefox-esr/browser 51854 true 
> tab
>    │ │ ├─54109 /usr/lib/firefox-esr/firefox-esr -contentproc -childID 
> 4 -isForBrowser -prefsLen 5743 -prefMapSize 291459 -jsInit 285716 
> -parentBuildID 20220105212146 -appdir /usr/lib/firefox-esr/browser 51854 true 
> tab
>    │ │ ├─55941 /usr/lib/firefox-esr/firefox-esr -contentproc 
> -parentBuildID 20220105212146 -prefsLen 5876 -prefMapSize 291459 -appdir 
> /usr/lib/firefox-esr/browser 51854 true rdd

The full output is a tree, so you should be able to tell what is 
starting it.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Why is systemd starting Firefox?

2022-01-23 Thread Polyna-Maude Racicot-Summerside
Hi,

On 2022-01-23 18:50, local10 wrote:
> Jan 23, 2022, 23:24 by avbe...@gmail.com:
> 
>> Does this command show anything useful when 'firefox-esr' is running?
>>     $ systemctl --user status
>>
> 
> There's a few entries like the following:
> 
> ├─app-firefox\x2desr-dc24162ec3664da890a78fe619b4b1e4.scope 
>    │ │ ├─51854 /usr/lib/firefox-esr/firefox-esr -ProfileManager
>    │ │ ├─54031 /usr/lib/firefox-esr/firefox-esr -contentproc -childID 
> 3 -isForBrowser -prefsLen 5019 -prefMapSize 291459 -jsInit 285716 
> -parentBuildID 20220105212146 -appdir /usr/lib/firefox-esr/browser 51854 true 
> tab
>    │ │ ├─54109 /usr/lib/firefox-esr/firefox-esr -contentproc -childID 
> 4 -isForBrowser -prefsLen 5743 -prefMapSize 291459 -jsInit 285716 
> -parentBuildID 20220105212146 -appdir /usr/lib/firefox-esr/browser 51854 true 
> tab
>    │ │ ├─55941 /usr/lib/firefox-esr/firefox-esr -contentproc 
> -parentBuildID 20220105212146 -prefsLen 5876 -prefMapSize 291459 -appdir 
> /usr/lib/firefox-esr/browser 51854 true rdd
> 
> 
You can use bustle, not sure if it's in Debian (probably yes)
https://gitlab.freedesktop.org/bustle/bustle
> 
>> It sure looks suspicious in the logs.
>>
> 
> I was puzzled as well.
> 
> Regards,
> 

-- 
Polyna-Maude R.-Summerside
-Be smart, Be wise, Support opensource development


OpenPGP_signature
Description: OpenPGP digital signature


Re: Why is systemd starting Firefox?

2022-01-23 Thread Polyna-Maude Racicot-Summerside
Hi,

On 2022-01-23 18:50, local10 wrote:
> Jan 23, 2022, 23:24 by avbe...@gmail.com:
> 
>> Does this command show anything useful when 'firefox-esr' is running?
>>     $ systemctl --user status
>>
> 
> There's a few entries like the following:
> 
> ├─app-firefox\x2desr-dc24162ec3664da890a78fe619b4b1e4.scope 
>    │ │ ├─51854 /usr/lib/firefox-esr/firefox-esr -ProfileManager
>    │ │ ├─54031 /usr/lib/firefox-esr/firefox-esr -contentproc -childID 
> 3 -isForBrowser -prefsLen 5019 -prefMapSize 291459 -jsInit 285716 
> -parentBuildID 20220105212146 -appdir /usr/lib/firefox-esr/browser 51854 true 
> tab
>    │ │ ├─54109 /usr/lib/firefox-esr/firefox-esr -contentproc -childID 
> 4 -isForBrowser -prefsLen 5743 -prefMapSize 291459 -jsInit 285716 
> -parentBuildID 20220105212146 -appdir /usr/lib/firefox-esr/browser 51854 true 
> tab
>    │ │ ├─55941 /usr/lib/firefox-esr/firefox-esr -contentproc 
> -parentBuildID 20220105212146 -prefsLen 5876 -prefMapSize 291459 -appdir 
> /usr/lib/firefox-esr/browser 51854 true rdd
> 
Make a dump of dbusmonitor and you shall get a idea of what's calling
for Firefox.
> 
> 
>> It sure looks suspicious in the logs.
>>
> 
> I was puzzled as well.
> 
> Regards,
> 

-- 
Polyna-Maude R.-Summerside
-Be smart, Be wise, Support opensource development


OpenPGP_signature
Description: OpenPGP digital signature


Re: Why is systemd starting Firefox?

2022-01-23 Thread local10
Jan 23, 2022, 23:24 by avbe...@gmail.com:

> Does this command show anything useful when 'firefox-esr' is running?
>     $ systemctl --user status
>

There's a few entries like the following:

├─app-firefox\x2desr-dc24162ec3664da890a78fe619b4b1e4.scope 
   │ │ ├─51854 /usr/lib/firefox-esr/firefox-esr -ProfileManager
   │ │ ├─54031 /usr/lib/firefox-esr/firefox-esr -contentproc -childID 3 
-isForBrowser -prefsLen 5019 -prefMapSize 291459 -jsInit 285716 -parentBuildID 
20220105212146 -appdir /usr/lib/firefox-esr/browser 51854 true tab
   │ │ ├─54109 /usr/lib/firefox-esr/firefox-esr -contentproc -childID 4 
-isForBrowser -prefsLen 5743 -prefMapSize 291459 -jsInit 285716 -parentBuildID 
20220105212146 -appdir /usr/lib/firefox-esr/browser 51854 true tab
   │ │ ├─55941 /usr/lib/firefox-esr/firefox-esr -contentproc 
-parentBuildID 20220105212146 -prefsLen 5876 -prefMapSize 291459 -appdir 
/usr/lib/firefox-esr/browser 51854 true rdd



> It sure looks suspicious in the logs.
>

I was puzzled as well.

Regards,



Re: Why is systemd starting Firefox?

2022-01-23 Thread Alexander V. Makartsev

On 23.01.2022 23:36, local10 wrote:

Hi,

Based on the log records (see below) it looks like systemd is regularly 
starting Firefox. I don't recall setting up anything like that, so why is 
systemd doing it?

Thanks

# cat /var/log/syslog
...
Jan 23 06:31:37 test systemd[922]: Started Firefox ESR - Web Browser.
...
Jan 23 06:31:53 test systemd[922]: 
app-firefox\x2desr-bcb63a3a10404a7fa8443768412b385a.scope: Succeeded.
Jan 23 06:31:53 test systemd[922]: 
app-firefox\x2desr-bcb63a3a10404a7fa8443768412b385a.scope: Consumed 4.746s CPU 
time.
Jan 23 08:05:28 test systemd[922]: 
app-firefox\x2desr-512a87e34cb047e0ace37d7988d04f1b.scope: Succeeded.
Jan 23 08:05:28 test systemd[922]: 
app-firefox\x2desr-512a87e34cb047e0ace37d7988d04f1b.scope: Consumed 2h 43min 
45.540s CPU time.
Jan 23 08:05:31 test systemd[922]: Started Firefox ESR - Web Browser.
...
Jan 23 09:42:17 test dbus-daemon[430]: [system] Activating via systemd: service 
name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested 
by ':1.829' (uid=1007 pid=53514 comm="/usr/lib/firefox-esr/firefox-esr 
-ProfileManager ")
Jan 23 09:43:38 test dbus-daemon[430]: [system] Activating via systemd: service 
name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested 
by ':1.833' (uid=1007 pid=53514 comm="/usr/lib/firefox-esr/firefox-esr 
-ProfileManager ")
...

# systemctl list-units | grep -i firefox


# cat /etc/debian_version && uname -a
11.2
Linux srv07 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 
GNU/Linux

firefox-esr is installed on my system (Debian 11 with Xfce) as a dependency.
    $ grep -i "firefox" /var/log/syslog
Returns nothing on my system, but I don't use KDE.

Does this command show anything useful when 'firefox-esr' is running?
    $ systemctl --user status

Systemd's manual describes scopes¹ as special units, so for now I think 
this is how KDE runs and manages applications.

It sure looks suspicious in the logs.


¹ https://www.freedesktop.org/software/systemd/man/systemd.scope.html

--
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄



Re: Why is systemd starting Firefox?

2022-01-23 Thread local10
Jan 23, 2022, 19:15 by songb...@anthive.com:

> what desktop are you running?
>
>  it may be set up in your desktop to automatically be started.
>

Am using KDE. Don't have any tasks in KDE Autostart.

Regards,



Re: Why is systemd starting Firefox?

2022-01-23 Thread songbird
  what desktop are you running?

  it may be set up in your desktop to automatically be started.


  songbird



Why is systemd starting Firefox?

2022-01-23 Thread local10
Hi,

Based on the log records (see below) it looks like systemd is regularly 
starting Firefox. I don't recall setting up anything like that, so why is 
systemd doing it?

Thanks

# cat /var/log/syslog
...
Jan 23 06:31:37 test systemd[922]: Started Firefox ESR - Web Browser.
...
Jan 23 06:31:53 test systemd[922]: 
app-firefox\x2desr-bcb63a3a10404a7fa8443768412b385a.scope: Succeeded.
Jan 23 06:31:53 test systemd[922]: 
app-firefox\x2desr-bcb63a3a10404a7fa8443768412b385a.scope: Consumed 4.746s CPU 
time.
Jan 23 08:05:28 test systemd[922]: 
app-firefox\x2desr-512a87e34cb047e0ace37d7988d04f1b.scope: Succeeded.
Jan 23 08:05:28 test systemd[922]: 
app-firefox\x2desr-512a87e34cb047e0ace37d7988d04f1b.scope: Consumed 2h 43min 
45.540s CPU time.
Jan 23 08:05:31 test systemd[922]: Started Firefox ESR - Web Browser.
...
Jan 23 09:42:17 test dbus-daemon[430]: [system] Activating via systemd: service 
name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' 
requested by ':1.829' (uid=1007 pid=53514 
comm="/usr/lib/firefox-esr/firefox-esr -ProfileManager ")
Jan 23 09:43:38 test dbus-daemon[430]: [system] Activating via systemd: service 
name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' 
requested by ':1.833' (uid=1007 pid=53514 
comm="/usr/lib/firefox-esr/firefox-esr -ProfileManager ")
...

# systemctl list-units | grep -i firefox


# cat /etc/debian_version && uname -a
11.2
Linux srv07 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 
GNU/Linux