WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 763] DomU install fails when using an ext3 immutable ISO

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 763] DomU install fails when using an ext3 immutable ISO file
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Fri, 29 Sep 2006 07:04:51 -0700
Delivery-date: Fri, 29 Sep 2006 07:05:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <bug-763-3@xxxxxxxxxxxxxxxxxxxxxxxxxxx/bugzilla/>
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=763





------- Comment #2 from xenresu@xxxxxxxxx  2006-09-29 07:04 -------
### when the immutable flag is set, the ro option is required
### for the mount command to succeed

+=====+
suse-xen0:/xen # ls -l /xen/*.iso
-rw-r--r-- 1 root root 3749740544 Sep 29 09:45 /xen/OpenSuse.10.1.i386.iso
suse-xen0:/xen # lsattr /xen/*.iso
------------- /xen/OpenSuse.10.1.i386.iso
suse-xen0:/xen # chattr +i /xen/*.iso
suse-xen0:/xen # lsattr /xen/*.iso
----i-------- /xen/OpenSuse.10.1.i386.iso
suse-xen0:/xen # mount -o loop /xen/OpenSuse.10.1.i386.iso /mnt
/xen/OpenSuse.10.1.i386.iso: Permission denied
suse-xen0:/xen # mount -o loop,ro /xen/OpenSuse.10.1.i386.iso /mnt
suse-xen0:/xen # echo $?
0
+=====+

### when the immutable flag is unset, the ro option is not required
### for the mount command to succeed

suse-xen0:/xen # chattr -i /xen/*.iso
suse-xen0:/xen # lsattr /xen/*.iso
------------- /xen/OpenSuse.10.1.i386.iso
suse-xen0:/xen # mount -o loop /xen/OpenSuse.10.1.i386.iso /mnt
suse-xen0:/xen # echo $?
0

+=====+


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs