FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian KDE

 
 
LinkBack Thread Tools
 
Old 06-27-2010, 07:21 PM
Roger Leigh
 
Default Bug#586333: Debian desktop support for virtualisation

On Sun, Jun 27, 2010 at 10:48:25AM +0200, Josselin Mouette wrote:
> Le dimanche 27 juin 2010 * 01:40 +0100, Roger Leigh a écrit :
> > On Fri, Jun 25, 2010 at 01:46:41PM +0200, Josselin Mouette wrote:
> > > You may also need (but I haven’t checked):
> > > * /var/run/cups for printing
> > > * /var/run/avahi-daemon
> > > and some others that I’m forgetting.
> >
> > Thanks! I think we now have most of these. We don't preserve the
> > environment by default (you have to use the -p option), but we
> > could make that automatic in a future release by adding a new
> > configuration option.
>
> You should definitely pass the following environment variables without
> asking, since GNOME applications won’t work without them:

[...]

I've added a 'preserve-environment=true|false' option today, which
will pass the entire environment through minus some filtering for
security (which doesn't cover any of the variables in your list).

> Passing all of /var/run looks a bit dangerous to me since it could lead
> some scripts in the chroot believe that a daemon is started in the
> chroot. I’m not sure if that’s a real problem, but you should probably
> at least print a warning somewhere.

Agreed. I'll just limit this to /var/run/gdm3 in the next upload.
Unfortunately, because we can't be sure gdm3 is installed, it will
need to be commented out by default. Or we need to make schroot-mount
less picky about mount failures. I would be somewhat dubious about
doing that though, since it would mask a whole set of failures and
could have security implications.

So it's still not perfect, but I think we can easily document the
few minor bits of tweaking required--the major bits are all done at
least.


Regards,
Roger

--
.'`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
 
Old 06-30-2010, 11:59 AM
Goswin von Brederlow
 
Default Bug#586333: Debian desktop support for virtualisation

Roger Leigh <rleigh@codelibre.net> writes:

> On Sun, Jun 27, 2010 at 10:48:25AM +0200, Josselin Mouette wrote:
>> Le dimanche 27 juin 2010 * 01:40 +0100, Roger Leigh a écrit :
>> > On Fri, Jun 25, 2010 at 01:46:41PM +0200, Josselin Mouette wrote:
>> > > You may also need (but I haven??t checked):
>> > > * /var/run/cups for printing
>> > > * /var/run/avahi-daemon
>> > > and some others that I??m forgetting.
>> >
>> > Thanks! I think we now have most of these. We don't preserve the
>> > environment by default (you have to use the -p option), but we
>> > could make that automatic in a future release by adding a new
>> > configuration option.
>>
>> You should definitely pass the following environment variables without
>> asking, since GNOME applications won??t work without them:
>
> [...]
>
> I've added a 'preserve-environment=true|false' option today, which
> will pass the entire environment through minus some filtering for
> security (which doesn't cover any of the variables in your list).
>
>> Passing all of /var/run looks a bit dangerous to me since it could lead
>> some scripts in the chroot believe that a daemon is started in the
>> chroot. I??m not sure if that??s a real problem, but you should probably
>> at least print a warning somewhere.
>
> Agreed. I'll just limit this to /var/run/gdm3 in the next upload.
> Unfortunately, because we can't be sure gdm3 is installed, it will
> need to be commented out by default. Or we need to make schroot-mount
> less picky about mount failures. I would be somewhat dubious about
> doing that though, since it would mask a whole set of failures and
> could have security implications.
>
> So it's still not perfect, but I think we can easily document the
> few minor bits of tweaking required--the major bits are all done at
> least.
>
>
> Regards,
> Roger
>
> --
> .'`. Roger Leigh
> : :' : Debian GNU/Linux http://people.debian.org/~rleigh/
> `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
> `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.

Don't forget about mail and sound and probably a lot more. The chroot
way will allways be a case-by-case option though. Every user can easily
create one for their needs but covering all the possible configurations
so it works out-of-the-box for everyone will be hellishly complicated.

Me I just use ia32-apt-get + dpkg-cross and do

apt-get install <32bit only programm>
apt-get build-dep bla-armel-cross

MfG
Goswin


--
To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87k4pglojf.fsf@frosties.localdomain">http://lists.debian.org/87k4pglojf.fsf@frosties.localdomain
 

Thread Tools




All times are GMT. The time now is 05:28 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org