<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>234407</bug_id>
          
          <creation_ts>2021-12-16 14:43:38 -0800</creation_ts>
          <short_desc>[GTK][WPE] Don&apos;t ignore stderr when calling flatpak in update-webkitgtk-libs</short_desc>
          <delta_ts>2021-12-16 18:16:36 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Carlos Alberto Lopez Perez">clopez</assigned_to>
          <cc>aperez</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>mrobinson</cc>
    
    <cc>pnormand</cc>
    
    <cc>svillar</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1824882</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2021-12-16 14:43:38 -0800</bug_when>
    <thetext>I had a situation where in an unprivileged LXC container I couldn&apos;t run the script update-webkitgtk-libs because flatpak was failing with this error:

bwrap: Can&apos;t mount proc on /newroot/proc: Operation not permitted

This was caused by Debian not setting brap as a setuid binary anymore &lt;https://bugs.debian.org/977841&gt; and my LXC unprivileged containers not allowing nesting


The issue here is that it this error was not printed when flatpak was failing, making debugging the issue harder.
I think se should print the stderr</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1824883</commentid>
    <comment_count>1</comment_count>
      <attachid>447393</attachid>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2021-12-16 14:46:12 -0800</bug_when>
    <thetext>Created attachment 447393
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1824902</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-12-16 16:03:24 -0800</bug_when>
    <thetext>Committed r287162 (245338@main): &lt;https://commits.webkit.org/245338@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 447393.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1824933</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-12-16 18:16:36 -0800</bug_when>
    <thetext>&lt;rdar://problem/86607693&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>447393</attachid>
            <date>2021-12-16 14:46:12 -0800</date>
            <delta_ts>2021-12-16 16:03:27 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-234407-20211216224610.patch</filename>
            <type>text/plain</type>
            <size>1419</size>
            <attacher name="Carlos Alberto Lopez Perez">clopez</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjg3MTU5CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggMTc4MTM4NWRmNmI4MmRlOTJjM2IxM2IwMzA3YjcwYzAw
ZTdiMDllNC4uODcwNDFjNmRiMmEzNTliM2I2YjE0ZjgzNjJhMGI5ZTdlNWYzNDQzZCAxMDA2N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