Re: [gentoo-user] a question about emerge --sync

2014-08-02 Thread Dale
Volker Armin Hemmann wrote:
 Am 01.08.2014 16:30, schrieb behrouz khosravi:
 Hello everybody.
 I have a little bandwidth problem. I don't want to update my packages
 very frequently.
 Is it save to sync my portage not very often, say every month or two,
 so when I install something I wont be warned that some of my packages
 are outdated?
 In this manner I wont need to mask my packages, to prevent them from
 updating, right ?

 Thanks.

 .

 the longer you wait, the more problems you will have.


 So sync often.

 Installing the actual updates? On a weekly basis is a good rule of thumb.

 And don't use --pretend, use --ask. Portage has become slow as f
 over time. You don't want to waste time to let it do the same twice.

 Also: read the manual. You obviously haven't - or did not understand
 everything you read, so read again. For your own safety.



Back when I was on dial-up, I did my updates on Monday I think it was. 
In the case of OOo, just downloading the tarball could take a couple
days.  Once a week is pretty good in my opinion as well.  I'd be nervous
about going months tho.  On occasion that can get to be a bit much.  If
two nasty updates hit at the same time, it could get touchy. 

Dale

:-)  :-)



Re: [gentoo-user] a question about emerge --sync

2014-08-02 Thread Alan McKinnon
On 01/08/2014 22:02, behrouz khosravi wrote:
 On Fri, Aug 1, 2014 at 1:07 PM, Douglas J Hunley doug.hun...@gmail.com 
 wrote:
 You seem to be slightly confusing two different things. There is 'emerge
 --sync' (or emerge-webrsync) which maintains your copy of the portage tree
 and then there's 'emerge --update' which actually downloads the source,
 compiles, and then installs it. ...
 
 Well actually what I am I thinking is that doing a sync operation,
 makes portage aware of new packages and when I
 for any reason give the emerge --update ... command it tries to
 fetch new packages.

Yes, that is exactly what it is designed to do.

When portage is asked to emerge something it generates a list of
packages to be examined, and it will *always* want to upgrade the entire
list to the most recent version (subject to arch and mask/keyword rules).

There is no way round this as this is the expected behaviour when you
sync something - the result of any sync action is to bring your system
up to date with some master system.

If you don't want portage to do this, then don't sync so often

 Although I don't know if any situation forces me to issue update on a
 outdated portage tree!!!

Correct.

Portage uses your local copy of the tree. It really couldn't care if it
is very new or very old, it uses what you have.

You decide when to update the tree, not portage; and you update your
tree on whatever schedule you decide


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




Re: [gentoo-user] --exclude gentoo-sources

2014-08-02 Thread Alan McKinnon
On 01/08/2014 22:19, behrouz khosravi wrote:
 On Fri, Aug 1, 2014 at 12:58 PM, James wirel...@tampabay.rr.com wrote:
 Howdy,

 I know I can use this option to protect kernel sources I
 want to keep around, from  removal, via depclean.

 
 Well I not a proficient user, but I think that depclean wont remove
 packages from distfiles.
 At least what happened to me was that depclean removed the sources
 from /usr/src/ folder but the linux.xxx remained in the disfiles
 folder.

You are confusing the distfile with the installed files.

A distfile is usually a tar.gz - it is the package downloaded from
upstream. The installed files are whatever the ebuild puts onto the live
system.

In the case of a binary package like say bash:
the distfile is bash-4.2.tar.gz
the installed file is /bin/bash

In the case of kernel sources, exactly the same rules apply but the
details differ:
the distfile is linux-3.15.tar.xz (plus patches)
the installed files are /usr/src/whatever the version is

kernel sources are a special case - portage does no compiling with them.
Kernel sources install is defined as unpack the tarball and patches to
/usr/src
Regular ebuilds define install as whatever happens after ./configure 
make  make install



Here's a tip:
Go back and read the gentoo docs from beginning to end, all of them. Twice.

You are getting confused with gentoo basics and starting to jump the gun
because you haven't fully absorbed all the basics. Now there's nothing
wrong with your keenness and enthusiasm (that's great) but it needs to
be backed up with knowledge. You get that by reading the docs


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




Re: [gentoo-user] Re: Recommendations for scheduler

2014-08-02 Thread Alan McKinnon
On 01/08/2014 21:35, cov...@ccs.covici.com wrote:
 Alan McKinnon alan.mckin...@gmail.com wrote:
 
 On 01/08/2014 20:17, James wrote:
 Alan McKinnon alan.mckinnon at gmail.com writes:


 New job, new environment. Existing persons suffer from
 5-year-old-with-a-hammer syndrome and assume cron is the solution to all
 ills. Result: a towering edifice of cron jobs that may or may not
 clobber each other's work, may or may not work at all, and implement no
 error handling at all. But my god, can they spew out mail from STOUT

 Sounds like a department full of computer scientist I inherited a few
 decades ago...

 I've met folks like that
 Brilliant in their chosen field but completely useless outside it? The
 kind of fellows who see nothing wrong with eating a barbeque'd steak
 with a spoon because they can get a result?


 I know nothing bout chronos, but I find it an interesting readymmv.


 http://nerds.airbnb.com/introducing-chronos/
 http://airbnb.github.io/chronos/
 https://github.com/airbnb/chronos

 Aaaah, now this sounds like something I can use. Proper dependency
 chains, Restful JSON interface so the devs can write code to drive it in
 automation.

 Good find, thanks!
 
 Unless I am missing something, chronos is not in the tree at all.
 

Correct, it isn't in the tree. But there's nothing stopping me from
getting it in there

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




Re: [gentoo-user] Re: Recommendations for scheduler

2014-08-02 Thread Alan McKinnon
On 01/08/2014 23:02, Martin Vaeth wrote:
 Alan McKinnon alan.mckin...@gmail.com wrote:

 But cron has only one event trigger: wall-clock time. And it's a very
 blunt weapon. I'm looking for recommendations of alternative schedulers
 that satisfy real-world business needs that need some other event
 trigger than what the time is right now.
 
 I had a similar need recently, and since the discussion in
 
 https://forums.gentoo.org/viewtopic-t-992780-highlight-.html

Interesting thread :-)

Conceptually, your needs are the same as mine - sequence defined by
something other than wall-clock time.
The responders there do the same thing as I experience - tunnel vision
with regard to cron. Sysadmins are used to cron and sadly most of us
want to ram a purely cron-based solution into places where it most
certainly does not belong.

Business rules very seldom fit easily into a cron model, they usually
rely on a defined sequence


 
 had led to nothing satisfactory for me, I have written a
 scheduler tool which serves my needs
 (which might very well differ from yours...):
 
 The corresponding tool is still in beta testing phase:
 https://github.com/vaeth/schedule/
 
 You can install it from the mv overlay (available over layman).

Nice, thanks for the link :-)

Now I have two projects to evaluate.


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




Re: [gentoo-user] --exclude gentoo-sources

2014-08-02 Thread behrouz khosravi
On Sat, Aug 2, 2014 at 1:47 PM, Alan McKinnon alan.mckin...@gmail.com wrote:

 You are confusing the distfile with the installed ...

Well actually I was thinking that if somebody need the old kernel
source he/she can unpack the distfile and perform what he/she wants.
Maybe updating the linux symlink will be needed though.
However I forget the patches, and in that case it does not seem very practical !
However thanks for your time.



Re: [gentoo-user] Recommendations for scheduler

2014-08-02 Thread Alan McKinnon
On 01/08/2014 23:13, J. Roeleveld wrote:
 On 1 August 2014 19:32:36 CEST, Alan McKinnon alan.mckin...@gmail.com wrote:
 Hi,

 Up-front disclaimer: Mostly [OT] post. But at least I'll test drive it
 on Gentoo before putting it in production :-)

 New job, new environment. Existing persons suffer from
 5-year-old-with-a-hammer syndrome and assume cron is the solution to
 all
 ills. Result: a towering edifice of cron jobs that may or may not
 clobber each other's work, may or may not work at all, and implement no
 error handling at all. But my god, can they spew out mail from STOUT


 But cron has only one event trigger: wall-clock time. And it's a very
 blunt weapon. I'm looking for recommendations of alternative schedulers
 that satisfy real-world business needs that need some other event
 trigger than what the time is right now.

 For those familiar with it, I'm looking for something with the useful
 feature set, without the useless features and without the price tag of
 ControlM

 Anyone care to share experiences?
 
 I'm also looking for a free alternative.
 At most of my clients, I see Tivoli Workload Scheduler (TWS) being used a 
 lot. 
 
 It has most things what you want from an intelligent multi host scheduler. 
 Unfortunately,  it also comes with a corresponding price tag.

I have an unusual boss. He's a business owner and quite naturally
profit-driven. He also employs smart people and expects us to maintain
systems in-house.

He's also a zealous FLOSS fan.

So when I present him a price tag for software his first question is
always is there any free as in freedom software suited for the job?

