Re: [gentoo-user] Automounting USB drives

2014-08-06 Thread Wang Xuerui
2014-08-06 9:18 GMT+08:00 Chris Stankevitz chrisstankev...@gmail.com:
 [snip]
 10. Bonus: if you use words like COM/DDE/OLE

Just a side note... These 3 things don't play well with a Linux
ecosystem, as you might know. They're M$ technologies after all (-:

(actually they just don't exist in a native Linux install without
Wine, but AFAIK Wine doesn't participate in the automounting anyway)



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

2014-08-06 Thread Peter Humphrey
On Tuesday 05 August 2014 22:43:42 J. Roeleveld wrote:

 I still remember running seti@home and similar programs in the past. Those
 were large clusters, but with a very badly designed network.

Was that in the days before BOINC, Joost? Do you think it's any better now? I 
run 5 BOINC projects here in the same general area as SETI. They seem to work 
all right, except for getting changes in what they call computing preferences 
propagated around the projects.

(Just an aside - I don't want to hijack this interesting thread.)

-- 
Regards
Peter




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

2014-08-06 Thread J. Roeleveld
On Wednesday, August 06, 2014 09:29:53 AM Peter Humphrey wrote:
 On Tuesday 05 August 2014 22:43:42 J. Roeleveld wrote:
  I still remember running seti@home and similar programs in the past. Those
  were large clusters, but with a very badly designed network.
 
 Was that in the days before BOINC, Joost? Do you think it's any better now?
 I run 5 BOINC projects here in the same general area as SETI. They seem to
 work all right, except for getting changes in what they call computing
 preferences propagated around the projects.
 
 (Just an aside - I don't want to hijack this interesting thread.)

Yes, I did it for a short period sometime in 1999.

It worked alright, I just meant that running it on thousands of personal 
computers using dial-up to the internet is a badly designed network for a 
cluster.

--
Joost



Re: [gentoo-user] Gnome, pam_mount, keyrings ...

2014-08-06 Thread Stefan G. Weichinger
Am 01.08.2014 um 11:38 schrieb Stefan G. Weichinger:
 
 Greetings,
 
 could someone pls point me at how to solve this in the right way -
 
 I run gnome3, with gnome-keyring, seahorse, systemd-ui brings
 systemd-gnome-ask-password-agent (do I need that?)  and I use
 pam_mount to unlock and mount my encrypted home-dir (thinkpad).
 
 As it happens I use a rather weak password (you know, you set something
 up for testing and then it gets productive ...) ... which I would like
 to change.
 
 So I have to add/edit the LUKS-keyphrase for the LUKS-device and
 additionally edit my password via plain passwd, right?
 
 And there is the gnome keyring, which I can edit via seahorse, right?
 What exactly to edit in there?
 
 I tried that for several times and never managed to change it all in the
 proper way so that logging in to gdm unlocks pam_mount as well ... I
 always ended up with a mismatch ...
 
 Could someone point out how to do this?

*bump* ;-)





Re: [gentoo-user] Gnome, pam_mount, keyrings ...

2014-08-06 Thread Mick
On Wednesday 06 Aug 2014 11:32:56 Stefan G. Weichinger wrote:
 Am 01.08.2014 um 11:38 schrieb Stefan G. Weichinger:
  Greetings,
  
  could someone pls point me at how to solve this in the right way -
  
  I run gnome3, with gnome-keyring, seahorse, systemd-ui brings
  systemd-gnome-ask-password-agent (do I need that?)  and I use
  pam_mount to unlock and mount my encrypted home-dir (thinkpad).
  
  As it happens I use a rather weak password (you know, you set something
  up for testing and then it gets productive ...) ... which I would like
  to change.
  
  So I have to add/edit the LUKS-keyphrase for the LUKS-device and
  additionally edit my password via plain passwd, right?

I don't think that the two have to be the same, unless you made them the same.

In any case 'cryptsetup -y luksAddKey /dev/sdaX' allows you to add a 
passphrase in another slot - can't recall how many passphrase slots are there 
without looking into it.

Reboot to make sure it works and then use luksDelKey 0, to remove the previous 
key from slot 0.

Also, check gnome-disk-utility which I think allows you to change the 
passphrase.

  And there is the gnome keyring, which I can edit via seahorse, right?
  What exactly to edit in there?
  
  I tried that for several times and never managed to change it all in the
  proper way so that logging in to gdm unlocks pam_mount as well ... I
  always ended up with a mismatch ...
  
  Could someone point out how to do this?

I don't use gnome or luks at the moment, so someone with recent experience 
should chime in and put me right.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Gnome, pam_mount, keyrings ...

2014-08-06 Thread Neil Bothwick
On Wed, 6 Aug 2014 13:30:44 +0100, Mick wrote:

 In any case 'cryptsetup -y luksAddKey /dev/sdaX' allows you to add a 
 passphrase in another slot - can't recall how many passphrase slots are
 there without looking into it.

8. You can see which are in use with cryptsetup luksDump.


-- 
Neil Bothwick

Adolescence, n.: The stage between puberty and adultery.


signature.asc
Description: PGP signature


Re: [gentoo-user] Automounting USB drives

2014-08-06 Thread Walter Dnes
On Tue, Aug 05, 2014 at 06:18:44PM -0700, Chris Stankevitz wrote
 Hello,
 
 Which package(s) do I need that allow:
 
 1. A USB drive is inserted
 
 2. The drive is mounted in some location automatically (e.g. /media/usbstick)
 
 3. (2) happens even when the drive is an NTFS or FAT32 drive.
 
 4. (1)-(3) happens even if I am not running a GUI

  It can be done with udev rules.  See webpage
http://www.tuxradar.com/answers/526#null  The suggested udev rule is...

SUBSYSTEMS==scsi, KERNEL==sd[a-h][0-9],
SYMLINK:=removable%n, RUN+=/usr/bin/pmount /dev/removable%n

  It sets up devices /dev/removable1, /dev/removable2, etc, depending on
the number of partitions on the USB device.  The regular user should
able to unmount the device with the pumount command.  I'm not certain,
but I believe that regular users need to be members of group plugdev
to be able to access and unmount the USB drive.

  Because this is done independantly of the GUI, I don't think it'll set
up an icon automatically.

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



Re: [gentoo-user] Automounting USB drives

2014-08-06 Thread Neil Bothwick
On Wed, 6 Aug 2014 11:09:32 -0400, Walter Dnes wrote:

   It can be done with udev rules.  See webpage
 http://www.tuxradar.com/answers/526#null  The suggested udev rule is...

It can also be done with sys-apps/uam, which takes care of the udev
rules, but I think Alan's suggestion of udisks is better.

Ah, I've just noticed the URL you linked to, it does have some excellent
advice :)


-- 
Neil Bothwick

I distinctly remember forgetting that.


signature.asc
Description: PGP signature


Re: [gentoo-user] Automounting USB drives

2014-08-06 Thread Francisco Ares
2014-08-06 12:09 GMT-03:00 Walter Dnes waltd...@waltdnes.org:

 On Tue, Aug 05, 2014 at 06:18:44PM -0700, Chris Stankevitz wrote
  Hello,
 
  Which package(s) do I need that allow:
 
  1. A USB drive is inserted
 
  2. The drive is mounted in some location automatically (e.g.
 /media/usbstick)
 
  3. (2) happens even when the drive is an NTFS or FAT32 drive.
 
  4. (1)-(3) happens even if I am not running a GUI

   It can be done with udev rules.  See webpage
 http://www.tuxradar.com/answers/526#null  The suggested udev rule is...

 SUBSYSTEMS==scsi, KERNEL==sd[a-h][0-9],
 SYMLINK:=removable%n, RUN+=/usr/bin/pmount /dev/removable%n

   It sets up devices /dev/removable1, /dev/removable2, etc, depending on
 the number of partitions on the USB device.  The regular user should
 able to unmount the device with the pumount command.  I'm not certain,
 but I believe that regular users need to be members of group plugdev
 to be able to access and unmount the USB drive.

   Because this is done independantly of the GUI, I don't think it'll set
 up an icon automatically.

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


Hi,

I have found some interesting places, this one the most of all:

http://forums.gentoo.org/viewtopic-t-350769-highlight-udev.html

Best regards,
Francisco


[gentoo-user] Clusters on Gentoo ?

2014-08-06 Thread James
Howdy one and all,

Many see a world where clusters abound even for the small business and
resource capable enthusist [1]. Clusters of old PCs are the norm, but a slew
of new extremely low powered 64bit embedded systems, running embedded linux,
with ample ram (ddr4 even) and up to (8) SATA-3 ports will undoubtly
be the targets of aquistion by hobbyist around the world. Other with more
salient goals are sure to follow!


For example, we (Gentoo) have just had one of the titans of the embedded
linux world, return to Gentoo. Linaro is the default industry group that
is leading the charge in new development for linux based embedded system
sharing most of their work with the larger open source communities.
Thomas Gall aka. tgall is working for Linaro as the acting director of the
Linaro Mobile Group [8,9].  Clusters will seemlessly integrate CPUs, GPUs,
Arms, FPGA, SOCs and many other instantiations of computational resources,
sooner rather than later. The Billion dollar players already run these sorts
of amalgamations for a very wide variety of reasons, so why should't the
bands of linux_commoners have access to such raw power? [10]


In a recent thread (schedulers) it was noted that several folks had interest
in clusters (privately operated clouds) as more than a passing interest.
Companion projects, such as Apache's Spark [4] have tremendous potential
as aggressive solutions such diverse fields as social media relationships,
distributed database techniques and new, massively parallel programing
paradymes for computationally intensive scientific endeavors, just to
mention a few [5,6,7].


So I'm soliciting the readers of this list to post any references to
distributed/cluster/cloud softwares/fileSystems they are aware of, have used
or would like to see; to guage interest in Mesos, Chronos, Spark (apache) as
well as all other open source cluster (distributed)  systems or tools [2].
My collection of such is sporadic, at best, and serves mostly my
math/science needs. Project Aethna, is one of the oldest efforts, still
kicking at MIT, the last I heard [3]. Newer/cooler efforts?


Hopefully, we can all share ideas and brainstorm about how Gentoo users
can lead the pack of linux distros into this brave_new world. [Overlays?]


curiously,
James



[1]
http://www.forbes.com/sites/marcochiappetta/2014/07/31/amd-opteron-64-bit-arm-based-seattle-dev-kits-are-shipping/?partner=yahootix

[2] http://hadoop.apache.org/docs/r1.2.1/cluster_setup.html

[3] https://ist.mit.edu/athena

[4] https://spark.apache.org/docs/latest/index.html

[5] https://spark.apache.org/docs/latest/graphx-programming-guide.html#overview

[6] http://en.wikipedia.org/wiki/Apache_Hadoop

[7] http://www.wired.com/2012/04/amazon-takes-genomics-research-to-the-clouds/

[8] http://www.gossamer-threads.com/lists/gentoo/dev/289556

[9] http://www.linaro.org/

[10] http://opencores.org/




Re: [gentoo-user] Automounting USB drives

2014-08-06 Thread Chris Stankevitz
On Tue, Aug 5, 2014 at 10:59 PM, Wang Xuerui idontknw.w...@gmail.com wrote:
 Just a side note... These 3 things don't play well with a Linux
 ecosystem, as you might know. They're M$ technologies after all (-:

Hi Wang,

As you suspected, I knew the solution was not going to involve
DDE/OLE.  I included them to encourage answers that explain how things
work.

Chris



Re: [gentoo-user] Automounting USB drives

2014-08-06 Thread Chris Stankevitz
On Wed, Aug 6, 2014 at 8:09 AM, Walter Dnes waltd...@waltdnes.org wrote:
   It can be done with udev rules.  See webpage
 http://www.tuxradar.com/answers/526#null  The suggested udev rule is...

Walter,

Thank you for the link, that is great info!

   Because this is done independantly of the GUI, I don't think it'll set
 up an icon automatically.

Yes I agree.  I am still curious what is the mechanism that causes
icons to appear on the desktop of popular GUIs.  I suspect the
answer involves the magic of
policykit/consolekit/dbus/hal/gvfs/gnome-vfs/fuse/hotplug/udisks/etc.

Thank you,

Chris