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

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

    <bug>
          <bug_id>39504</bug_id>
          
          <creation_ts>2021-01-04 15:56:04 +0300</creation_ts>
          <short_desc>Невозможно установить метки разделов в guestfish</short_desc>
          <delta_ts>2024-01-11 17:41:53 +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>guestfs-data</component>
          <version>unstable</version>
          <rep_platform>x86_64</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>xdsl</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>rider</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>195268</commentid>
    <comment_count>0</comment_count>
    <who name="">xdsl</who>
    <bug_when>2021-01-04 15:56:04 +0300</bug_when>
    <thetext>При попытке выполнения guestfish-команды set-label на устройстве с файловой системой fat или ext2/3/4 возникает ошибка:

libguestfs: error: set_label: dosfslabel: No such file or directory

или соответственно

libguestfs: error: set_e2label: e2label: No such file or directory

Причина: в пакете guestfs-data образ /usr/lib64/guestfs/initramfs.x86_64.img не содержит /sbin/e2label и /sbin/dosfslabel

Временное решение: перепаковать /usr/lib64/guestfs/initramfs.x86_64.img, скопировав туда e2label из пакета e2fsprogs и fatlabel с переименованием в dosfslabel из пакета dosfstools</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240086</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2024-01-11 17:41:53 +0300</bug_when>
    <thetext>* Tue Mar 09 2021 Alexey Gladkov &lt;legion@altlinux.ru&gt; 2.13.0-alt1
- Feature guestfs:
  + Add lable utilities (thx Mikhail Gordeev)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>