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

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

    <bug>
          <bug_id>35507</bug_id>
          
          <creation_ts>2018-10-13 10:25:38 +0300</creation_ts>
          <short_desc>Иногда обламывается установка</short_desc>
          <delta_ts>2022-01-20 19:18:51 +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>installer-scripts-remount-stage2</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>33000</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Антон Мидюков">antohami</reporter>
          <assigned_to name="Michael Shigorin">mike</assigned_to>
          <cc>cas</cc>
    
    <cc>iv</cc>
    
    <cc>klark</cc>
    
    <cc>m</cc>
    
    <cc>mike</cc>
    
    <cc>rider</cc>
    
    <cc>shevtsov.anton</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>174954</commentid>
    <comment_count>0</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2018-10-13 10:25:38 +0300</bug_when>
    <thetext>Поймал уже два раза такую ошибку при установке в virtualbox, сначала regular-cinnamon, теперь regular-lxde-sysv:

Критическая ошибка

destination filesystem remount error, see /tmp/remount.log

В конце 5 шага &quot;установка системы&quot;

Для regular-cinnamon:

cat /tmp/remount.log
+ check_destdir
+ &apos;[&apos; -d /mnt/destination &apos;]&apos;
+ save_blkid_state
+ xargs -r blkid -c /dev/null
+ find /dev/mapper -type l
+ populate_fstab
+ &apos;[&apos; &apos;!&apos; -f /tmp/fstab &apos;]&apos;
+ cat /tmp/fstab
+ copy_chroot_binaries
+ useputfile=
+ &apos;[&apos; -x /mnt/destination/usr/share/make-initrd/tools/put-file &apos;]&apos;
+ useputfile=yes
++ mktemp -d /mnt/destination/tmp/copy_chroot_binaries.XXXXXXXXX
+ binddir=/mnt/destination/tmp/copy_chroot_binaries.cxzf2eOGr
+ workdir=/tmp/copy_chroot_binaries.cxzf2eOGr
+ mount --bind / /mnt/destination/tmp/copy_chroot_binaries.cxzf2eOGr
+ for i in &apos;&quot;$MDADM&quot;&apos; &apos;&quot;$LVM&quot;&apos; &apos;&quot;$CRYPTSETUP&quot;&apos;
+ &apos;[&apos; &apos;!&apos; -x /sbin/mdadm -a -x /mnt/destination/sbin/mdadm &apos;]&apos;
+ for i in &apos;&quot;$MDADM&quot;&apos; &apos;&quot;$LVM&quot;&apos; &apos;&quot;$CRYPTSETUP&quot;&apos;
+ &apos;[&apos; &apos;!&apos; -x /sbin/lvm -a -x /mnt/destination/sbin/lvm &apos;]&apos;
+ for i in &apos;&quot;$MDADM&quot;&apos; &apos;&quot;$LVM&quot;&apos; &apos;&quot;$CRYPTSETUP&quot;&apos;
+ &apos;[&apos; &apos;!&apos; -x /sbin/cryptsetup -a -x /mnt/destination/sbin/cryptsetup &apos;]&apos;
+ &apos;[&apos; -e /mnt/destination/etc/lvm/lvm.conf &apos;]&apos;
+ echo &apos;remount: copying /etc/lvm/lvm.conf&apos;
remount: copying /etc/lvm/lvm.conf
+ &apos;[&apos; -n yes &apos;]&apos;
+ chroot /mnt/destination /usr/share/make-initrd/tools/put-file /tmp/copy_chroot_binaries.cxzf2eOGr /etc/lvm/lvm.conf
+ &apos;[&apos; -n yes &apos;]&apos;
+ umount /mnt/destination/tmp/copy_chroot_binaries.cxzf2eOGr
+ rmdir /mnt/destination/tmp/copy_chroot_binaries.cxzf2eOGr
+ umount_chroot
+ fuser -vv -k -m /mnt/destination
                     USER        PID ACCESS COMMAND
/mnt/destination:    root     kernel mount /mnt/destination
+ &apos;[&apos; -x /sbin/cryptsetup &apos;]&apos;
+ pushd /dev/mapper
/dev/mapper /
+ for i in &apos;*_luks&apos;
+ /sbin/cryptsetup luksClose &apos;*_luks&apos;
Device *_luks is not active.
+ dmsetup remove &apos;*_luks&apos;
device-mapper: remove ioctl on \x2a_luks failed: No such device or address
Command failed.
+ popd
/
+ chroot /mnt/destination swapoff -a
+ umount /mnt/destination/dev/pts
umount: /mnt/destination/dev/pts: not mounted.
+ chroot /mnt/destination umount -a -v
/run                     : successfully unmounted
/sys                     : ignored
/dev                     : successfully unmounted
/proc                    : ignored
/boot/efi                : successfully unmounted
/                        : successfully unmounted
+ umount -a -v -t fuse.gvfsd-fuse
/mnt/destination/sys     : ignored
/mnt/destination/proc    : ignored
/mnt/destination         : ignored
/var/run/user/500        : ignored
/run/user/500            : ignored
/var/run                 : ignored
/tmp                     : ignored
/var/lock                : ignored
/sys/kernel/config       : ignored
/dev/mqueue              : ignored
/sys/kernel/debug        : ignored
/dev/hugepages           : ignored
/proc/sys/fs/binfmt_misc : ignored
/sys/fs/cgroup/memory    : ignored
/sys/fs/cgroup/cpuset    : ignored
/sys/fs/cgroup/pids      : ignored
/sys/fs/cgroup/freezer   : ignored
/sys/fs/cgroup/perf_event: ignored
/sys/fs/cgroup/net_cls,net_prio: ignored
/sys/fs/cgroup/blkio     : ignored
/sys/fs/cgroup/hugetlb   : ignored
/sys/fs/cgroup/cpu,cpuacct: ignored
/sys/fs/cgroup/devices   : ignored
/sys/fs/bpf              : ignored
/sys/firmware/efi/efivars: ignored
/sys/fs/pstore           : ignored
/sys/fs/cgroup/systemd   : ignored
/sys/fs/cgroup/unified   : ignored
/sys/fs/cgroup           : ignored
/run/lock                : ignored
/run                     : ignored
/dev/pts                 : ignored
/dev/shm                 : ignored
/sys/kernel/security     : ignored
/proc                    : ignored
/sys                     : ignored
/                        : ignored
/.rw                     : ignored
/.ro                     : ignored
/image                   : ignored
/dev                     : ignored
+ cat /proc/mounts
udevfs /dev devtmpfs rw,relatime,size=8192k,nr_inodes=620225,mode=755 0 0
/dev/sr0 /image iso9660 ro,relatime,nojoliet,check=s,map=n,blocksize=2048 0 0
/dev/loop0 /.ro squashfs ro,relatime 0 0
none /.rw tmpfs rw,relatime,mode=755 0 0
overlay / overlay rw,relatime,lowerdir=/root.ro,upperdir=/root.rw/rw,workdir=/root.rw/wk 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,noexec,relatime,gid=19 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,nodev,mode=755 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k,mode=755 0 0
tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0
cgroup2 /sys/fs/cgroup/unified cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0
cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd 0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
efivarfs /sys/firmware/efi/efivars efivarfs rw,nosuid,nodev,noexec,relatime 0 0
bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=7488 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
mqueue /dev/mqueue mqueue rw,relatime 0 0
configfs /sys/kernel/config configfs rw,relatime 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k,mode=755 0 0
tmpfs /tmp tmpfs rw,nosuid,relatime 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,mode=755 0 0
tmpfs /run/user/500 tmpfs rw,nosuid,nodev,noexec,relatime,size=501928k,mode=700,uid=500,gid=500 0 0
tmpfs /var/run/user/500 tmpfs rw,nosuid,nodev,noexec,relatime,size=501928k,mode=700,uid=500,gid=500 0 0
/dev/evms/sda3 /mnt/destination ext4 ro,relatime,data=ordered 0 0
proc /mnt/destination/proc proc rw,nosuid,noexec,relatime,gid=19 0 0
sysfs /mnt/destination/sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
+ read dev mnt rest
+ grep &apos; /mnt/destination/&apos; /proc/mounts
+ umount -v /mnt/destination/proc
umount: /mnt/destination/proc unmounted
+ read dev mnt rest
+ umount -v /mnt/destination/sys
umount: /mnt/destination/sys unmounted
+ read dev mnt rest
+ mountpoint /mnt/destination
/mnt/destination is a mountpoint
+ umount -v /mnt/destination
umount: /mnt/destination: target is busy.
+ return 1 

Для regular-lxde-sysv:
cat /tmp/remount.log 
+ check_destdir
+ &apos;[&apos; -d /mnt/destination &apos;]&apos;
+ save_blkid_state
+ xargs -r blkid -c /dev/null
+ find /dev/mapper -type l
+ populate_fstab
+ &apos;[&apos; &apos;!&apos; -f /tmp/fstab &apos;]&apos;
+ cat /tmp/fstab
+ copy_chroot_binaries
+ useputfile=
+ &apos;[&apos; -x /mnt/destination/usr/share/make-initrd/tools/put-file &apos;]&apos;
+ useputfile=yes
++ mktemp -d /mnt/destination/tmp/copy_chroot_binaries.XXXXXXXXX
+ binddir=/mnt/destination/tmp/copy_chroot_binaries.9K2K46iZi
+ workdir=/tmp/copy_chroot_binaries.9K2K46iZi
+ mount --bind / /mnt/destination/tmp/copy_chroot_binaries.9K2K46iZi
+ for i in &apos;&quot;$MDADM&quot;&apos; &apos;&quot;$LVM&quot;&apos; &apos;&quot;$CRYPTSETUP&quot;&apos;
+ &apos;[&apos; &apos;!&apos; -x /sbin/mdadm -a -x /mnt/destination/sbin/mdadm &apos;]&apos;
+ for i in &apos;&quot;$MDADM&quot;&apos; &apos;&quot;$LVM&quot;&apos; &apos;&quot;$CRYPTSETUP&quot;&apos;
+ &apos;[&apos; &apos;!&apos; -x /sbin/lvm -a -x /mnt/destination/sbin/lvm &apos;]&apos;
+ for i in &apos;&quot;$MDADM&quot;&apos; &apos;&quot;$LVM&quot;&apos; &apos;&quot;$CRYPTSETUP&quot;&apos;
+ &apos;[&apos; &apos;!&apos; -x /sbin/cryptsetup -a -x /mnt/destination/sbin/cryptsetup &apos;]&apos;
+ &apos;[&apos; -e /mnt/destination/etc/lvm/lvm.conf &apos;]&apos;
+ echo &apos;remount: copying /etc/lvm/lvm.conf&apos;
remount: copying /etc/lvm/lvm.conf
+ &apos;[&apos; -n yes &apos;]&apos;
+ chroot /mnt/destination /usr/share/make-initrd/tools/put-file /tmp/copy_chroot_binaries.9K2K46iZi /etc/lvm/lvm.conf
+ &apos;[&apos; -n yes &apos;]&apos;
+ umount /mnt/destination/tmp/copy_chroot_binaries.9K2K46iZi
+ rmdir /mnt/destination/tmp/copy_chroot_binaries.9K2K46iZi
+ umount_chroot
+ fuser -vv -k -m /mnt/destination
                     USER        PID ACCESS COMMAND
/mnt/destination:    root     kernel mount /mnt/destination
+ &apos;[&apos; -x /sbin/cryptsetup &apos;]&apos;
+ pushd /dev/mapper
/dev/mapper /
+ for i in &apos;*_luks&apos;
+ /sbin/cryptsetup luksClose &apos;*_luks&apos;
Device *_luks is not active.
+ dmsetup remove &apos;*_luks&apos;
device-mapper: remove ioctl on \x2a_luks failed: No such device or address
Command failed.
+ popd
/
+ chroot /mnt/destination swapoff -a
+ umount /mnt/destination/dev/pts
umount: /mnt/destination/dev/pts: not mounted.
+ chroot /mnt/destination umount -a -v
/run                     : successfully unmounted
/sys                     : ignored
/dev                     : successfully unmounted
/proc                    : ignored
/                        : successfully unmounted
+ umount -a -v -t fuse.gvfsd-fuse
/mnt/destination/sys     : ignored
/mnt/destination/proc    : ignored
/mnt/destination         : ignored
/home/altlinux/.gvfs     : successfully unmounted
/run/user/500            : ignored
/tmp                     : ignored
/dev/shm                 : ignored
/dev/pts                 : ignored
/run                     : ignored
/proc                    : ignored
/sys                     : ignored
/                        : ignored
/.rw                     : ignored
/.ro                     : ignored
/image                   : ignored
/dev                     : ignored
+ cat /proc/mounts
udevfs /dev devtmpfs rw,relatime,size=8192k,nr_inodes=621957,mode=755 0 0
/dev/sr0 /image iso9660 ro,relatime,nojoliet,check=s,map=n,blocksize=2048 0 0
/dev/loop0 /.ro squashfs ro,relatime 0 0
none /.rw tmpfs rw,relatime,mode=755 0 0
overlay / overlay rw,relatime,lowerdir=/root.ro,upperdir=/root.rw/rw,workdir=/root.rw/wk 0 0
sysfs /sys sysfs rw,relatime 0 0
proc /proc proc rw,relatime 0 0
runfs /run tmpfs rw,relatime,size=5120k,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
shmfs /dev/shm tmpfs rw,relatime 0 0
tmpfs /tmp tmpfs rw,nosuid,relatime 0 0
none /run/user/500 tmpfs rw,relatime,mode=700,uid=500 0 0
/dev/evms/sda2 /mnt/destination ext4 ro,relatime,data=ordered 0 0
proc /mnt/destination/proc proc rw,relatime 0 0
sysfs /mnt/destination/sys sysfs rw,relatime 0 0
+ read dev mnt rest
+ grep &apos; /mnt/destination/&apos; /proc/mounts
+ umount -v /mnt/destination/proc
umount: /mnt/destination/proc unmounted
+ read dev mnt rest
+ umount -v /mnt/destination/sys
umount: /mnt/destination/sys unmounted
+ read dev mnt rest
+ mountpoint /mnt/destination
/mnt/destination is a mountpoint
+ umount -v /mnt/destination
umount: /mnt/destination: target is busy.
+ return 1

При этом, если выполнить

umount -v /mnt/destination

то он проходит успешно.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176804</commentid>
    <comment_count>1</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2018-12-18 18:47:58 +0300</bug_when>
    <thetext>Сегодня в virtualbox три раза подряд поймал на cinnamon в virtualbox. В qemu проблема не воспроизводится также, как и на реальном железе, по крайней мере пока.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176805</commentid>
    <comment_count>2</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2018-12-18 19:18:28 +0300</bug_when>
    <thetext>При этом

umount -v /mnt/destination

не отрабатывает.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>178252</commentid>
    <comment_count>3</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2019-02-06 17:32:49 +0300</bug_when>
    <thetext>Эта проблема исключительно в virtualbox была. После починки https://bugzilla.altlinux.org/show_bug.cgi?id=35991 больше не воспроизводилась.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>178255</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2019-02-06 17:50:12 +0300</bug_when>
    <thetext>Лихо закручен сюжет...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>178721</commentid>
    <comment_count>5</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2019-02-19 07:31:51 +0300</bug_when>
    <thetext>Опять поймал на regular-cinnamon в virtualbox.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185504</commentid>
    <comment_count>6</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2019-11-11 18:51:17 +0300</bug_when>
    <thetext>Опять поймал в virtualbox.
Отмонтироваться /mnt/destination не хочет, так как:
mount |grep destination
/dev/evms/sda2 on /mnt/destination type ext4 (ro,relatime)
tmpfs on /mnt/destination/sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /mnt/destination/sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /mnt/destination/sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
cgroup on /mnt/destination/sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /mnt/destination/sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /mnt/destination/sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /mnt/destination/sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /mnt/destination/sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /mnt/destination/sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /mnt/destination/sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /mnt/destination/sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /mnt/destination/sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /mnt/destination/sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185565</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2019-11-14 15:42:21 +0300</bug_when>
    <thetext>(В ответ на комментарий №6)
&gt; Опять поймал в virtualbox.
&gt; Отмонтироваться /mnt/destination не хочет, так как:
&gt; mount |grep destination

Во, так уже понятней.  Теперь попробуй в консоли предпринять действия по отмонтированию вот этого всего (сходу не соображу, чего бы в umount_chroot() им не хватило umount -a -v).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185568</commentid>
    <comment_count>8</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2019-11-14 17:57:27 +0300</bug_when>
    <thetext>(В ответ на комментарий №7)
&gt; (В ответ на комментарий №6)
&gt; &gt; Опять поймал в virtualbox.
&gt; &gt; Отмонтироваться /mnt/destination не хочет, так как:
&gt; &gt; mount |grep destination
&gt; 
&gt; Во, так уже понятней.  Теперь попробуй в консоли предпринять действия по
&gt; отмонтированию вот этого всего (сходу не соображу, чего бы в umount_chroot() им
&gt; не хватило umount -a -v).

такое ощущение, что в /mnt/destination кто-то запустил какой-то сервис.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185569</commentid>
    <comment_count>9</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2019-11-14 18:04:06 +0300</bug_when>
    <thetext>Отмонтировать удалось всё, кроме
/mnt/destination/sys/fs/cgroup/unified</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185570</commentid>
    <comment_count>10</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2019-11-14 19:44:22 +0300</bug_when>
    <thetext>Возможно ли выяснить, кто его держит?  В чруте:

fuser -vv /sys/fs/cgroup/unified
или
lsof | grep -F /sys/fs/cgroup/unified

Либо на хосте по /mnt/destination/sys/fs/cgroup/unified (но утилит может
не оказаться в install2).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185571</commentid>
    <comment_count>11</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2019-11-14 20:36:02 +0300</bug_when>
    <thetext>Из  chroot:
# fuser -vv /sys/fs/cgroup/unified/
                     ПОЛЬЗ-ЛЬ    PID ДОСТУП КОМАНДА
/sys/fs/cgroup/unified:
                     root     kernel mount /sys/fs/cgroup/unified
                     root          1 f.... systemd

Из основной системы, lsof в live не входит:
# lsof /mnt/destination/sys/fs/cgroup/unified
COMMAND PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
systemd   1     root    7r   DIR   0,28        0    1 /sys/fs/cgroup/unified
systemd 989 altlinux    7r   DIR   0,28        0  669 /sys/fs/cgroup/unified/user.slice/user-500.slice/user@500.service</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>189746</commentid>
    <comment_count>12</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2020-05-06 17:19:37 +0300</bug_when>
    <thetext>*** Bug 38445 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196016</commentid>
    <comment_count>13</comment_count>
    <who name="mikhailnov">m</who>
    <bug_when>2021-02-04 14:43:02 +0300</bug_when>
    <thetext>Может, посмотреть список процессов, запущенных в чруте? На зависание триггеров rpm похоже.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196020</commentid>
    <comment_count>14</comment_count>
    <who name="Anton Shevtsov">shevtsov.anton</who>
    <bug_when>2021-02-04 15:16:22 +0300</bug_when>
    <thetext>С ноутом https://market.yandex.ru/product--noutbuk-prestigio-smartbook-141-c2/111259538?onstock=0 все попытки установить альт приводят к 100% краху - remount error.

