<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>46679</bug_id>
          
          <creation_ts>2023-06-28 11:15:32 +0300</creation_ts>
          <short_desc>mount -o rw: WARNING: source write-protected, mounted read-only.</short_desc>
          <delta_ts>2023-06-28 17:06:35 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>util-linux</component>
          <version>unstable</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Chikunov">vt</reporter>
          <assigned_to name="Alexey Gladkov">legion</assigned_to>
          <cc>boyarsh</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>legion</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>228477</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2023-06-28 11:15:32 +0300</bug_when>
    <thetext>Монтирование u+rw имиджа с `-o rw` происходит в read-only.

Упали тесты
https://git.altlinux.org/beehive/logs/Sisyphus/x86_64/archive/2023/0628/error/fscrypt-0.3.4-alt1
https://git.altlinux.org/beehive/logs/Sisyphus/x86_64/archive/2023/0628/error/fscryptctl-1.1.0-alt1

Reproducer, при сборке fscrypt:

  root@x86_64:~/RPM/BUILD/fscrypt-0.3.4# vm-run --kvm=cond --sbin --user --udevd
  builder@x86_64:~/RPM/BUILD/fscrypt-0.3.4$ make test-setup test test-teardown
  builder@x86_64:~/RPM/BUILD/fscrypt-0.3.4$ sudo -s
  root@x86_64:~/RPM/BUILD/fscrypt-0.3.4# ls -l /tmp/fscrypt-image
  -rw-r--r-- 1 builder builder 20971520 Jun 28 07:57 /tmp/fscrypt-image
  root@x86_64:~/RPM/BUILD/fscrypt-0.3.4# mount -o rw,loop,user /tmp/fscrypt-image /tmp/fscrypt-mount
  mount: /tmp/fscrypt-mount: WARNING: source write-protected, mounted read-only.

Upstream bug: https://github.com/util-linux/util-linux/issues/2305
Upstream fix: https://github.com/util-linux/util-linux/pull/2306</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>228493</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-06-28 12:48:15 +0300</bug_when>
    <thetext>util-linux-2.39.1-alt1 -&gt; sisyphus:

 Wed Jun 28 2023 Alexey Gladkov &lt;legion@altlinux.ru&gt; 2.39.1-alt1
 - New version (2.39.1).
 - libmount: (optlist) correctly detect ro status (ALT#46679).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>228517</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2023-06-28 17:06:35 +0300</bug_when>
    <thetext>Спасибо большое!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>