I'm still trying to wrap my brains around dealing with a boss that
thinks like this :-)

 
 If anyone knows of an OS project with comparable features, please let me 
 know. 
 Failing this, it is on my list to start writing one myself when I get some 
 spare time. 
 
 --
 Joost
 


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




Re: [gentoo-user] colord failed to upgrade

2014-08-02 Thread Alan McKinnon
On 01/08/2014 23:01, J. Roeleveld wrote:
 On 1 August 2014 19:22:44 CEST, Alan McKinnon alan.mckin...@gmail.com wrote:
 On 01/08/2014 14:44, Tanstaafl wrote:
 On 8/1/2014 8:42 AM, J. Roeleveld jo...@antarean.org wrote:
 But I don't drive myself when using my mobile.

 This is on a bus...

 Lol... sorry, I never ride a bus so didn't consider that
 possibility... ;)





 Bus, bus? What is this conveyance of which you speak?
 
 In your part of this rock it's usually a big long vehicle with a lot of 
 people inside sitting on hard broken chairs.
 And some of the passengers opting for a nice view and having the luggage of 
 the other passengers provide some comfort while sitting on the roof
 
 (Taken from various movies and documentaries situated in the continent you 
 live in)

I looked on wikipedia and found that a bus usually follows a
predetermined route from A to B.

What a quaint idea - we have minibus people carriers (thousands of them
on the roads):

http://www.google.co.za/imgres?imgurl=http%3A%2F%2Fnorthcoastcourier.co.za%2Fwp-content%2Fuploads%2Fsites%2F73%2F2014%2F04%2FSoweto_Taxi_Rank.jpg%253F9187d3imgrefurl=http%3A%2F%2Fnorthcoastcourier.co.za%2F16177%2Ftaxi-rank-moves-sangweni%2Fh=379w=610tbnid=mYTtKyzD09qKtM%3Azoom=1docid=OQ-IErP7vJe_cMei=obHcU42-NMbB0QWw7YGwBwtbm=ischclient=firefox-aved=0CCsQMygPMA8iact=rcuact=3dur=2587page=1start=0ndsp=16


These define a route as wherever I want to go, whenever I want to do
it, however I chose. Rules of the road do not apply.





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




Re: [gentoo-user] What to put in chroot mtab

2014-08-02 Thread Peter Humphrey
On Friday 01 August 2014 16:44:11 Canek Peláez Valdés wrote:

 I was only offering options. The OP will use whatever he decides to use.

All interesting stuff. Personally, I'm not ready to go for systemd, as the
openrc system I have works well for me and I understand it (mostly).

I settled on an init script to set up the chroot, with a suitable mtab ready
to be copied in. For anyone who's interested, this is the init:

start() {
ebegin Mounting 32-bit chroot dirs
mount -t proc /proc /mnt/atom/proc
mount --rbind /dev /mnt/atom/dev
mount --rbind /sys /mnt/atom/sys
mount -t nfs 192.168.0.2:/usr/portage/packages 
/mnt/atom/usr/portage/packages
cp /root/mtab.atom /mnt/atom/etc/mtab
eend $? An error occurred while attempting to mount 32-bit chroot 
directories
}

stop() {
ebegin Unmounting 32-bit chroot dirs
rm /mnt/atom/etc/mtab
umount -f /mnt/atom/dev/mqueue
umount -f /mnt/atom/dev/pts
umount -f /mnt/atom/dev/shm
umount -f /mnt/atom/dev
umount -f /mnt/atom/proc
umount -f /mnt/atom/sys/fs/cgroup/openrc
umount -f /mnt/atom/sys/fs/cgroup/cpuset
umount -f /mnt/atom/sys/fs/cgroup/cpu
umount -f /mnt/atom/sys/fs/cgroup/cpuacct
umount -f /mnt/atom/sys/fs/cgroup/freezer
umount -f /mnt/atom/sys/fs/cgroup
umount -f /mnt/atom/sys/kernel/debug
umount -f /mnt/atom/sys
umount -f /mnt/atom/usr/portage/packages
eend $? An error occurred while attempting to unmount 32-bit chroot 
directories
}