в чруте fuser -vv /sys/fs/cgroup/unified
приводит к  
невозможно открыть /proc/dev/unix: нет файла или каталога.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196034</commentid>
    <comment_count>15</comment_count>
    <who name="Leonid Krivoshein">klark</who>
    <bug_when>2021-02-05 04:13:48 +0300</bug_when>
    <thetext>В remount могут быть ошибки, давно подозревал. У меня есть не совсем обычный кейс, в котором установка даже не начинается, обламываясь на remount сразу после разбивки диска. Здесь же видна ошибка в следующем фрагменте из-за одинарных кавычек или -f в шебанге:

+ for i in &apos;*_luks&apos;
+ /sbin/cryptsetup luksClose &apos;*_luks&apos;
Device *_luks is not active.
+ dmsetup remove &apos;*_luks&apos;
device-mapper: remove ioctl on \x2a_luks failed: No such device or address
Command failed.
(In reply to Антон Мидюков from comment #9)

&gt; Отмонтировать удалось всё, кроме
&gt; /mnt/destination/sys/fs/cgroup/unified
Кто и зачем на системе без systemd монтирует /sys/fs/cgroup? Говорится что-либо про это в целевом /etc/fstab?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196035</commentid>
    <comment_count>16</comment_count>
    <who name="Leonid Krivoshein">klark</who>
    <bug_when>2021-02-05 04:30:24 +0300</bug_when>
    <thetext>(In reply to Антон Мидюков from comment #11)
&gt; # lsof /mnt/destination/sys/fs/cgroup/unified
&gt; COMMAND PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
&gt; systemd   1     root    7r   DIR   0,28        0    1 /sys/fs/cgroup/unified
&gt; systemd 989 altlinux    7r   DIR   0,28        0  669
Как там вообще оказался systemd, интересно? Согласно man 7 cgroups он и монтирует всю эту пачку при своей загрузке. Подозреваю, что отмонтировать не может по той причине, что кто-то (remount) до этого успевает отмонтировать /proc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196036</commentid>
    <comment_count>17</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2021-02-05 05:00:50 +0300</bug_when>
    <thetext>(Ответ для Leonid Krivoshein на комментарий #16)
&gt; (In reply to Антон Мидюков from comment #11)
&gt; &gt; # lsof /mnt/destination/sys/fs/cgroup/unified
&gt; &gt; COMMAND PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
&gt; &gt; systemd   1     root    7r   DIR   0,28        0    1 /sys/fs/cgroup/unified
&gt; &gt; systemd 989 altlinux    7r   DIR   0,28        0  669
&gt; Как там вообще оказался systemd, интересно? Согласно man 7 cgroups он и
&gt; монтирует всю эту пачку при своей загрузке. Подозреваю, что отмонтировать не
&gt; может по той причине, что кто-то (remount) до этого успевает отмонтировать
&gt; /proc.

В смысле откуда? Это live с systemd.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196555</commentid>
    <comment_count>18</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2021-02-26 16:27:55 +0300</bug_when>
    <thetext>*** Bug 39741 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196602</commentid>
    <comment_count>19</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2021-03-01 12:55:41 +0300</bug_when>
    <thetext>(Ответ для Leonid Krivoshein на комментарий #15)
&gt; В remount могут быть ошибки, давно подозревал.
Обычно это бывают ошибки класса &quot;не учтено то, что либо не тестировалось, либо натворили после этого кода&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>206915</commentid>
    <comment_count>20</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2022-01-20 19:18:51 +0300</bug_when>
    <thetext>Закрываю, так как воспроизвести проблему не получается очень долго.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>