FSArchiver 0.6.16 doesn't check for mount status

Post here if you found a bug or something really not expected in the program
Post Reply
Dukers
Posts: 19
Joined: Fri Jul 09, 2010 1:31 pm

FSArchiver 0.6.16 doesn't check for mount status

Post by Dukers » Tue Feb 19, 2013 9:11 pm

Code: Select all

# rpm -q fsarchiver
fsarchiver-0.6.16-1.fc18.x86_64
My Fedora 18 installation is on /dev/sda1 (SELinux is off).

Code: Select all

# fsarchiver -v savefs /mnt/backup.fsa /dev/sda1
It starts right away, even if the partition is mounted rw:

Code: Select all

# findmnt /dev/sda1
TARGET SOURCE    FSTYPE OPTIONS
/      /dev/sda1 ext4   rw,relatime,seclabel,data=ordered

Code: Select all

# cat /proc/self/mountinfo
15 33 0:3 / /proc rw,nosuid,nodev,noexec,relatime shared:5 - proc proc rw
16 33 0:14 / /sys rw,nosuid,nodev,noexec,relatime shared:6 - sysfs sysfs rw,seclabel
17 33 0:5 / /dev rw,nosuid shared:2 - devtmpfs devtmpfs rw,seclabel,size=466620k,nr_inodes=116655,mode=755
18 16 0:15 / /sys/kernel/security rw,nosuid,nodev,noexec,relatime shared:7 - securityfs securityfs rw
19 16 0:13 / /sys/fs/selinux rw,relatime shared:8 - selinuxfs selinuxfs rw
20 17 0:16 / /dev/shm rw,nosuid,nodev shared:3 - tmpfs tmpfs rw,seclabel
21 17 0:10 / /dev/pts rw,nosuid,noexec,relatime shared:4 - devpts devpts rw,seclabel,gid=5,mode=620,ptmxmode=000
22 33 0:17 / /run rw,nosuid,nodev shared:19 - tmpfs tmpfs rw,seclabel,mode=755
23 16 0:18 / /sys/fs/cgroup rw,nosuid,nodev,noexec shared:9 - tmpfs tmpfs rw,seclabel,mode=755
24 23 0:19 / /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime shared:10 - cgroup cgroup rw,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd
25 23 0:20 / /sys/fs/cgroup/cpuset rw,nosuid,nodev,noexec,relatime shared:11 - cgroup cgroup rw,cpuset
26 23 0:21 / /sys/fs/cgroup/cpu,cpuacct rw,nosuid,nodev,noexec,relatime shared:12 - cgroup cgroup rw,cpuacct,cpu
27 23 0:22 / /sys/fs/cgroup/memory rw,nosuid,nodev,noexec,relatime shared:13 - cgroup cgroup rw,memory
28 23 0:23 / /sys/fs/cgroup/devices rw,nosuid,nodev,noexec,relatime shared:14 - cgroup cgroup rw,devices
29 23 0:24 / /sys/fs/cgroup/freezer rw,nosuid,nodev,noexec,relatime shared:15 - cgroup cgroup rw,freezer
30 23 0:25 / /sys/fs/cgroup/net_cls rw,nosuid,nodev,noexec,relatime shared:16 - cgroup cgroup rw,net_cls
31 23 0:26 / /sys/fs/cgroup/blkio rw,nosuid,nodev,noexec,relatime shared:17 - cgroup cgroup rw,blkio
32 23 0:27 / /sys/fs/cgroup/perf_event rw,nosuid,nodev,noexec,relatime shared:18 - cgroup cgroup rw,perf_event
33 1 8:1 / / rw,relatime shared:1 - ext4 /dev/sda1 rw,seclabel,data=ordered
34 15 0:28 / /proc/sys/fs/binfmt_misc rw,relatime shared:20 - autofs systemd-1 rw,fd=29,pgrp=1,timeout=300,minproto=5,maxproto=5,direct
35 16 0:7 / /sys/kernel/debug rw,relatime shared:21 - debugfs debugfs rw
36 17 0:29 / /dev/hugepages rw,relatime shared:22 - hugetlbfs hugetlbfs rw,seclabel
37 17 0:12 / /dev/mqueue rw,relatime shared:23 - mqueue mqueue rw,seclabel
38 33 0:30 / /tmp rw shared:24 - tmpfs tmpfs rw,seclabel
39 16 0:31 / /sys/kernel/config rw,relatime shared:25 - configfs configfs rw
40 16 0:32 / /sys/fs/fuse/connections rw,relatime shared:26 - fusectl fusectl rw
41 33 8:17 / /mnt rw,relatime shared:27 - fuseblk /dev/sdb1 rw,user_id=0,group_id=0,allow_other,blksize=4096

Code: Select all

Analysing filesystem on /dev/sda1...
============= archiving filesystem /dev/sda1 =============
-[00][  0%][DIR     ] /
-[00][  0%][SYMLINK ] /sbin
-[00][  0%][DIR     ] /srv
-[00][  0%][DIR     ] /srv/pac
-[00][  0%][REGFILEM] /srv/pac/proxy.pac
-[00][  0%][REGFILEM] /.readahead
-[00][  0%][DIR     ] /sys
-[00][  0%][DIR     ] /mnt
-[00][  0%][DIR     ] /run
-[00][  0%][DIR     ] /run/saslauthd
-[00][  0%][DIR     ] /run/blkid
-[00][  0%][REGFILEM] /run/blkid/blkid.tab
-[00][  0%][DIR     ] /run/setrans
-[00][  0%][REGFILE ] /run/utmp
-[00][  0%][DIR     ] /run/lock
-[00][  0%][DIR     ] /run/lock/ppp
-[00][  0%][DIR     ] /run/console
-[00][  0%][DIR     ] /run/faillock
-[00][  0%][DIR     ] /run/wpa_supplicant
-[00][  0%][DIR     ] /run/sepermit
-[00][  0%][DIR     ] /run/ppp
-[00][  0%][DIR     ] /run/netreport
-[00][  0%][DIR     ] /run/plymouth
-[00][  0%][DIR     ] /tmp
-[00][  0%][REGFILE ] /tmp/yum.log
-[00][  0%][REGFILEM] /tmp/ks-script-ojJD6G
-[00][  0%][DIR     ] /usr

...

admin
Site Admin
Posts: 550
Joined: Sat Feb 21, 2004 12:12 pm

Re: FSArchiver 0.6.16 doesn't check for mount status

Post by admin » Sat Feb 23, 2013 3:08 pm

Thanks for your bug report. Can you please test fsarchiver-0.6.17-beta001.tar.gz

Dukers
Posts: 19
Joined: Fri Jul 09, 2010 1:31 pm

Re: FSArchiver 0.6.16 doesn't check for mount status

Post by Dukers » Mon Feb 25, 2013 12:32 pm

Fixed. Thanks!

Post Reply