From: Jordi Pujol <jordipujolp@gmail.com>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: overlayfs patches for ovl_copy_up & ovl_rename
Date: Fri, 27 May 2011 17:03:32 +0200 [thread overview]
Message-ID: <201105271703.32695.jordipujolp@gmail.com> (raw)
In-Reply-To: <87wrhhzsa7.fsf@tucsk.pomaz.szeredi.hu>
Hello,
that is a list of some errors found when doiing a remaster that uses overlayfs
as a filesystem modification layer,
After doing a big package upgrade we note that the rootdir has some errors,
this is only a little percent of the total files contained in the filesystem,
44 files of 86173
overlayfs mounted on /tmp/live-net-remaster-pro1Wm/chroot type overlayfs
options rw,relatime,lowerdir=/tmp/live-net-remaster-
pro1Wm/image/00filesystem.squashfs,upperdir=/home/tmp.7P8ARuGANF
CASE 1: complete directory /usr/share/doc/xorg disappears,
is in lowerdir, has not been modified, but rootdir does not show it,
# lowerdir
# find /tmp/live-net-remaster-pro1Wm/image/00filesystem.squashfs/usr/share/doc/
-maxdepth 1 -name 'xorg*'
/tmp/live-net-remaster-pro1Wm/image/00filesystem.squashfs/usr/share/doc/xorg
# upperdir
# find /home/tmp.7P8ARuGANF/usr/share/doc/ -maxdepth 1 -name 'x*'
/home/tmp.7P8ARuGANF/usr/share/doc/xserver-xorg-video-ati
/home/tmp.7P8ARuGANF/usr/share/doc/xml-core
/home/tmp.7P8ARuGANF/usr/share/doc/xserver-xorg-video-radeon
(xorg is not listed)
# rootdir
# find /tmp/live-net-remaster-pro1Wm/chroot/usr/share/doc/ -maxdepth 1 -name
'xorg*'
(not listed)
directory xorg contains a lot of files, not shown in rootdir.
5 root root 4096 /usr/share/doc/xorg
-rw-r--r-- 1 root root 7381 /usr/share/doc/xorg/asciidoc-xhtml11.css
-rw-r--r-- 1 root root 4180 /usr/share/doc/xorg/asciidoc-xhtml11.js
drwxr-xr-x 2 root root 4096 /usr/share/doc/xorg/faq
-rw-r--r-- 1 root root 5163 /usr/share/doc/xorg/faq/general.html
-rw-r--r-- 1 root root 2732 /usr/share/doc/xorg/faq/general.txt
drwxr-xr-x 2 root root 4096 /usr/share/doc/xorg/howto
-rw-r--r-- 1 root root 11521 /usr/share/doc/xorg/howto/build-mesa.html
-rw-r--r-- 1 root root 2717 /usr/share/doc/xorg/howto/build-mesa.txt.gz
-rw-r--r-- 1 root root 10758 /usr/share/doc/xorg/howto/configure-input.html
-rw-r--r-- 1 root root 2891 /usr/share/doc/xorg/howto/configure-input.txt.gz
-rw-r--r-- 1 root root 2994 /usr/share/doc/xorg/howto/report-bugs.html
-rw-r--r-- 1 root root 1278 /usr/share/doc/xorg/howto/report-bugs.txt
-rw-r--r-- 1 root root 6703 /usr/share/doc/xorg/howto/triage-bugs.html
-rw-r--r-- 1 root root 3529 /usr/share/doc/xorg/howto/triage-bugs.txt
-rw-r--r-- 1 root root 8145 /usr/share/doc/xorg/howto/use-gdb.html
-rw-r--r-- 1 root root 1940 /usr/share/doc/xorg/howto/use-gdb.txt.gz
-rw-r--r-- 1 root root 10678 /usr/share/doc/xorg/howto/use-xrandr.html
-rw-r--r-- 1 root root 2615 /usr/share/doc/xorg/howto/use-xrandr.txt.gz
-rw-r--r-- 1 root root 3349 /usr/share/doc/xorg/index.html
-rw-r--r-- 1 root root 1341 /usr/share/doc/xorg/index.txt
drwxr-xr-x 2 root root 4096 /usr/share/doc/xorg/reference
-rw-r--r-- 1 root root 12636 /usr/share/doc/xorg/reference/dependencies.html
-rw-r--r-- 1 root root 3415
/usr/share/doc/xorg/reference/dependencies.txt.gz
-rw-r--r-- 1 root root 4690 /usr/share/doc/xorg/reference/squeeze-
backports.html
-rw-r--r-- 1 root root 2565 /usr/share/doc/xorg/reference/squeeze-
backports.txt
-rw-r--r-- 1 root root 3529 /usr/share/doc/xorg/reference/upstream-
contacts.html
-rw-r--r-- 1 root root 1392 /usr/share/doc/xorg/reference/upstream-
contacts.txt
-rw-r--r-- 1 root root 1953 /usr/share/doc/xorg/upstream-features.html
-rw-r--r-- 1 root root 556 /usr/share/doc/xorg/upstream-features.txt
-rw-r--r-- 1 root root 179 /usr/share/doc/xorg/xsf.css
-rw-r--r-- 1 root root 3914 /usr/share/doc/xorg/xsf.png
-rw-r--r-- 1 root root 11221 /usr/share/doc/xorg/xsf.svg
CASE 2: link /usr/share/man/man1/ucat.1.gz -> unp.1.gz
also disappears, same obs. as before,
# lowerdir
# find /tmp/live-net-remaster-
pro1Wm/image/00filesystem.squashfs/usr/share/man/man1/ -maxdepth 1 -name
'ucat*'
/tmp/live-net-remaster-
pro1Wm/image/00filesystem.squashfs/usr/share/man/man1/ucat.1.gz
# upperdir
# find /home/tmp.7P8ARuGANF/usr/share/man/man1 -maxdepth 1 -name 'ucat*'
(not listed)
# rootdir
# find /tmp/live-net-remaster-pro1Wm/chroot/usr/share/man/man1/ -maxdepth 1 -
name 'ucat1*'
(not listed)
CASE 3: file /var/lib/dpkg/info/krdc.postrm
has been modified, but is not in rootdir
# lowerdir
# find /tmp/live-net-remaster-
pro1Wm/image/00filesystem.squashfs/var/lib/dpkg/info/ -maxdepth 1 -name
'krdc.postrm*'
/tmp/live-net-remaster-
pro1Wm/image/00filesystem.squashfs/var/lib/dpkg/info/krdc.postrm
ls -la /tmp/live-net-remaster-
pro1Wm/image/00filesystem.squashfs/var/lib/dpkg/info/krdc.postrm
-rwxr-xr-x 1 root root 132 2010-11-28 16:51 /tmp/live-net-remaster-
pro1Wm/image/00filesystem.squashfs/var/lib/dpkg/info/krdc.postrm
# upperdir
# find /home/tmp.7P8ARuGANF/var/lib/dpkg/info/ -maxdepth 1 -name 'krdc.postrm*'
/home/tmp.7P8ARuGANF/var/lib/dpkg/info/krdc.postrm
# ls -la /home/tmp.7P8ARuGANF/var/lib/dpkg/info/krdc.postrm
-rwxr-xr-x 1 root root 132 2011-05-26 04:35
/home/tmp.7P8ARuGANF/var/lib/dpkg/info/krdc.postrm
# rootdir
# find /tmp/live-net-remaster-pro1Wm/chroot/var/lib/dpkg/info/ -maxdepth 1 -
name 'krdc.postrm*'
(not listed)
CASE 4: file /var/lib/dpkg/info/libgraphicsmagick3.shlibs
not modified, is not in rootdir
# lowerdir
# find /tmp/live-net-remaster-
pro1Wm/image/00filesystem.squashfs/var/lib/dpkg/info/ -maxdepth 1 -name
'libgraphicsmagick3.shlibs*'
/tmp/live-net-remaster-
pro1Wm/image/00filesystem.squashfs/var/lib/dpkg/info/libgraphicsmagick3.shlibs
# ls -la /tmp/live-net-remaster-
pro1Wm/image/00filesystem.squashfs/var/lib/dpkg/info/libgraphicsmagick3.shlibs
-rw-r--r-- 1 root root 82 2011-05-03 20:30 /tmp/live-net-remaster-
pro1Wm/image/00filesystem.squashfs/var/lib/dpkg/info/libgraphicsmagick3.shlibs
# upperdir
# find /home/tmp.7P8ARuGANF/var/lib/dpkg/info/ -maxdepth 1 -name
'libgraphicsmagick3.shlibs*'
(not listed)
# rootdir
# find /tmp/live-net-remaster-pro1Wm/chroot/var/lib/dpkg/info/ -maxdepth 1 -
name 'libgraphicsmagick3.shlibs*'
(not listed)
some additional files about this test can be found in:
http://livenet.selfip.com/ftp/debian/overlayfs/ovl-test.tar.bz2
Thanks,
Jordi Pujol
Live never ending Tale
GNU/Linux Live forever!
http://livenet.selfip.com
next prev parent reply other threads:[~2011-05-27 15:03 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-04 14:59 overlayfs patches for ovl_copy_up & ovl_rename Jordi Pujol
2011-05-05 9:06 ` Miklos Szeredi
2011-05-09 6:38 ` Jordi Pujol
2011-05-10 16:20 ` Miklos Szeredi
2011-05-17 8:43 ` Miklos Szeredi
2011-05-17 17:18 ` Jordi Pujol
2011-05-17 18:07 ` Miklos Szeredi
2011-05-18 7:44 ` Jordi Pujol
2011-05-18 8:42 ` Miklos Szeredi
2011-05-19 7:47 ` Jordi Pujol
2011-05-19 8:49 ` Miklos Szeredi
2011-05-19 9:24 ` Jordi Pujol
2011-05-19 9:52 ` Miklos Szeredi
2011-05-19 13:34 ` Jordi Pujol
2011-05-21 5:10 ` Jordi Pujol
2011-05-23 9:21 ` Miklos Szeredi
2011-05-24 15:53 ` Jordi Pujol
2011-05-27 15:03 ` Jordi Pujol [this message]
2011-05-31 9:01 ` Miklos Szeredi
2011-05-19 8:52 ` Jordi Pujol
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201105271703.32695.jordipujolp@gmail.com \
--to=jordipujolp@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=miklos@szeredi.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.