Needs automount support

Bug #744451 reported by pakraticus
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
schroot (Debian)
Confirmed
Unknown
schroot (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: schroot

Feature request with code for implementation of feature.

Background.
Automount doesn't work properly with bind mounts.
Starting automount within a schroot does not work as expected.
As automount map scripts may be updating iptables, running the actual automount under a schroot may be a poor idea anyways.
And other users have struggled to get automount to work within schroot, I wrote a setup.d to handle automount with a schroot.
Attached is a script that handles those needs.
Script handles setup-start and setup-stop for persistant named schroots. Naming conventions may need to be tidied up. Documentation needs to be provided.

Thanks,
Chris Dukes

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: schroot 1.4.7-1ubuntu0.1
ProcVersionSignature: Ubuntu 2.6.35-28.49-server 2.6.35.11
Uname: Linux 2.6.35-28-server x86_64
Architecture: amd64
Date: Mon Mar 28 13:50:51 2011
InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: schroot

Revision history for this message
pakraticus (pakraticus) wrote :
Revision history for this message
pakraticus (pakraticus) wrote :

Chroot remains the least painful way for me to use i386 debs on an amd64 system.
Here is 21automount tidied up for natty. It should just automagically work for autofs users.
Hopefully it doesn't blow things up for non-autofs users.

Revision history for this message
Roger Leigh (rleigh) wrote :

Note that we will happily include additional setup scripts in schroot. However, since I look at the Ubuntu bug tracker about once every 2 years, it's much better to just send them to us directly, or file a bug in the Debian BTS!

Note that the 1.5.x (and shortly forthcoming 1.6.0) releases add the ability to run regular /etc/init.d services in the script, by starting and stopping them when you create and end a session. So it's possible to use the regular packaged services. It also adds support for user-defined configuration keys, so the automount configuration could be put directly into your schroot.conf chroot definition.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in schroot (Ubuntu):
status: New → Confirmed
Changed in schroot (Ubuntu):
importance: Undecided → Medium
Changed in schroot (Debian):
status: Unknown → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.