moonshot requires X junk

Bug #1334668 reported by alan buxey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Project Moonshot
Won't Fix
Undecided
Unassigned

Bug Description

when installing moonshot on eg a headless SSH server, it currently requires a whole load of other libraries - approx 146Mb of all the lovely X11 windows junk.. such a requirement is against wished of admins who which to keep their server minimal (ie with known minimal package requirement or on low-resource systems eg raspberryPI/ type devices.

Propose that we have a moonshot-ui-nox (or such variant) for a flavour that doesnt have X *IF* there is a requirement for
jump-boxing to a further server, then headless option needs to have eg ncurses interface for selection/editing of identity
(much like GPG does for passphrase entry when using eg mutt for email)

alan

Revision history for this message
Sam Hartman (hartmans) wrote :

All of the OSes we currently support have policies that ecnourage pulling in dependent libraries rather than having multiple varients of packages. There are a few exceptions, for example Debian and Ubuntu have nox varients of emacs, but by the time you get to systems as complex as Moonshot, pulling in libraries is what the packaging policies of the distributions do. So, since we wouldn't actually do this at the packaging layer, it wouldn't end up being useful.
People who disagree with this should raise an issue with Redhat, Debian and Ubuntu packaging practices/policies.
If they make headway there we can discuss whether revisiting this makes sense.
Resolving this would be a lot of work.

Changed in moonshot:
status: New → Won't Fix
Revision history for this message
alan buxey (alan-buxey) wrote : Re: [Bug 1334668] Re: moonshot requires X junk

hi,

what is the library/libraries that moonshot is using that is pulling in the
requirement for X ? the GUI part of moonshot UI obviously...but I guess
there are others...

the 'not going to fix' isnt useful - for sites with security/package
dependence issues its not going to take off

alan

On 26 June 2014 15:44, Sam Hartman <email address hidden> wrote:

> All of the OSes we currently support have policies that ecnourage pulling
> in dependent libraries rather than having multiple varients of packages.
> There are a few exceptions, for example Debian and Ubuntu have nox
> varients of emacs, but by the time you get to systems as complex as
> Moonshot, pulling in libraries is what the packaging policies of the
> distributions do. So, since we wouldn't actually do this at the packaging
> layer, it wouldn't end up being useful.
> People who disagree with this should raise an issue with Redhat, Debian
> and Ubuntu packaging practices/policies.
> If they make headway there we can discuss whether revisiting this makes
> sense.
> Resolving this would be a lot of work.
>
> ** Changed in: moonshot
> Status: New => Won't Fix
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1334668
>
> Title:
> moonshot requires X junk
>
> Status in Federated Access Management for Everything:
> Won't Fix
>
> Bug description:
> when installing moonshot on eg a headless SSH server, it currently
> requires a whole load of other libraries - approx 146Mb of all the
> lovely X11 windows junk.. such a requirement is against wished of
> admins who which to keep their server minimal (ie with known minimal
> package requirement or on low-resource systems eg raspberryPI/ type
> devices.
>
> Propose that we have a moonshot-ui-nox (or such variant) for a flavour
> that doesnt have X *IF* there is a requirement for
> jump-boxing to a further server, then headless option needs to have eg
> ncurses interface for selection/editing of identity
> (much like GPG does for passphrase entry when using eg mutt for email)
>
> alan
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/moonshot/+bug/1334668/+subscriptions
>

Revision history for this message
Sam Hartman (hartmans) wrote :

>>>>> "alan" == alan buxey <email address hidden> writes:

    alan> hi, what is the library/libraries that moonshot is using that
    alan> is pulling in the requirement for X ? the GUI part of moonshot
    alan> UI obviously...but I guess there are others...

Hold on.
Is anything actually pulling in X?
I'd expect dbus, X libraries, and some of the x font machinery to get
pulled in.
I would not expect an X server, display manager, or desktop environment
to get pulled in, nor have I seen that on headless systems I've
installed.

If you're actually seeing more than desktop libraries getting pulled in,
that's a different issue than I thought we were discussing.

However, on a headless system I happen to have around, when I propose to
remove moonshot-ui, the following packages would be removed:

  fontconfig{u} fontconfig-config{u} hicolor-icon-theme{u} libatk1.0-0{u}
    libatk1.0-data{u} libcairo2{u} libdatrie1{u} libfontconfig1{u}
      libgdk-pixbuf2.0-0{u} libgdk-pixbuf2.0-common{u} libgee2{u}
        libgnome-keyring-common{u} libgnome-keyring0{u} libgtk2.0-0{u}
   libgtk2.0-bin{u} libgtk2.0-common{u} libjasper1{u} libjpeg8{u}
     libpango1.0-0{u} libpixman-1-0{u} libthai-data{u} libthai0{u} libtiff4{u}
       libxcb-render0{u} libxcb-shm0{u} libxcomposite1{u} libxcursor1{u}
         libxdamage1{u} libxfixes3{u} libxft2{u} libxi6{u} libxinerama1{u}
    libxrandr2{u} libxrender1{u} moonshot-ui ttf-dejavu-core{u}

That's some libraries, some fonts and the font configuration machinery.

Revision history for this message
Rhys Smith (rhys-smith) wrote :

Can confirm that given a VM with minimal install (basic system utils and nothing else, no X), installing moonshot-gss-eap and moonshot-ui gives:

Debian packaging - pulls down 73 packages (29M download, 117M installed), including some X libraries, but not X itself or a desktop environment.

CentOS packaging - pulls down 61 packages (17M download, 71M installed), including some X libraries, but not X itself or a desktop environment.

Revision history for this message
alan buxey (alan-buxey) wrote :

yep. a load of X related junk. all that font stuff, all that graphics
library stuff - no purpose on a headless server and waste
of resources. truetype fonts, xinerama, gtk etc - what part of moonshot
needs these things..and can it live without such?

On 27 June 2014 14:40, Rhys Smith <email address hidden> wrote:

> Can confirm that given a VM with minimal install (basic system utils and
> nothing else, no X), installing moonshot-gss-eap and moonshot-ui gives:
>
> Debian packaging - pulls down 73 packages (29M download, 117M
> installed), including some X libraries, but not X itself or a desktop
> environment.
>
> CentOS packaging - pulls down 61 packages (17M download, 71M installed),
> including some X libraries, but not X itself or a desktop environment.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1334668
>
> Title:
> moonshot requires X junk
>
> Status in Federated Access Management for Everything:
> Won't Fix
>
> Bug description:
> when installing moonshot on eg a headless SSH server, it currently
> requires a whole load of other libraries - approx 146Mb of all the
> lovely X11 windows junk.. such a requirement is against wished of
> admins who which to keep their server minimal (ie with known minimal
> package requirement or on low-resource systems eg raspberryPI/ type
> devices.
>
> Propose that we have a moonshot-ui-nox (or such variant) for a flavour
> that doesnt have X *IF* there is a requirement for
> jump-boxing to a further server, then headless option needs to have eg
> ncurses interface for selection/editing of identity
> (much like GPG does for passphrase entry when using eg mutt for email)
>
> alan
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/moonshot/+bug/1334668/+subscriptions
>

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.