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-users

Re: [Xen-users] Devices not available in domain

Subject: Re: [Xen-users] Devices not available in domain
From: Gisbert Amm <gia@xxxxxxxxxxx>
Date: Fri, 08 Apr 2005 10:04:43 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 08 Apr 2005 08:05:10 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Prayer.1.0.13.0504080851230.8192@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <42555D84.9090202@xxxxxxxxxxx> <425635D2.7020707@xxxxxxxxxxx> <Prayer.1.0.13.0504080851230.8192@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040114
M.A. Williamson wrote:
Your permissions look a bit weird. If you're root, you can access /dev/null, right? Can you just try chmod-ing the device file? (e.g. chmod 666 /dev/null) so that everyone can read / write it?

After doing chmod 666 /dev/null the error message is not displayed anymore. You were right, thank you.

How did you make this filesystem? It looks like something has gone wrong with permissions in the process of your creating the filesystem image... Strange.

Argh, I now understand what I did wrong: I created a file with dd, connected it with a loopback device using losetup, mounted it and populated the filesystem copying the necessary parts of my existing installation into it. However, I missed the preserve option when doing cp! Therefore the permissions e.g. for /dev/null where wrong. I should have done cp -p ...

Sorry for bothering you with such a stupid mistake.

Gisbert

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