Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Why is systemd starting Firefox?

143 views
Skip to first unread message

local10

unread,
Jan 23, 2022, 2:00:12 PM1/23/22
to
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

songbird

unread,
Jan 23, 2022, 2:40:05 PM1/23/22
to
what desktop are you running?

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


songbird

local10

unread,
Jan 23, 2022, 3:40:04 PM1/23/22
to
Jan 23, 2022, 19:15 by song...@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,

Alexander V. Makartsev

unread,
Jan 23, 2022, 6:40:05 PM1/23/22
to
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
⠈⠳⣄⠀⠀⠀⠀

local10

unread,
Jan 23, 2022, 7:10:05 PM1/23/22
to
Jan 23, 2022, 23:24 by avb...@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,

Polyna-Maude Racicot-Summerside

unread,
Jan 23, 2022, 7:40:04 PM1/23/22
to
Hi,
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

Polyna-Maude Racicot-Summerside

unread,
Jan 23, 2022, 7:40:05 PM1/23/22
to
Hi,

On 2022-01-23 18:50, local10 wrote:
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,
>

OpenPGP_signature

Andrei POPESCU

unread,
Jan 25, 2022, 5:10:05 AM1/25/22
to
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

sp...@caiway.net

unread,
Jun 5, 2022, 2:10:05 AM6/5/22
to
[exec] (killall firefox-esr) {killall firefox-esr} </usr/share/iso-flags-png-320x240/cn.png>

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

Kamil Jońca

unread,
Jun 5, 2022, 2:50:05 AM6/5/22
to
local10 <loc...@tutanota.com> 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

sp...@caiway.net

unread,
Jun 5, 2022, 3:30:05 AM6/5/22
to
On Sun, 05 Jun 2022 08:30:50 +0200
Kamil Jońca <kjo...@o2.pl> wrote:

> local10 <loc...@tutanota.com> 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?
0 new messages