(I've omitted several sleeps from the /stop/ procedure.) If I left out any of
the lower-level umounts, the ones above it would fail.

# cat /root/mtab.atom
devtmpfs /dev devtmpfs rw,relatime,size=8201684k,nr_inodes=2050421,mode=755 0 0
/sys /sys none rw,bind,rbind 0 0
/dev /dev none rw,bind,rbind 0 0
proc /proc proc rw,relatime 0 0
tmpfs /run tmpfs rw,nosuid,nodev,relatime,size=1640604k,mode=755 0 0
mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
shm /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
cgroup_root /sys/fs/cgroup tmpfs 
rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755 0 0
openrc /sys/fs/cgroup/openrc cgroup 
rw,nosuid,nodev,noexec,relatime,release_agent=/lib64/rc/sh/cgroup-release-agent.sh,name=openrc
 0 0
cpuset /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cpu /sys/fs/cgroup/cpu cgroup rw,nosuid,nodev,noexec,relatime,cpu 0 0
cpuacct /sys/fs/cgroup/cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpuacct 0 0
freezer /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
/dev/mapper/vg7-atom / ext4 rw,relatime,commit=0 1 2

That probably has a lot more stuff in it than I need; I just removed the
things I certainly didn't need from a copy of the host mtab.

There's a similar init script and mtab for the other chroot.

I've no doubt all you systemd people will throw up your hands in dismay at the
work involved in setting that up. It didn't take long, really.

-- 
Regards
Peter




Re: [gentoo-user] What to put in chroot mtab

2014-08-02 Thread Peter Humphrey
On Friday 01 August 2014 20:32:54 Neil Bothwick wrote:
 On Fri, 01 Aug 2014 14:07:08 +0100, Peter Humphrey wrote:
  I run a couple of chroots on this box to build packages for other boxes
  on the LAN. So far, I haven't worked out what I should
  populate /etc/mtab with in each chroot. Is it enough to grep
  ext4 /etc/mtab  /mnt/chroot/etc/mtab? That catches all the physical
  partitions, but I imagine I need to add some /proc, /sys and /dev
  entries as well, but is there a simple formula for doing this?
 
 Do you need anything in mtab in the chroot?

Only while keeping the chroot clean so that it matches the target. 
Specifically, locale-purge, which is run in a clean-up script from time to 
time.

 I've been using chroots to build packages for slower machines for years

Yes, I know - that's where I got the idea ;)

 and /etc/mtab has always been empty or non-existent, with no problems. df
 gets the hump when run inside the chroot, but the package building works
 fine.

-- 
Regards
Peter




Re: [gentoo-user] --exclude gentoo-sources

2014-08-02 Thread Stroller

On Fri, 1 August 2014, at 5:58 pm, James wirel...@tampabay.rr.com wrote:
 ...
 I know I can use this option to protect kernel sources I 
 want to keep around, from  removal, via depclean.
 
 Other suggestions to keep the kernel sources around ?

Just copy the ebuild to your local portage tree and then `emerge 
=sys-kernel/gentoo-sources-3.14.1` (or whatever version).

With some packages it's important to include some contents of 
/usr/portage/category/package-name/files but not for gentoo-sources.

There's no need to update your kernel more often than every few months.

Stroller.




Re: [gentoo-user] Recommendations for scheduler

2014-08-02 Thread J. Roeleveld
On Saturday, August 02, 2014 11:33:30 AM Alan McKinnon wrote:
 On 01/08/2014 23:13, J. Roeleveld wrote:
  On 1 August 2014 19:32:36 CEST, Alan McKinnon 
alan.mckin...@gmail.com wrote:
  Hi,
  
  Up-front disclaimer: Mostly [OT] post. But at least I'll test drive it
  on Gentoo before putting it in production :-)
  
  New job, new environment. Existing persons suffer from
  5-year-old-with-a-hammer syndrome and assume cron is the solution 
to
  all
  ills. Result: a towering edifice of cron jobs that may or may not
  clobber each other's work, may or may not work at all, and 
implement no
  error handling at all. But my god, can they spew out mail from STOUT
  
  
  But cron has only one event trigger: wall-clock time. And it's a very
  blunt weapon. I'm looking for recommendations of alternative 
schedulers
  that satisfy real-world business needs that need some other event
  trigger than what the time is right now.
  
  For those familiar with it, I'm looking for something with the useful
  feature set, without the useless features and without the price tag 
of
  ControlM
  
  Anyone care to share experiences?
  
  I'm also looking for a free alternative.
  At most of my clients, I see Tivoli Workload Scheduler (TWS) being used 
a
  lot.
  
  It has most things what you want from an intelligent multi host 
scheduler.
  Unfortunately,  it also comes with a corresponding price tag.
 I have an unusual boss. He's a business owner and quite naturally
 profit-driven. He also employs smart people and expects us to maintain
 systems in-house.
 
 He's also a zealous FLOSS fan.
 
 So when I present him a price tag for software his first question is
 always is there any free as in freedom software suited for the job?

Depends on the specific requirements.
If you want:
- time based start of a schedule
- dependencies in said schedules and between schedules which can delay 
the actual start
- stop of schedule if error occurs
- ability to restart schedule from crashed point
- have schedules operate over multiple machines (eg. part run on 
database, some on a compute-cluster, some other bit making nice graphs 
and printing it,...)

Then you might be out of luck.
If anyone has something that is already going along these lines, please let 
me know. I am more then willing to spend time and effort to assist in the 
development. Doing a project like that on my own in my extremely limited 
free time is not really an option.

 I'm still trying to wrap my brains around dealing with a boss that
 thinks like this :-)

Hehe :)

--
Joost


Re: [gentoo-user] Re: Recommendations for scheduler

2014-08-02 Thread J. Roeleveld
On Saturday, August 02, 2014 11:18:32 AM Alan McKinnon wrote:
 On 01/08/2014 21:35, cov...@ccs.covici.com wrote:
  Alan McKinnon alan.mckin...@gmail.com wrote:
  On 01/08/2014 20:17, James wrote:
  Alan McKinnon alan.mckinnon at gmail.com writes:
  New job, new environment. Existing persons suffer from
  5-year-old-with-a-hammer syndrome and assume cron is the 
solution to
  all
  ills. Result: a towering edifice of cron jobs that may or may not
  clobber each other's work, may or may not work at all, and 
implement no
  error handling at all. But my god, can they spew out mail from 
STOUT
  
  Sounds like a department full of computer scientist I inherited a 
few
  decades ago...
  
  I've met folks like that
  Brilliant in their chosen field but completely useless outside it? The
  kind of fellows who see nothing wrong with eating a barbeque'd 
steak
  with a spoon because they can get a result?
  
  I know nothing bout chronos, but I find it an interesting 
readymmv.
  
  
  http://nerds.airbnb.com/introducing-chronos/
  http://airbnb.github.io/chronos/
  https://github.com/airbnb/chronos
  
  Aaaah, now this sounds like something I can use. Proper 
dependency
  chains, Restful JSON interface so the devs can write code to drive it 
in
  automation.
  
  Good find, thanks!
  
  Unless I am missing something, chronos is not in the tree at all.
 
 Correct, it isn't in the tree. But there's nothing stopping me from
 getting it in there

Neither are the dependencies. 

If you get it to work, don't forget to create a nice howto documentation as 
from what I found online, the documentation is incomplete and out of date.

--
Joost


Re: [gentoo-user] Re: USE flags handling

2014-08-02 Thread J. Roeleveld
On Friday, August 01, 2014 12:26:59 PM Philip Webb wrote:
 140731 Walter Dnes wrote:
  On Thu, Jul 31, 2014 at 10:47:29AM +0200, Volker Armin Hemmann 
wrote
  When reading pdf files, one expects images, so tiff and jpeg are
  reasonable flags.  One does *NOT* expect audio stuff like phonon.
  And phonon *DEMANDS SOMETHING*.  vlc is one of the options that 
satisfies
  phonon's demands.  Or you could choose gstreamer and its gazillion
  plugins.
 
 Not quite (smile) ! -- I ran into this  sent bugs to Gentoo + KDE ;
 the outcome was that I discovered that Phonon doesn't in fact demand
 that you install the actual sound software :
 it works to do 'USE=gstreamer --nodeps emerge phonon'
  Kdelibs then compiles successfully as well.
 
 If you compile KDE outside Portage, there's a nosound flag,
 but the Gentoo devs have implemented that to require 
'USE=soundpkg,
 perhaps knowing that it cb happily ignored via '--nodeps'.
 Just don't expect this to be documented anywere (grimace).

Do you still have the bug numbers for this?
I have a few machines without any sound support. If I can remove the 
entire sound system from it, it would save time during the updates.

--
Joost


Re: [gentoo-user] Recommendations for scheduler

2014-08-02 Thread Alan McKinnon
On 02/08/2014 15:31, J. Roeleveld wrote:
 Depends on the specific requirements.
 
 If you want:
 
 - time based start of a schedule
 
 - dependencies in said schedules and between schedules which can delay
 the actual start
 
 - stop of schedule if error occurs
 
 - ability to restart schedule from crashed point
 
 - have schedules operate over multiple machines (eg. part run on
 database, some on a compute-cluster, some other bit making nice graphs
 and printing it,...)
 
  
 
 Then you might be out of luck.
 
 If anyone has something that is already going along these lines, please
 let me know. I am more then willing to spend time and effort to assist
 in the development. Doing a project like that on my own in my extremely
 limited free time is not really an option.
 


Well, we've found 2 projects that at least in part seek to achieve our
general goals - chronos and Martin's new project.

Why don't we both fool around with them for a bit and get a sense of
what it will take to add features etc? Then we can meet back here and
discuss.

Always better to build on an existing foundation

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




Re: [gentoo-user] USE flags handling

2014-08-02 Thread Stroller

On Sat, 2 August 2014, at 2:35 pm, J. Roeleveld jo...@antarean.org wrote:
 ...
 Do you still have the bug numbers for this?
 I have a few machines without any sound support. If I can remove the entire 
 sound system from it, it would save time during the updates.

Please, Joost, I beg you, stop posting in HTML. 

Also your email is broken, I already asked you this yesterday off-list - since 
you neither complied then, nor told me to naff off, I assume that you're 
dropping messages.

Stroller.




[gentoo-user] Re: Recommendations for scheduler

2014-08-02 Thread James
Alan McKinnon alan.mckinnon at gmail.com writes:


 Well, we've found 2 projects that at least in part seek to achieve our
 general goals - chronos and Martin's new project.
 Why don't we both fool around with them for a bit and get a sense of
 what it will take to add features etc? Then we can meet back here and
 discuss. Always better to build on an existing foundation

Mesos looks promising for a variety of (Apache) reasons. Some key
technologies folks may want google about that are related:

Quincy (fair schedular)
Chronos (scheduler)
Hadoop (scheduler)
HDFS (clusterd file system)
http://gpo.zugaina.org/sys-cluster/apache-hadoop-common

Zookeeper (Fault tolerance)
SPARK ( optimized for interative jobs where a datase is resued in many
parallel operations (advanced math/science and many other apps.)
https://spark.apache.org/

Dryad  Torque   Mpiche2 MPI
Globus tookit

mesos_tech_report.pdf

It looks as though Amazon, google, facebook and many others
large in the Cluster/Cloud arena are using Mesos..?

So let's all post what we find, particularly in overlays.

hth,
James




Re: [gentoo-user] What to put in chroot mtab

2014-08-02 Thread Rich Freeman
On Fri, Aug 1, 2014 at 11:29 AM, Canek Peláez Valdés can...@gmail.com wrote:
 On Fri, Aug 1, 2014 at 10:21 AM, Peter Humphrey pe...@prh.myzen.co.uk wrote:

 I wouldn't like to be the one who has to write a new installation handbook 
 for
 systemd-only systems!   :)

 We'll need to rewrote the whole thing when we switch to systemd anyway.


The handbook now mentions the systemd install guide.

It isn't an entirely clean thing.  Basically you install systemd, and
then you're referring to both.  For anything that has a systemd and
openrc version (setting timezone, locale, etc), you do it the systemd
way.  Stuff like configuring grub is generic.

--
Rich



Re: [gentoo-user] a question about emerge --sync

2014-08-02 Thread Volker Armin Hemmann
Am 02.08.2014 09:17, schrieb Dale:
 Volker Armin Hemmann wrote:
 Am 01.08.2014 16:30, schrieb behrouz khosravi:
 Hello everybody.
 I have a little bandwidth problem. I don't want to update my packages
 very frequently.
 Is it save to sync my portage not very often, say every month or two,
 so when I install something I wont be warned that some of my packages
 are outdated?
 In this manner I wont need to mask my packages, to prevent them from
 updating, right ?

 Thanks.

 .

 the longer you wait, the more problems you will have.


 So sync often.

 Installing the actual updates? On a weekly basis is a good rule of thumb.

 And don't use --pretend, use --ask. Portage has become slow as f
 over time. You don't want to waste time to let it do the same twice.

 Also: read the manual. You obviously haven't - or did not understand
 everything you read, so read again. For your own safety.


 Back when I was on dial-up, I did my updates on Monday I think it was. 
 In the case of OOo, just downloading the tarball could take a couple
 days.  Once a week is pretty good in my opinion as well.  I'd be nervous
 about going months tho.  On occasion that can get to be a bit much.  If
 two nasty updates hit at the same time, it could get touchy. 

 Dale

 :-)  :-)

 .

back when I was responsible to keep 250 net-junkies online, the longer I
waited the worse the problems. And you only have so much time between
different WoW raids...



[gentoo-user] sctp is not found

2014-08-02 Thread Byungchan An
Hello. This is Byungchan An.
When modprobe for sctp, my gentoo mahine complained it cannot be found.

Is there anyone who knows how to install sctp from my previous machine?

When doing with uname -r, it says 3.10.33

Thanks



Re: [gentoo-user] sctp is not found

2014-08-02 Thread Alan McKinnon
On 02/08/2014 22:00, Byungchan An wrote:
 Hello. This is Byungchan An.
 When modprobe for sctp, my gentoo mahine complained it cannot be found.
 
 Is there anyone who knows how to install sctp from my previous machine?
 
 When doing with uname -r, it says 3.10.33


You already know the answer. You want to modprobe it so it's a kernel
module.

Enable it using make menuconfig, compile and install new kernel + modules.


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




[gentoo-user] how can I execute a bash command afterebuild is over

2014-08-02 Thread covici
OK, here is my problem -- I want to execute a command before and another
command after an ebuild.  I see how to execute a command before using
/etc/portage/env/category/packagename, but I can't figure out to execute
something after the ebuild is done.  Basically, I need to change the
opengl interface during the compile of webkit-gtk, otherwise I get this
hanging process.  

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] how can I execute a bash command afterebuild is over

2014-08-02 Thread Alan McKinnon
On 02/08/2014 23:15, cov...@ccs.covici.com wrote:
 OK, here is my problem -- I want to execute a command before and another
 command after an ebuild.  I see how to execute a command before using
 /etc/portage/env/category/packagename, but I can't figure out to execute
 something after the ebuild is done.  Basically, I need to change the
 opengl interface during the compile of webkit-gtk, otherwise I get this
 hanging process.  
 
 Thanks in advance for any suggestions.
 


A short nasty way would be something like

emerge whatever  killall name of hung process

A more elegant way is to copy the ebuild to a local overlay and modify
it. You should override an appropriate phase like src_* or pkg_*

https://devmanual.gentoo.org/eclass-reference/ebuild/index.html


I don't know of any portage hook called after an ebuild is complete,
same as there isn't one called before. /etc/portage/env isn't that, it
just luckily coincidentally happens to be used before ebuilding starts.

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




Re: [gentoo-user] how can I execute a bash command afterebuild is over

2014-08-02 Thread covici
Alan McKinnon alan.mckin...@gmail.com wrote:

 On 02/08/2014 23:15, cov...@ccs.covici.com wrote:
  OK, here is my problem -- I want to execute a command before and another
  command after an ebuild.  I see how to execute a command before using
  /etc/portage/env/category/packagename, but I can't figure out to execute
  something after the ebuild is done.  Basically, I need to change the
  opengl interface during the compile of webkit-gtk, otherwise I get this
  hanging process.  
  
  Thanks in advance for any suggestions.
  
 
 
 A short nasty way would be something like
 
 emerge whatever  killall name of hung process
 
 A more elegant way is to copy the ebuild to a local overlay and modify
 it. You should override an appropriate phase like src_* or pkg_*
 
 https://devmanual.gentoo.org/eclass-reference/ebuild/index.html
 
 
 I don't know of any portage hook called after an ebuild is complete,
 same as there isn't one called before. /etc/portage/env isn't that, it
 just luckily coincidentally happens to be used before ebuilding starts.

OK, thanks.  I want this to work during an update world and of course
the ebuild changes on almost every update, but I guess I am stuck.

Thanks again for your quick reply.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Re: USE flags handling

2014-08-02 Thread Philip Webb
140802 J. Roeleveld wrote:
 On Friday, August 01, 2014 12:26:59 PM Philip Webb wrote:
 Not quite (smile) ! -- I ran into this  sent bugs to Gentoo + KDE ;
 the outcome was that I discovered that Phonon doesn't in fact demand
 that you install the actual sound software :
 it works to do 'USE=gstreamer --nodeps emerge phonon'
  Kdelibs then compiles successfully as well.
 If you compile KDE outside Portage, there's a nosound flag,
 but the Gentoo devs have implemented that to require 
'USE=soundpkg,
 perhaps knowing that it cb happily ignored via '--nodeps'.
 Just don't expect this to be documented anywere (grimace).
 Do you still have the bug numbers for this?

Gentoo 265864 , KDE 190601 ; also see Gentoo 454330 re Firefox.

 I have a few machines without any sound support. If I can remove
 the entire sound system from it, it would save time during the updates.

I have sound disabled in the kernel  no sound pkgs installed ;
I have had to install Phonon, but nothing to work with it.
I use several KDE apps, but run my desktop with Fluxbox.

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




Re: [gentoo-user] how can I execute a bash command afterebuild is over

2014-08-02 Thread Neil Bothwick
On Sat, 02 Aug 2014 17:15:51 -0400, cov...@ccs.covici.com wrote:

 OK, here is my problem -- I want to execute a command before and another
 command after an ebuild.  I see how to execute a command before using
 /etc/portage/env/category/packagename, but I can't figure out to execute
 something after the ebuild is done.  Basically, I need to change the
 opengl interface during the compile of webkit-gtk, otherwise I get this
 hanging process.  

Look at the recent thread about sending notifications after an ebuild
completes, that can be applied to running any command by defining hooks
in /etc/portage/bashrc.


-- 
Neil Bothwick

Too many clicks spoil the browse.


signature.asc
Description: PGP signature


Re: [gentoo-user] how can I execute a bash command afterebuild is over

2014-08-02 Thread covici
Neil Bothwick n...@digimed.co.uk wrote:

 On Sat, 02 Aug 2014 17:15:51 -0400, cov...@ccs.covici.com wrote:
 
  OK, here is my problem -- I want to execute a command before and another
  command after an ebuild.  I see how to execute a command before using
  /etc/portage/env/category/packagename, but I can't figure out to execute
  something after the ebuild is done.  Basically, I need to change the
  opengl interface during the compile of webkit-gtk, otherwise I get this
  hanging process.  
 
 Look at the recent thread about sending notifications after an ebuild
 completes, that can be applied to running any command by defining hooks
 in /etc/portage/bashrc.

I had forgotten about that  -- thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Re: colord failed to upgrade

2014-08-02 Thread walt
On 08/01/2014 01:52 PM, J. Roeleveld wrote:
 Bus costs me less than 4 euros for a return trip.
 Car park is 12 euros a day (my employer pays for the car and fuel, so that 
 doesn't enter the equation)

http://www.barrypopik.com/index.php/new_york_city/entry/parking_joke





Re: [gentoo-user] Re: USE flags handling

2014-08-02 Thread Walter Dnes
On Fri, Aug 01, 2014 at 06:57:17PM +0200, Alan McKinnon wrote
 On 01/08/2014 05:16, Walter Dnes wrote:
  On Thu, Jul 31, 2014 at 10:47:29AM +0200, Volker Armin Hemmann wrote
  
  how much do you have to install if you deactivate all use flags for
  okular? well, you still have all of qt...  and kdelibs and phonon... but
  you would loose a lot of the other stuff. vlc support in phonon is as
  optional as tiff or chm in okular.
  
When reading pdf files, one expects images, so tiff and jpeg are
  reasonable flags.  One does *NOT* expect audio stuff like phonon.  And
  phonon *DEMANDS SOMETHING*.  vlc is one of the options that satisfies
  phonon's demands.  Or you could choose gstreamer and its gazillion plugins.
  
 
 
 I have no idea what you are talking about.
 
 [I] kde-base/okular
  Available versions:  (4) 4.12.5-r1(4/4.12)^t (~)4.13.3(4/4.13)^t
{aqua chm crypt debug djvu dpi ebook +handbook +jpeg mobi +pdf
 +postscript +tiff}
 
 
 There's nothing in there about audio or video. There's only images and
 of those only 4 rational ones are enabled by default plus the help system.
 
 So what is the real problem exactly again?

On Fri, Aug 01, 2014 at 09:49:57PM +0200, Volker Armin Hemmann wrote

 phonon is not an okular dependency.

  It is a deep dependancy.  kde-base/kdelibs-4.12.5-r1.ebuild has a
COMMONDEPEND= block which includes =media-libs/phonon-4.4.3.  And
media-libs/phonon-4.6.0-r1.ebuild has the following line...

REQUIRED_USE=|| ( aqua gstreamer vlc )

  In gentoo, *ANY* kde app which runs on the kde infrastructure requires
phonon, and one of aqua/gstreamer/vlc, unless you resort to ugly hackery
as per http://permalink.gmane.org/gmane.linux.gentoo.user/276393

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] Re: USE flags handling

2014-08-02 Thread Philip Webb
140802 Walter Dnes wrote:
 In Gentoo, *ANY* kde app which runs on the kde infrastructure requires
 phonon, and one of aqua/gstreamer/vlc, unless you resort to ugly hackery
 as per http://permalink.gmane.org/gmane.linux.gentoo.user/276393

So don't blame KDE, blame Gentoo for not handling Phonon correctly :
see KDE bug 190601  Gentoo bug 265864 .

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