Re: Question on firefox script and zombie??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael D. Setzer II via users wrote:
> Notice that when running firefox I was seeing a zombie program running 
> that is linked to restorecon??
> 
> Looked at script and found this line in it.
> 
>     restorecon -vr ~/.mozilla/firefox/* &
> 
> It does clear once firefox is closed, but nothing would clear it while 
> running.
> 
> I changed the line to 
>     restorecon -vr ~/.mozilla/firefox/* #&
> And no longer get the zombie? 

The restorecon call was added (as you may have seen while
editing /usr/bin/firefox) for bug #1731371¹.

The zombie process issue was noted in comment 16 of the
ticket and was addressed in a subsequent update which may
not have reached the stable repos yet.  The update with the
fix is marked as stable in bodhi, but the push to get that
into the repos may not have completed or not reached the
mirror you're using.

In case you want to test the current update:

F31: https://bodhi.fedoraproject.org/updates/FEDORA-2020-947b399b81
F32: https://bodhi.fedoraproject.org/updates/FEDORA-2020-16dc2f1aeb 

> Takes almost no time to run the command, so not  sure what
> the purpose of have the & on the line is?

In many cases it might not, but if it were to block the
startup of firefox, even by a few seconds, that would surely
lead to bug reports for the Firefox maintainer(s) and a poor
experience for users who have slower disk or whatever else
might cause restorecon to be slow for them.

The fix that was implemented runs the restorecon command in
a subshell, still in the background.

It looks like the longer-term fix is for Firefox to not need
to call restorecon itself, but have restorecond handle this
task as needed.  That's what I took from comments 21, 22, &
23 in bug #1731371.  A bug for the SELinux policycoreutils
package was filed as #1888994² for that.

Hope that's useful info, Michael or anyone following along.

¹ https://bugzilla.redhat.com/1731371 - Downloaded Widevine
  plugin do have wrong SELinux label
² https://bugzilla.redhat.com/1888994

-- 
Todd

Attachment: signature.asc
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux