[arch-general] Consolekit etc. stubs? (Was: My end-user $0.02 on /etc/rc.conf splitting.)

Fons Adriaensen fons at linuxaudio.org
Sun Jul 22 17:49:32 EDT 2012


On Sun, Jul 22, 2012 at 02:35:33PM -0700, Scott Lawrence wrote:
 
> A little OT (hence changed subject), but I've sometimes wondered -
> shouldn't it be possible to create a "stub" version of libdbus,
> libconsolekit, et al that does nothing but the least necessary to
> get the calling program working correctly? With dynamic linking,
> such libraries would be installed in place of those bloated messes
> and result in a nicely-running system even for programs that have
> hard-coded dependencies on dbus and the rest?
> 
> It's admittedly not the cleanest solution (better to remove those
> dependencies altogether), but I think it would be a pretty useful
> hack to "back-port" such software to cleaner systems.
> 
> Is there a good technical reason why this is impossible or impractical?

In some cases that will work, but not always. You can also
replace some daemons with symlinks to /bin/true. But it's
messy.

Ciao,

-- 
FA

A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)



More information about the arch-general mailing list