LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 04-22-2009, 03:28 AM   #1
spoonerism
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
Cannot mount any files on debian VPS, virtualization restrictions?


I can't mount any files on my VPS

Code:
$ mkdir 1
$ mkdir 2
$ sudo mount --bind 1 2
mount: permission denied
Thing is, due to the virtualization technology, I'm forbidden from doing anything to the kernel ( I can't load modules, etc ). I'm wondering if that would also stop me mounting things. ( This would make sense as far as mounting external media goes, but since I'm only trying to mount things which are already in the file system, well, dash it all I rather thought I could you know! )

Last edited by spoonerism; 04-22-2009 at 03:33 AM.
 
Old 04-23-2009, 03:34 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 163Reputation: 163
Quote:
Originally Posted by spoonerism View Post
I can't mount any files on my VPS

Code:
$ mkdir 1
$ mkdir 2
$ sudo mount --bind 1 2
mount: permission denied
Thing is, due to the virtualization technology, I'm forbidden from doing anything to the kernel ( I can't load modules, etc ). I'm wondering if that would also stop me mounting things. ( This would make sense as far as mounting external media goes, but since I'm only trying to mount things which are already in the file system, well, dash it all I rather thought I could you know! )
Well if you're not crossing a partition boundary, just use a hard link, or explain what you're actually trying to accomplish and we can tell you a work around.
 
Old 04-23-2009, 03:39 PM   #3
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 163Reputation: 163
Derp! Posted twice.

Last edited by rweaver; 04-23-2009 at 03:42 PM.
 
Old 04-24-2009, 06:54 AM   #4
spoonerism
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Original Poster
Rep: Reputation: 0
My program needs to bind sockets, but I want to run it in a chroot. In a chroot, I need /dev to bind the socket. Which must be mounted.

The work around is to bind the socket outside the chroot, and then call chroot from the program code - this is what I'm intending to do, once my x86 development box is working again ( the screen broke )
 
  


Reply

Tags
debian, vps


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggestions for debian-capable VPS services mvidberg Linux - Server 2 02-13-2009 09:07 AM
Debian VPS... without APT !! sylvaticus Debian 9 07-06-2007 05:24 PM
Setting user account restrictions for cable network with server on Debian 4.0! aliasgherman Linux - Networking 1 04-10-2007 10:29 PM
Installing Debian on a Virtuzzo Vps Cheza Debian 2 09-20-2006 02:46 PM
Where can I download UML VPS or Xen VPS to make a virtual private server? abefroman Linux - Software 3 12-09-2005 11:00 AM


All times are GMT -5. The time now is 05:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration