Re: [gentoo-user] Re: Get off my lawn?

2015-01-18 Thread Alan McKinnon
On 18/01/2015 04:04, Rich Freeman wrote:
> On Jan 17, 2015 1:56 PM, "Grant Edwards"  wrote:
>>
>> On 2015-01-16, Paul B. Henson  wrote:
>>
>>> http://www.linuxvoice.com/interview-lennart-poettering/
>>>
>>> So it seems the reason (in Lennart Poettering's imagination at least)
>>> that Gentoo hasn't embraced systemd as our default init system is
>>> because we're all old and conservative?
>>
>> No, it's because we're practical and view computers as means to get
>> things done rather than ends in themselves to be put inside
>> transparent cases with fans that light up.
> 
> Speak for yourself. :)  I did comment on my thoughts in this area in
> Donnie's thread.  Gentoo (IMHO) tends not to be the best distro for
> doing anything in particular.  I find that its best feature is that it
> is reasonably good at doing just about anything - it is a
> jack-of-all-trades.


For years I've felt Gentoo excels if you need to do something that
deviates from what mainstream binary distros do, and this is because we
have a fully functional toolchain that is built to handle deviations
from default with ease. This is what USE is all about.

A few examples come to mind:

1. You have a large server farm, all identical, and setting them up that
way on a binary distro is difficult
2. You need to build on big hardware and deploy on small hardware
3. You need specific features enabled in the system that a binary distro
doesn't provide


So I'm not quite in agreement with your last sentence; Gentoo is very
very good at giving you exactly what you want :-)



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Usign ansible

2015-01-18 Thread Alan McKinnon
On 17/01/2015 23:29, Stefan G. Weichinger wrote:
> On 12.01.2015 17:46, Alan McKinnon wrote:
> 
>> You'd have to define it yourself in your plays somewhere
>>
>> Several ways present themselves:
>>
>> - Group customers together by customer name and use the group name.
>>
>> - Define the customer directly in the inventory. Generally it isn't
>> recommended to define variable there, but I think this is one of the few
>> case where it does make sense. Sort of like this:
>>
>> acme_web_serveransible_ssh_host=1.2.3.4  customer=acme
>>
>> {{ customer }} then is available for that host whenever the host is in scope
>>
>>
>>
>> One thing you'll find with ansible is there's always a way to do
>> something, often more than one way (like perl). And all ways often make
>> sense (unlike perl)
> 
> sorry for the delay ... busy week
> 
> I still haven't wrapped my head around how to properly define my groups
> and sets of hosts.. but I am on my way, thanks ;-)
> 
> "learning" ... when it is better to have a group or a when-clause (when
> OS = Gentoo) ...

My advice:

Start with groups. If you find you need to have lots of "when" clauses
to make the plays work across more than one distro, and the whens follow
the same format, then you might want to split them into groups.
Make for example a "gentoo-www" group and a "debian-www" group, and
create a super-group "www" that includes both.

It's one of those questions you can only really answer once you've built
it for yourself and can see what works better in your environment


> Reading/rsyncing all the configs in isn't first priority now. Although
> it already is nice-to-have as a server stopped to work this week.
> 
> OK, backups on tape etc ... but I like that basic "profile" with /etc
> and @world as well.
> 
> -
> 
> I hesitate to mention it as everything with the term "systemd" in it
> seems to trigger not-directly-helpful replies here ... but I see issues
> with playbooks/tasks controlling services on hosts running systemd:
> 
> I have openrc and systemd installed/merged (installed with openrc, then
> migrated to run systemd and openrc still there, but not active ... not
> removing openrc just to keep it as some fallback) ... and when I try to
> control services via the service-module of ansible I don't always get
> valid results. It seems that the module detects openrc installed and
> doesn't check further (is openrc *active* as well?) ... so I get
> misleading replies/states in.
> 
> IMO ansible should correctly detect the running PID1 .. and it tries to
> as far as I understand the code of the service-module.
> 
> For example I tried to write a task to ensure that ntpd is down/disabled
> and chrony is installed/enabled/started ... no real success so far.

If ansible confuses installed init systems with running init system,
then that will be a bug in ansible and should be reported

> 
> I will provide more info if needed ... saturday night now, so excuse me
> stopping here ;-)

:-)




-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Re: Get off my lawn?

2015-01-18 Thread Peter Humphrey
On Saturday 17 January 2015 07:59:18 Alan McKinnon wrote:
> On 17/01/2015 03:35, Philip Webb wrote:
> > 150116 walt wrote:
> >> I'd love to see a bar-chart of the age distribution of gentoo devs
> >> & compare it to a chart of the people who hang out in this mailing list
> >> :)> 
> > New devs usually seem to describe themselves as
> > "I live in a town in Germany with my wife & 2-year-old daughter ;
> > I am finishing my MSc in computer science ;
> > my hobbies are playing the guitar & riding my mountain bike".
> > 
> > OTOH I suspect most of us here starting computing with punched cards ...
> 
> Can't say I had that pleasure :-)
> 
> I did start with teletype terminals, punched paper tape and a Sinclair
> Research Mk14 though!

Mine was ASR33 & KSR35 (even went on the two-day maintenance course for 
those), 24-bit Ferrranti Argus 500, 8-hole tape, 16KB core store and 2MB 
disk. That was in closed-loop control of the reactors of an AGR power 
station! 40 years ago and hardly seems a day.

-- 
Rgds
Peter.




[gentoo-user] problem with Adobe flash

2015-01-18 Thread Philip Webb
Typically, when I try to watch a short movie from a general news site,
it stops quickly with an error message : it seems not to download fast enough.
I assumed this was a problem with Adobe flash (all versions),
but on the Mageia system I also have installed in the same machine
there's no problem at all : downloading goes much faster & completes
& the movies -- news or historical -- are shown in full.

In both systems, the binary is  /usr/bin/flash-player-properties ;
Gentoo has  /usr/lib64/nsbrowser/plugins/libflashplayer.so
&  /etc/adobe/mms.cfg  (which seems to be all about security),
both of which are absent or installed elsewhere by Mageia.

Can anyone suggest what's going wrong with Adobe flash on Gentoo ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca