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

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

    <bug>
          <bug_id>45329</bug_id>
          
          <creation_ts>2023-02-20 09:49:22 +0300</creation_ts>
          <short_desc>Ошибка установки на разметку с разделом /var</short_desc>
          <delta_ts>2023-03-21 04:30:04 +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>mkimage-profiles</component>
          <version>unstable</version>
          <rep_platform>all</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>realjohndoe</reporter>
          <assigned_to name="Антон Мидюков">antohami</assigned_to>
          <cc>antohami</cc>
    
    <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>221875</commentid>
    <comment_count>0</comment_count>
    <who name="">realjohndoe</who>
    <bug_when>2023-02-20 09:49:22 +0300</bug_when>
    <thetext>При установке системы на разметку с разделом /var на этапе распаковки базового образа возникает ошибка:

&gt; Fatal error: Error unpacking image /image/live into /mnt/destination: 1

В логах в `/tmp` деталей о причине ошибки я не увидел (возможно, просмотрел). Но если потрейсить процесс `alteratord` вместе с потомками, то последней ошибкой будет ошибка процесса `unsquashfs` при вызове `link` из `/mnt/destination/etc/host.conf` в `/mnt/destination/var/lib/openvpn/etc/host.conf` (на образе `alt-p10-xfce-20221209-x86_64.iso`) или в `/etc/destination/var/lib/mysql/etc/host.conf` (на образе `alt-p10-kde5-20221209-x86_64.iso`). Описание ошибки: &quot;Invalid cross-device link&quot;.

Желание выделить раздел /var на разметке с BtrFS обусловлено получаемой таким образом возможностью более гранулярно управлять процессом восстановления снапшотов системы [1].

[1] https://btrfs.readthedocs.io/en/latest/Subvolumes.html#case-study-system-root-layouts</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223091</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-03-21 04:30:04 +0300</bug_when>
    <thetext>mkimage-profiles-1.5.3-alt1 -&gt; sisyphus:

 Mon Mar 20 2023 Anton Midyukov &lt;antohami@altlinux&gt; 1.5.3-alt1
 - services: fix DEFAULT_SYSTEMD_USER_SERVICES_{DISABLE,ENABLE} support
 - Initial feature live-install
 - regular.mk: installation from live image by classic installer
 - grub: add submenu for install live over network
 - stage2: add option &apos;--no-hardliks&apos; to mksquashfs (Closes: 45329)
 - initrd-{bootchain,propagator}: save initrd.mk, make-initrd to .disk/
 - stage2,initrd-*: fix adding udev rules for named network interfaces
 - mediacheck: check available implantisomd5 command
 - install2: add mdadm to altinst
 - features.in: drop armh-skit
 - Include README of features to documentation; fix syntax &amp; links in them</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>