Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

NFS in schroot/sbuild

12 views
Skip to first unread message

Khaled Blah

unread,
Sep 4, 2013, 8:50:02 AM9/4/13
to
Hi all,

I'd like to mount an NFS mount point into a schroot session. I
understand I need to edit /etc/schroot/sbuild/fstab on the host to do so
but all my attempts so far failed. Does anyone here know how it can be done?

Regards,

--
Khaled Blah
System Administrator, Mara Systems (www.marasystems.de)
Bismarckstr. 24
66111 Saarbruecken
GERMANY


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/52272AC4...@marasystems.de

Chris Bannister

unread,
Sep 4, 2013, 11:20:02 AM9/4/13
to
On Wed, Sep 04, 2013 at 02:42:44PM +0200, Khaled Blah wrote:
> Hi all,
>
> I'd like to mount an NFS mount point into a schroot session. I
> understand I need to edit /etc/schroot/sbuild/fstab on the host to do so
> but all my attempts so far failed. Does anyone here know how it can be done?

http://www.catb.org/~esr/faqs/smart-questions.html

IOW, what alterations did you make?
What did you expect to happen and what actually did happen?
Please include any error and syslog messages relevant to the problem.

--
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the
oppressing." --- Malcolm X


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20130904151616.GI27659@tal

Khaled Blah

unread,
Sep 6, 2013, 3:40:02 AM9/6/13
to
On 04.09.2013 17:16, Chris Bannister wrote:
> On Wed, Sep 04, 2013 at 02:42:44PM +0200, Khaled Blah wrote:
>> Hi all,
>>
>> I'd like to mount an NFS mount point into a schroot session. I
>> understand I need to edit /etc/schroot/sbuild/fstab on the host to do so
>> but all my attempts so far failed. Does anyone here know how it can be done?
>
> http://www.catb.org/~esr/faqs/smart-questions.html
>
> IOW, what alterations did you make?
> What did you expect to happen and what actually did happen?
> Please include any error and syslog messages relevant to the problem.
>

Hi Chris,

thanks for your reply. However, there is no error message or log that I
could provide. What I expect is to see the NFS resource being mounted
into my schroot environment but what I see is that it is not being
mounted. There is no error message for this. So, as you can see, I have
provided as much information as possible at this point. So if somebody
has hints in regard to my original question, please let me know.

Regards,

--
Khaled Blah
System Administrator, Mara Systems (www.marasystems.de)
Bismarckstr. 24
66111 Saarbruecken
GERMANY


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/522985DE...@marasystems.de

Roger Leigh

unread,
Oct 8, 2013, 5:50:01 PM10/8/13
to
On Fri, Sep 06, 2013 at 09:35:58AM +0200, Khaled Blah wrote:
> On 04.09.2013 17:16, Chris Bannister wrote:
> > On Wed, Sep 04, 2013 at 02:42:44PM +0200, Khaled Blah wrote:
> >> Hi all,
> >>
> >> I'd like to mount an NFS mount point into a schroot session. I
> >> understand I need to edit /etc/schroot/sbuild/fstab on the host to do so
> >> but all my attempts so far failed. Does anyone here know how it can be done?
> >
> > http://www.catb.org/~esr/faqs/smart-questions.html
> >
> > IOW, what alterations did you make?
> > What did you expect to happen and what actually did happen?
> > Please include any error and syslog messages relevant to the problem.
> >
>
> Hi Chris,
>
> thanks for your reply. However, there is no error message or log that I
> could provide. What I expect is to see the NFS resource being mounted
> into my schroot environment but what I see is that it is not being
> mounted. There is no error message for this. So, as you can see, I have
> provided as much information as possible at this point. So if somebody
> has hints in regard to my original question, please let me know.

Showing us the change you made to the fstab file would be a good start.
schroot can also be run in verbose mode with "-v" which will show you
what it's doing when running the setup scripts. Seeing that output
would also be helpful, or else we're just guessing what you did.

schroot's 10mount setup script just runs the regular mount command; so
there's nothing special about NFS here. But note that the mountpoint
is inside the chroot; schroot will prepend the chroot mount path to
this. Other than that, it's just the same as the normal /etc/fstab
entries.


Regards,
Roger

--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools
`- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/2013100821...@codelibre.net
0 new messages