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



[gentoo-user] Automounting USB drives

2014-08-05 Thread Chris Stankevitz
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

5. (1)-(3) happens even if I am running the GUI called TWM

6. (1)-(3) happens even if I am running the GUI called xfce4

7. (1)-(3) happens even if I am running the GUI called gnome

8. (1)-(3) happens even if I am running the GUI called kde

9. Bonus: if a GUI is runing, an icon appears on the desktop.  This
icon can be used to umount or to quickly navigate to the mounted
directory.

10. Bonus: if you use words like dbus/policykit/consolekit/COM/DDE/OLE
that allow me to get a technical understanding of the mechanisms in
play.

Thank you,

Chris



Re: [gentoo-user] How does ssh know to use pinentry?

2014-07-06 Thread Chris Stankevitz
On Sun, Jul 6, 2014 at 3:25 AM, Rich Freeman ri...@gentoo.org wrote:
 Typically they are launched from a bash profile, or an X11 startup
 script.  KDE/Gnome look like they have it in their default scripts.
 Just grep -r gpg-agent /etc and you'll find where it is being loaded
 if you didn't add them to your own startup scripts in /home.

Rich,

Thank you again.  My bash history shows ssh-agent being executed in
the past, but I'm still not sure where gpg-agent came from.

 Using gpg-agent is considered a best practice in general, so I
 wouldn't go getting rid of it unless it is really causing you
 problems.  You haven't mentioned what issue you're actually having
 with it/pinentry/etc.

FYI pinentry frustrates me because:

1. pinentry-gtk and pinentry-qt do not allow me to paste my
passphrase.  My passphrase is difficult to type.  I keep my passphrase
in keepass.

2. Supposedly pinentry-curses will let me paste; however,
pinentry-curses doesn't work.
https://www.gnupg.org/documentation/manuals/gnupg/Common-Problems.html
suggests that my problem is a misconfigured GPG_TTY environment
variable.  At this point though I'm not even interested in using it
anymore.

At the moment pinentry is no longer installed on my system so these
problems should be gone.  If/when I understand what is going on,
I'll reinstall them.

FYI I removed pinentry with:

tail /etc/portage/package.use
# 2014-07-05 Avoid pinentry
dev-vcs/git -gpg
mail-client/thunderbird -crypt

tail /etc/portage/package.mask
# 2014-07-05 Avoid password entry program that disallows paste
app-crypt/pinentry

Chris



Re: [gentoo-user] How does ssh know to use pinentry?

2014-07-06 Thread Chris Stankevitz
On Sun, Jul 6, 2014 at 12:09 PM, Mick michaelkintz...@gmail.com wrote:
 I think that the idea of keeping your passphrase in the clipboard is frowned
 upon for security reasons.  Not only because of any potential memory leaks,
 but because you may inadvertently paste it in GUI fields/areas you were not
 meant to

Mick,

Thank you.  I too have been concerned about this.  I've also been
concerned about memory leaks.  FYI one cute feature of keepass is
that it clears the clipboard 20 seconds after you copy your password
to it.  Today (2014) I am choosing to use the clipboard/keepass to
manage complex/unique passwords.  Perhaps in the future (2015)
everybody will support something like the Yubikey HW OTP... in which
case it won't matter if everyone sees my password!

Chris



Re: [gentoo-user] How does ssh know to use pinentry?

2014-07-06 Thread Chris Stankevitz
On Sun, Jul 6, 2014 at 1:32 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 Why not do the obvious thing instead?

 Run keychain and have it unlock your keys *once* when the workstation
 boots up. ssh then always uses that key as it is unlocked.

Alan,

Thank you.  FYI, I do not have a problem typing my password 100 times
per day.  The only problem I have with pinentry is that it doesn't
let me paste.  Does keychain allow me to paste?  If so, I'll consider
it.  However, now that I have killed pinentry from my system I am
happily pasting my passphrase into the ssh console.

On another note, from my OP, I am still curious how the ssh software
knows to use /usr/bin/pinentry to fetch my passphrase.  In a follow-up
post, I discovered that this mechanism only works if an environment
variable called GPG_AGENT_INFO is set.  I doubt the ssh source code
contains the string /usr/bin/pinentry or GPG_AGENT_INFO.

Chris



Re: [gentoo-user] How does ssh know to use pinentry?

2014-07-06 Thread Chris Stankevitz
On Sun, Jul 6, 2014 at 5:45 PM, Rich Freeman ri...@gentoo.org wrote:
 GPG_AGENT_INFO tells ssh to use gpg-agent.

Hi Rich,

Are you saying that the ssh software checks for the presence of the
GPG_AGENT_INFO environment variable?  It find it odd that ssh
hard-code the names of all possible agents.  Also, I thought the ssh
folks were BSD-friendly and GPG was GPL-friendly.

Thanks,

Chris



[gentoo-user] How does ssh know to use pinentry?

2014-07-05 Thread Chris Stankevitz
I am trying to ssh into a site using PKI.  I have a private key in my
.ssh directory that requires a passphrase.

ssh is asking me for my passphrase using a terrible program called
pinentry.  It's terrible for a bunch of reasons, and if you are
interested you can just google pinentry sucks.

pinentry is on my system because it is a dependency of gpg.  gpg is on
my system because I use thunderbird with +crypt (which is the
default).

Question:

By what mechanism does ssh know to use the program pinentry to
acquire my passphrase?

Thank you,

Chris



Re: [gentoo-user] How does ssh know to use pinentry?

2014-07-05 Thread Chris Stankevitz
On Sat, Jul 5, 2014 at 7:57 PM, Rich Freeman ri...@gentoo.org wrote:
 In any case, I suspect that gpg-agent is actually serving passwords to
 openssh, so the file you want is ~/.gnupg/gpg-agent.conf - it probably
 contains the line pinentry-program /usr/bin/pinentry.  If you trust
 all your X clients you can set the option no-grab in the file which
 will probably allow copy/paste/etc to work with the entry window.

Rich,

Thank you, I will give that a shot.  FYI I discovered:

declare -x GPG_AGENT_INFO=/tmp/gpg-2uVMfE/S.gpg-agent:26095:1

When I unset this env variable, ssh stopped trying to use pinentry to
acquire my passphrase.  However, I still do not understand how that
variable got set or how/why ssh behaves differently when it is set.

Chris



[gentoo-user] kswapd0 100% CPU with swapoff and no memory demands on system

2014-05-03 Thread Chris Stankevitz
Hello,

I have a small system:

- 6GB drive

- ext4 partition mounted readonly

- swap partition that is not listed in fstab and not enabled.  (I will
swapon it every few weeks or so if I need it for a large compile job)

- 2 GB RAM

When the system boots it processing video from a USB camera.  The
program dynamically allocates and releases memory while it runs, but
stores no data in memory or on disk (read-only).  The memory usage
does not grow over time.

When things are going well, top looks like so:

===

Tasks:  68 total,   1 running,  67 sleeping,   0 stopped,   0 zombie
%Cpu0  : 88.3 us, 11.7 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu1  : 25.5 us,  2.3 sy,  0.0 ni, 72.1 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu2  :  6.0 us,  0.7 sy,  0.0 ni, 93.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu3  : 25.7 us,  2.3 sy,  0.0 ni, 72.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   1861644 total,   161648 used,  166 free, 6948 buffers
KiB Swap:0 total,0 used,0 free,57728 cached

  PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND
 2129 root  20   0 1774440  81712  25388 S 160.0  4.4  25:55.46 obt
  705 root  20   0   0  0  0 S   1.0  0.0   0:07.87 kswapd0
 2049 ueyed 20   0  620472  14092  13652 S   1.0  0.8   0:09.34 ueyeusbd





Q1: Why does the kswapd0 process from time to time take up 100% CPU?

Q2: Why does top show cached swap eventhough I do not have swap mounted?

Q3: Is there anything I can do to prevent kswapd0 from using CPU on my
system?  e.g. disable SWAP in the kernel config

I suspect the answer to Q1 is:

a) kernel is not configured properly for my hardware
 or
b) there is some bad side effect to my readonly root fs

Thank you,

Chris



[gentoo-user] init.d/openvpn starts init.d/net.eno1

2014-05-02 Thread Chris Stankevitz
Hello,

At the moment I am running and receiving my network connection from
init.d/wicd.  init.d/net.eno1 is not running and I do not want it to
run.

Now I want to connect to a VPN: /etc/init.d/openvpn start

Apparently as a dependency to init.d/openvpn, something launches
init.d/net.eno1.

Q: Why is init.d/net.eno1 starting when I try to start openvpn?

Q: Why isn't net.eno1 satisfied with the network connection provided
by init.d/wicd?

Q: How can I prevent net.eno1 from being started by openvpn when wicd
is running?

PS: net.eno1 is rc-configed to start as default and wicd is
rc-configed to not start at all.  However, I find myself in a
situation where I need to switch my internet access from net.eno1 to
wicd.

Thank you,

Chris



Re: [gentoo-user] MESA + opencl = requires video_cards_radeon

2014-05-02 Thread Chris Stankevitz
On Fri, May 2, 2014 at 2:20 AM, Éric DUNAND eric.dunand...@eriknet.eu wrote:
 Btw, if you intend to try the intel sdk for opencl, it actually
 computes on the cpu, not the integrated graphics.


Eric,

Thank you.  I will try to use beignet as I am using Intel hardware.

Chris



[gentoo-user]

2014-04-08 Thread Chris Stankevitz
Hello,

The following page describes kernel, VIDEO_CARDS, and portage settings
for nvidia video cards:

https://wiki.gentoo.org/wiki/NVidia/nvidia-drivers

Is there a similar page for Matrix MGA G200 video card?

In particular, I would like to know:

1. What kernel settings should I use?

2. What VIDEO_CARDS setting should I use?

3. Which packages should be emerged?

Thank you,

Chris



[gentoo-user] Why is portage insisting that I upgrade media-libs/opencv?

2014-03-28 Thread Chris Stankevitz
Hello,

Can anyone tell me why portage is insisting on upgrading me from
opencv-2.4.5 to opencv-2.4.8?

I would not expect portage to want to do this because:

1. opencv-2.4.8 is unstable (and I run a stable system)

2. opencv-2.4.5 is masked

Thank you,

Chris

=

jane ~ # grep opencv /etc/portage/package.mask
# 2014-03-13: Hold off on opencv upgrade
media-libs/opencv-2.4.5

=

jane ~ # emerge -Dauvt world

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!

The following packages are causing rebuilds:

  (x11-base/xorg-server-1.15.0::gentoo, ebuild scheduled for merge)
causes rebuilds for:
(x11-drivers/xf86-video-vesa-2.3.3::gentoo, ebuild scheduled for merge)
(x11-drivers/xf86-video-fbdev-0.4.4::gentoo, ebuild scheduled for merge)
[nomerge   ] net-wireless/gnuradio-3.7.3:0/3.7.3  USE=alsa analog
digital examples filter grc qt4 sdl uhd utils wxwidgets -doc -fcd
-jack -oss -pager -performance-counters -portaudio -wavelet
PYTHON_SINGLE_TARGET=python2_7 PYTHON_TARGETS=python2_7
[nomerge   ]  dev-python/wxpython-2.8.12.1-r2:2.8  USE=cairo
opengl -doc -examples PYTHON_TARGETS=python2_7 -python2_6
[nomerge   ]   dev-python/pycairo-1.10.0-r4  USE=svg xcb -doc
-examples {-test} PYTHON_TARGETS=python2_7 python3_3 -python2_6
-python3_2
[ebuild U  ]x11-libs/xpyb-1.3.1-r3 [1.3.1-r2] USE=(-selinux)
-static-libs PYTHON_TARGETS=python2_7 -python2_6 0 kB
[ebuild U #] media-libs/opencv-2.4.8:0/2.4 [2.4.5:0/0] USE=cuda
eigen* gtk jpeg opencl opengl openmp%* png python%* qt4 threads tiff
-doc -examples -ffmpeg -gstreamer -ieee1394 (-ipp) -java -jpeg2k
-openexr -pch -testprograms -v4l -xine
PYTHON_SINGLE_TARGET=python2_7%* -python2_6%
PYTHON_TARGETS=python2_7%* -python2_6% 89,163 kB
[ebuild U  ] dev-util/nvidia-cuda-sdk-5.5.22 [5.0.35-r1] USE=cuda
doc examples -debug -opencl 829,510 kB
[nomerge   ] x11-base/xorg-server-1.15.0:0/1.15.0
[1.14.3-r2:0/1.14.3] USE=ipv6 kdrive nptl suid udev xorg -dmx -doc
-minimal (-selinux) -static-libs -tslib -unwind% -xnest -xvfb
[nomerge   ]  x11-base/xorg-drivers-1.15 [1.14]
INPUT_DEVICES=evdev synaptics -acecad -aiptek -elographics -fpit
-hyperpen -joystick -keyboard -mouse -mutouch -penmount -tslib
-vmmouse -void -wacom VIDEO_CARDS=fbdev nvidia vesa -apm -ast -chips
-cirrus -dummy -epson -fglrx (-freedreno) (-geode) -glint -i128
(-i740) -intel -mach64 -mga -modesetting -neomagic -nouveau -nv
(-omap) (-omapfb) -qxl -r128 -radeon -radeonsi -rendition -s3virge
-savage -siliconmotion -sisusb (-sunbw2) (-suncg14) (-suncg3)
(-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng
-v4l -via -virtualbox -vmware (-voodoo)
[ebuild U  ]   x11-drivers/xf86-input-evdev-2.8.2 [2.8.1] 362 kB
[ebuild U  ]   x11-drivers/xf86-input-synaptics-1.7.4 [1.7.1] 442 kB
[ebuild  rR]   x11-drivers/xf86-video-vesa-2.3.3  0 kB
[ebuild  rR]   x11-drivers/xf86-video-fbdev-0.4.4  0 kB
[nomerge   ] media-video/vlc-2.0.7  USE=X a52 aac alsa avcodec
avformat cdda dbus dts dvbpsi dvd encode ffmpeg flac gcrypt gnome
libnotify mmx mp3 mpeg ncurses ogg opengl png postproc pulseaudio qt4
sdl sse svg swscale theora truetype udev vorbis x264 xcb xml xv -aalib
(-altivec) -atmo (-audioqueue) -avahi -bidi -bluray -cddb -dc1394
-debug -dirac (-direct2d) -directfb (-directx) (-dshow) -dvb (-dxva2)
-egl -fbosd -fluidsynth -fontconfig -gme (-gnutls) -growl -httpd
-ieee1394 (-ios-vout) -jack -kate -kde -libass -libcaca -libproxy
-libsamplerate -libtar -libtiger -linsys -lirc -live -lua (-macosx)
(-macosx-audio) (-macosx-dialog-provider) (-macosx-eyetv)
(-macosx-qtkit) (-macosx-quartztext) (-macosx-vout) -matroska
(-media-library) -modplug -mtp -musepack (-neon) -omxil
-optimisememory (-opus) -oss -portaudio -projectm -pvr -rtsp
-run-as-root -samba -schroedinger -sdl-image -shine -shout -sid -skins
-speex -sqlite -switcher -taglib -twolame -upnp -v4l -vaapi -vcdx -vlm
(-waveout) (-wingdi) -wma-fixed -xosd -zvbi
[nomerge   ]  x11-libs/xcb-util-0.3.9  USE=-doc -static-libs {-test}
[ebuild U  ]   x11-libs/xcb-util-wm-0.4.1 [0.3.9] USE=-doc
-static-libs {-test} 315 kB
[nomerge   ] media-libs/opencv-2.4.8:0/2.4 [2.4.5:0/0] USE=cuda
eigen* gtk jpeg opencl opengl openmp%* png python%* qt4 threads tiff
-doc -examples -ffmpeg -gstreamer -ieee1394 (-ipp) -java -jpeg2k
-openexr -pch -testprograms -v4l -xine
PYTHON_SINGLE_TARGET=python2_7%* -python2_6%
PYTHON_TARGETS=python2_7%* -python2_6%
[ebuild U  ]  virtual/opencl-0-r4 [0-r2] ABI_X86=(64%*) -32%
(-x32) VIDEO_CARDS=nvidia -fglrx 0 kB
[ebuild U  ]  dev-util/nvidia-cuda-toolkit-5.5.22:0/5.5.22
[5.0.35-r4:0/5.0.35] USE=-debugger -doc -eclipse -profiler 0 kB
[ebuild   R]   x11-drivers/nvidia-drivers-334.21  USE=X acpi
multilib tools uvm* -pax_kernel 0 kB
[nomerge   ] dev-util/nvidia-cuda-sdk-5.5.22 [5.0.35-r1] USE=cuda
doc examples -debug -opencl
[ebuild U  ]  media-libs/freeglut-2.8.1-r1 [2.8.1] USE=-debug
-static-libs ABI_X86=(64%*) (-32) 

Re: [gentoo-user] Why is portage insisting that I upgrade media-libs/opencv?

2014-03-28 Thread Chris Stankevitz
On Fri, Mar 28, 2014 at 4:19 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 You need opencv as it's a dep for something, and portage wants you to
 have a version that's in the tree. The only stable version is 2.4.5 but
 you have masked that in package.mask

Hi Alan,

I attempted to mask only opencv greater than 2.4.5 (i.e. 2.4.6, 2.4.7,
2.4.8).  I wonder if my greater than symbol was interpreted as a
reply quote:

*** jane ~ # grep opencv /etc/portage/package.mask
*** # 2014-03-13: Hold off on opencv upgrade
*** media-libs/opencv-2.4.5

Chris



Re: [gentoo-user] Why is portage insisting that I upgrade media-libs/opencv?

2014-03-28 Thread Chris Stankevitz
On Fri, Mar 28, 2014 at 10:24 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 You did post emerge output using -t and it shows up at the top level
 which is a bit odd, it implies portage wants to update opencv anyway,
 not as a result of it being a dep.

I agree it's odd and I agree it appears that portage isn't updating
opencv because it's a dep.  FWIW, an emerge -pv opencv wants to
reinstall opencv-2.4.5 while an emerge -Dauv world wants to upgrade
me to 2.4.8.

 grep -r opencv /etc/portage

Yes, I was looking at that too.  Nothing interesting there:

jane ~ # grep -r opencv /etc/portage/
/etc/portage/package.use:media-libs/opencv cuda opencl
/etc/portage/package.mask:# 2014-03-13: Hold off on opencv upgrade
/etc/portage/package.mask:media-libs/opencv-2.4.5

 equery depends opencv

Also uninteresting:

jane ~ # equery depends opencv
 * These packages depend on opencv:
jane ~ #

Chris



[gentoo-user] Re: Why is portage insisting that I upgrade media-libs/opencv?

2014-03-28 Thread Chris Stankevitz
On Fri, Mar 28, 2014 at 4:05 PM, Chris Stankevitz
chrisstankev...@gmail.com wrote:
 Can anyone tell me why portage is insisting on upgrading me from
 opencv-2.4.5 to opencv-2.4.8?

This is solved:

1. opencv has USE=cuda.  I have opencv-2.4.5 installed.

2. I had these mask rules:
# 2013-12-24 Hold off on CUDA update
=dev-util/nvidia-cuda-toolkit-5.1
=dev-util/nvidia-cuda-sdk-5.1
dev-util/nvidia-cuda-toolkit-5.0
dev-util/nvidia-cuda-sdk-5.0

3. opencv-2.4.5 has RDEPEND cuda? ( dev-util/nvidia-cuda-toolkit-5.5 )

4. I removed the cuda masks to allow cuda-5.5

5. (4) required an opencv upgrade to 2.4.8

Thank you for your help Alan,

Chris



[gentoo-user] Where is /etc/conf.d/net.example?

2014-03-16 Thread Chris Stankevitz
Where is the proper place to specify the gentoo network configuration nowadays?

I do not have a file called /etc/conf.d/net.example on my hard drive.
That surprised me.

The handbook talks all about eth0, but my machine does not have a
eth0.  It has eno1.  Perhaps the handbook is not up to date?

I'm using wicd now but I want to ditch wicd and replace it with the
generally accepted correct gentoo way.

Thank you,

Chris



[gentoo-user] Will ZFS clobber my MBR?

2014-01-22 Thread Chris Stankevitz
Hello,

My / (root) lives on /dev/sdb1.  My /dev/sda has no partitions and no data
except for what I presume is the mbr written by lilo.  [history: sdb is an
SSD and I never wanted to use the slow sda]

I have been playing with ZFS on a USB drive and I am ready to create a
zpool on /dev/sda.

ZFS recommends that I give it the entire drive (partitioning discouraged).
 In this case I hesitate to give ZFS my entire drive as I worry ZFS will
clobber my MBR rendering my system unbootable.

Are my fears warranted?  If so, what should I do about it?  If you
recommend that I partition sda, what parameters do I used to avoid a
clobber?

Thank you,

Chris


[gentoo-user] Re: Will ZFS clobber my MBR?

2014-01-22 Thread Chris Stankevitz
On Wednesday, January 22, 2014, Michael Hampicke m...@hadt.biz wrote:

  But why don't you install lilo on /dev/sdb? You change change the boot
 order in BIOS after that.


 Michael,

Thank you,  that worked perfectly.

Chris


Re: [gentoo-user] Mounts NFS in XFCE4

2014-01-20 Thread Chris Stankevitz
On Sun, Jan 19, 2014 at 10:57 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 That's how it is supposed to work. nfs is a Unix filesystem, it obeys
 Unix user and permissions (unlike say VFAT or smbfs where it has to
 fudge these things). NFS will mount the filesystem using whatever is set
 on the server. You cannot override the permissions the server has set
 from the client

Alan,

Thank you for your help.  I was trying to use NFS because I always
thought it odd that I have to jump through a bunch of samba hoops to
share data among gentoo boxes.  Is this a fair understanding:

When setting up an NFS server to share data with people, first collect
a list of UIDs from people around the world who will ever want to
connect to this server.  Modify the NFS server settings to incorporate
these UIDs.  If you cannot generate such a list, then an NFS server
might not be right for you.

 You probably want to tweak your squash settings.

I never have heard that term before, but I'm hoping to find something
like this: Normally NFS requires you go compile a list of UIDs of
people around the world who will ever connect to your server.  The
squash settings help you avoid that.

Thanks again,

Chris



Re: [gentoo-user] Mounts NFS in XFCE4

2014-01-20 Thread Chris Stankevitz
On Mon, Jan 20, 2014 at 9:10 AM, Alan McKinnon alan.mckin...@gmail.com wrote:
 Most NFS servers in the real world are thus file shares and permit
 read-only access to all users.

Alan,

Thank you for explaining this in english for me.  I am a bit blown
away that it is taking me so long to figure out that NFS might not be
for me.  However, it is now making sense why everybody, even linux
people, seem to use SMB.

My problem:

I have a handful of users on Mac and Linux who want to share some
files whose content is not secret, but to avoid accidents I would like
to restrict write access to those with a password.  Most users are
probably UID 1000 on their respective machines.  Normally we use git
for this, but we have 1TB of large binary files and do not need
versioning.  So I thought problem solved... I'll just make an NFS
share.  From your machines, just open nfs://share/ and when prompted
for a username/password, just use one I'll supply.

So this little plan of mine has hit several problems:

1. Accessing an NFS share from linux is not as simple as Please open
nfs://foo/bar.  At least not on XFCE4 (see my post
http://mail.xfce.org/pipermail/xfce/2014-January/033023.html).  It
seems I have to get fstab involved.  Not sure about from the mac.

2. Opening SMB is as simple as Please open smb://foo/bar.  Perhaps
this simplicity is due to the efforts of
metacity/gvfs/fuse/samba/udev/polkit/consolekit.

3. NFS is UID based and I have no idea what the UIDs are, and worse,
most of my users probably have the same UIDs on their system.  This
sounds like a show stopper to me.


===

 Most NFS servers in the real world are thus file shares and permit
 read-only access to all users.

Are you saying that NFS can be configured to allow ro access to
everyone, even those people whose UID was not known when the NFS was
setup?  If so, can the same be done for rw access?

 squash was invented - when root access comes over the wire, the server
 changes it from UID=0 to something else (usually nobody) and then
 applies Unix permissions to that account.

Got'cha.  If I go with NFS, I think I would be interested in is more
of a global squash.  No matter which UID is making the connection,
squash it over to the generic local UID  which was granted rw
access to the share.

Thanks again,

Chris



Re: [gentoo-user] Mounts NFS in XFCE4

2014-01-20 Thread Chris Stankevitz
On Mon, Jan 20, 2014 at 12:00 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 Indeed. The original use-case for NFS is no longer relevant whereas the
 design for smb *is* what suits most folk.

Alan,

What can I say.  Thank you for your explanation.  You wrote exactly
the words I needed to hear.  For some reason, it seems most sources
stick to these too-general or too-specific talking points:

a) NFS is fast replacement for SMB

b) edit your fstab and modify your exports to get it working

Chris



[gentoo-user] Mounts NFS in XFCE4

2014-01-19 Thread Chris Stankevitz
Hi,

Is it possible to mount an NFS share from XFCE4?  I suspect the answer
might have something to do with gvfs or fuse, neither of which I know
anything about.

Ideally after emerging or USEing I will have a Connect to server entry in
my XFCE4 menu.

If this is impossible, then I'd be ok with an approach that will allow a
regular user to mount any network share with the mount command.

Thank you,

Chris


Re: [gentoo-user] Mounts NFS in XFCE4

2014-01-19 Thread Chris Stankevitz
On Sun, Jan 19, 2014 at 11:13 AM, Neil Bothwick n...@digimed.co.uk wrote:
 Put the mount in /etc/fstab with the noauto and users or user options.

Neil,

Thank you.  I did this; however, as soon as I mount, the directory
becomes owned by root and I cannot write to it.  Please consider:

jane cstankevitz # grep nfs /etc/fstab
adam:/mnt/volume_a/sdn_collections
/home/cstankevitz/Desktop/sdn_collections nfs rw,noauto,user 0 0

Desktop $ ls -l /home/cstankevitz/Desktop/
drwxr-xr-x  2 cstankevitz cstankevitz   4096 Jan 19 20:43 sdn_collections

Desktop $ mount ./sdn_collections/
Desktop $ ls -l /home/cstankevitz/Desktop/
drwxr-xr-x  2 rootroot 2 Jan 19 20:37 sdn_collections

Please note how the ownership changes from cstankevitz to root after I
mount.  What am I doing wrong?

Thank you,

Chris



Re: [gentoo-user] Preparing a shared USB stick

2014-01-04 Thread Chris Stankevitz
On Thu, Jan 2, 2014 at 10:45 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 You don't need chown/chmod at all. FAT has no concept of owner and
 permissions, so the kernel fudges these. Basically, when mounting the
 stick it pretends every file on it is owned by the user that mounted it
 and everything has permissions 777, regardless of who plugged it in.
 Considering the nature of a USB stick, this is almost always what you want.

Alan,

Thank you very much this is exactly what I needed to understand.  It
sounds like trying to manage a shared disk/stick with ext* would be a
PITA.

Chris



Re: [gentoo-user] Preparing a shared USB stick

2014-01-04 Thread Chris Stankevitz
On Fri, Jan 3, 2014 at 1:16 AM, Neil Bothwick n...@digimed.co.uk wrote:
 Stick with FAT, where thereis no ownership so Linux pretend all files
 are owned by whoever mounted the drive.

Neil,

Thank you.

Chris



Re: [gentoo-user] Preparing a shared USB stick

2014-01-04 Thread Chris Stankevitz
On Sat, Jan 4, 2014 at 3:44 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 On 05/01/2014 01:31, Chris Stankevitz wrote:
 On Thu, Jan 2, 2014 at 10:45 PM, Alan McKinnon alan.mckin...@gmail.com 
 wrote:
 It
 sounds like trying to manage a shared disk/stick with ext* would be a
 PITA.

 yes, it is, very much so

I wonder what something like the Synology DS212j uses.  It allows for
ACLs (implying ext* or NTFS under the hood); however, it has a USB
cable (implying trouble-free plugging into many different machines).

I bet if you use it on the network with the ACLs and subsequently
write from a few machines with the USB cable... the thing gets
FUBAR-ed.

Chris



[gentoo-user] Preparing a shared USB stick

2014-01-02 Thread Chris Stankevitz
Hello,

Please consider a USB stick that is unformatted but is to be used by
multiple people/machines.  Ideally your instructions will work for all
people/os/WM, but if necessary please assume that everyone is running
gnome under linux

1. How should I prepare this device so that it can be plugged into any
machine and will be writable by anyone?  I suspect the answer will
involve words like fdisk, mkfs.xxx, mkdir/mount, chmod/chown.  I'm
most interested in the chmod/chown part.

2. How can I prepare the device so that files/directories added by
people in the future will continue to be writable by anyone?

3. How can I ensure that all files will appear to have the same owner;
or, if this is not important, can you explain why it should not be a
problem.

And of course if you can refer me to a document that explains this I'm
happy to read it.

Thank you,

Chris



Re: [gentoo-user] Terminals not closing after exit anymore

2013-11-29 Thread Chris Stankevitz
On Sun, Nov 24, 2013 at 6:14 AM, Marc Stürmer m...@marc-stuermer.de wrote:
 When working under X11 in a terminal and I type exit in the shell, the
 terminal does not close itself anymore.

I had the same problem and fixed it with:

  echo =x11-drivers/nvidia-drivers-331.20  /etc/portage/package.mask

This downgraded me to:

  x11-drivers/nvidia-drivers-325.15  USE=X acpi (multilib) tools -pax_kernel

Chris



Re: [gentoo-user] Terminals not closing after exit anymore

2013-11-29 Thread Chris Stankevitz
On Fri, Nov 29, 2013 at 11:43 AM, Mick michaelkintz...@gmail.com wrote:
 I'm reading all these messages about Nvidia driver versions causing problems
 and I'm wondering if for my next box I should just stick with radeon, which
 has not really given me any trouble for as long as I can remember.

Mick,

I've been running nvidia-drivers on my Gentoo laptop for three years
and have two major problems:

1. Any particular nvidia driver version is only compatible with only
certain kernel versions.  This condition is due to the way the NVIDIA
driver works.  Gentoo portage was just not designed to handle such a
rule package x requires kernel y so it is left to us users to deal
with via masks.  For some reason (?) I only had to deal with this rule
during the period ~July 2013 - October 2013.

2. The latest stable version of the nvidia drivers do not allow
gnome-terminal windows to close.  This problem too just started
happening after years of trouble-free gnome-terminal closing.

It is frustrating... but I'm stuck with NVIDIA-drivers because I use
CUDA.  If 1) this sort of thing bothers you and 2) radeon doesn't have
similar problems, then by all means please switch to radeon and let us
know how it goes!

PS: Installing the CUDA runtime and SDK is easier on Gentoo than on
any other linux distro.

Chris



Re: [gentoo-user] Terminals not closing after exit anymore

2013-11-29 Thread Chris Stankevitz
On Fri, Nov 29, 2013 at 2:55 PM, Mick michaelkintz...@gmail.com wrote:
 I'm not sure CUDA will make a noticeable difference (will
 it?

You will not notice CUDA.  The only people who want CUDA are those who
have written software specifically to work with CUDA.  This is mostly
the engineering/research community.  CUDA is a PITA because due to the
closed-source short-and-curly dependence on NVIDIA corporation.

Chris



[gentoo-user] Do I require static nodes?

2013-11-26 Thread Chris Stankevitz
Hello,

Portage recently told me this:

 * You need to add kmod-static-nodes to the sysinit runlevel for
 * kernel modules to have required static nodes!
 * Run this command:
 * rc-update add kmod-static-nodes sysinit

Will you please help me parse this statement?

Interpretation A:
 * You need to add kmod-static-nodes to the sysinit runlevel

Interpretation B:
 * If your kernel modules require static nodes, then you need to add
 * kmod-static-nodes to the sysinit runlevel

Q1: Is it A or B (or C...)?

Q2: If it's B, then how do I determine whether or not my kernel
modules require static nodes?

Thank you,

Chris



Re: [gentoo-user] USE ruby_targets_ruby20

2013-11-15 Thread Chris Stankevitz
On Fri, Nov 15, 2013 at 5:33 AM, Tanstaafl tansta...@libertytrek.org wrote:
 The new ebuild thin-provisioning-tools-0.2.8-r1 reflects this. So if you
 update to this version and don't use FEATURES=test it should not pull
 in ruby anymore.

 I don't have FEATURES=test and it still wants to pull all the ruby crap
 in...

Me too.  I do not specify FEATURES=test and
thin-provisioning-tools-0.2.8 still wants dev-lang/ruby-2.0.0_p247-r1:

FEATURES=assume-digests binpkg-logs config-protect-if-modified
distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch
preserve-libs protect-owned sandbox sfperms splitdebug strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv
usersandbox usersync

=dev-ruby/rdoc-4.0.1-r1 ruby_targets_ruby20
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby20]
# required by dev-lang/ruby-1.9.3_p448[rdoc]
# required by dev-ruby/rubygems-2.0.3[ruby_targets_ruby19]
# required by virtual/rubygems-4
# required by dev-ruby/rake-0.9.6[-test,ruby_targets_ruby19]
# required by dev-ruby/json-1.8.0[-test,-doc,ruby_targets_ruby18]
# required by dev-lang/ruby-2.0.0_p247-r1
# required by sys-block/thin-provisioning-tools-0.2.8

Chris



Re: [gentoo-user] Re: USE ruby_targets_ruby20

2013-11-15 Thread Chris Stankevitz
On Thu, Nov 14, 2013 at 11:15 PM, Hans de Graaff gra...@gentoo.org wrote:
 False. These packages should already have this use flag set by default in
 a vanilla Gentoo setup. Perhaps you masked something related to ruby
 already?

Hans,

You are correct.

A year ago I added RUBY_TARGETS=ruby18 ruby19 to my make.conf in
order to get my system to build.  Today I removed the entry from
make.conf and my update continues without error.

At the time I believe the problem was: 'the gentoo base system needed
the ruby19 USE_EXPAND but it was still awaiting approval.  Work around
the problem by adding RUBY_TARGETS=ruby18 ruby19 to make.conf'

Thank you,

Chris



Re: [gentoo-user] USE ruby_targets_ruby20

2013-11-15 Thread Chris Stankevitz
On Fri, Nov 15, 2013 at 11:10 AM, Tanstaafl tansta...@libertytrek.org wrote:
 Ok, so... is there or is there not a way to prevent ruby from being
 installed?

Yes

 I've tried adding -ruby and -test to package.mask for
 thin-provisioning-tools, and even tried adding them to USE= in make.conf, to
 no avail...

Follow these steps:

0. undo whatever you did

1. emerge --sync

2. echo =sys-block/thin-provisioning-tools-0.2.8-r1 ~amd64 
/etc/portage/package.keywords

3. update your system

Chris



[gentoo-user] USE ruby_targets_ruby20

2013-11-14 Thread Chris Stankevitz
Hello,

If possible please phrase your response in a way that will make sense
to someone who was no idea what is ruby, has no desire to learn what
is ruby, and who doesn't [directly] even want ruby on his system.

True or false: The correct way to appease portage's error message
below is to add a bunch of ruby_targets_ruby20 use flags in
/etc/portage/package.use

Thank you,

Chris

===

The following USE changes are necessary to proceed:
 (see package.use in the portage(5) man page for more details)
# required by dev-lang/ruby-2.0.0_p247-r1[rdoc]
# required by dev-ruby/racc-1.4.9[ruby_targets_ruby20]
=dev-ruby/rdoc-4.0.1-r1 ruby_targets_ruby20
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby20]
# required by dev-lang/ruby-1.9.3_p448[rdoc]
# required by dev-ruby/rubygems-2.0.3[ruby_targets_ruby19]
# required by virtual/rubygems-4
# required by dev-ruby/rake-0.9.6[-test,ruby_targets_ruby19]
# required by dev-ruby/json-1.8.0[-test,-doc,ruby_targets_ruby18]
# required by dev-lang/ruby-2.0.0_p247-r1
# required by sys-block/thin-provisioning-tools-0.2.8
# required by sys-fs/lvm2-2.02.103[thin]
# required by sys-fs/udisks-1.0.4-r5
# required by x11-libs/libfm-0.1.17-r1[udev]
# required by x11-misc/pcmanfm-0.9.10
# required by @selected
# required by @world (argument)
=dev-ruby/racc-1.4.9 ruby_targets_ruby20
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby20]
# required by dev-lang/ruby-1.9.3_p448[rdoc]
# required by dev-ruby/racc-1.4.9[ruby_targets_ruby19]
=dev-ruby/json-1.8.0 ruby_targets_ruby20
# required by dev-lang/ruby-2.0.0_p247-r1
# required by dev-ruby/racc-1.4.9[ruby_targets_ruby20]
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby18]
# required by dev-lang/ruby-1.9.3_p448[rdoc]
# required by dev-ruby/rubygems-2.0.3[ruby_targets_ruby19]
# required by virtual/rubygems-4
# required by dev-ruby/json-1.8.0[-test,ruby_targets_ruby19]
=dev-ruby/rake-0.9.6 ruby_targets_ruby20
# required by dev-lang/ruby-2.0.0_p247-r1
# required by dev-ruby/racc-1.4.9[ruby_targets_ruby20]
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby18]
# required by dev-lang/ruby-1.9.3_p448[rdoc]
# required by dev-ruby/json-1.8.0[ruby_targets_ruby19]
=dev-ruby/rubygems-2.0.3 ruby_targets_ruby20



[gentoo-user] xorg seizes during debugging

2013-10-22 Thread Chris Stankevitz
Hello,

I got no feedback from eclipse, so I thought I would try here:

I debug a multithreaded program using Eclipse (which uses gdb
underneath).  Somtimes (but usually not) xorgs will seizes for 1-3
secconds during a step operation.

When I say xorg seizes what I mean is that the display freezes.  My
CPU graph which is always updating at 10Hz stops updating.  However,
the mouse cursor moves.

Can someone suggest a teach a man to fish approach I can use to
figure out what is causing this?

Thank you,

Chris



[gentoo-user] USB disk automatically mounting: how does it work

2013-10-06 Thread Chris Stankevitz
Hello,

Would you please explain (or refer me to a place that explains) the
mechanism by which an USB drive appears on my desktop?  I'm looking
for a level of detail like this:

When you insert a USB device, the kernel sends out a notification A.
Userland daemons such as B can catch this signal.  A file B.conf
describes what to do in response to a certain class of USB devices and
in there you will see a section for disk drives that says mount them
at location C.  Then B sends out a notification D which window
managers can catch if they want.  GNOME and others catch D and in
response put an icon on the desktop.  The reason lowly users can mount
and write to these devices is E.

PS: These topics are a blur in my mind: udev hotplug coldplug session
pam.  I suspect these words are used to fill in some of the variables
in my pseudo-description above.

Thank you,

Chris



[gentoo-user] How do I downgrade chromium below 29.0.1547.57?

2013-09-13 Thread Chris Stankevitz
Arg...

dev-lang/v8-3.19.18.19 breaks sci-geosciences/osgearth-2.4.

Downgrading to dev-lang/v8-3.18.5.14 breaks www-client/chromium-29.0.1547.57

Can't downgrade www-client/chromium below 29.0.1547.57 because there
is no older version in chromium.

Bonus: I'm afraid to upgrade my kernel since I use nvidia.

Chris :(



Re: [gentoo-user] Re: How do I downgrade chromium below 29.0.1547.57?

2013-09-13 Thread Chris Stankevitz
On Fri, Sep 13, 2013 at 6:58 AM, Michael Palimaka kensing...@gentoo.org wrote:
 All old ebuilds are always available in CVS:
 http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-client/chromium/?hideattic=0,
 which you could put in a local overlay.

 Don't forget to file a bug so the science team knows about the breakage! :-)

Works great, thank you.  I filed a bug also.

Chris



[gentoo-user] The NVIDIA/Kernel fiasco -- is it safe to sync yet?

2013-08-23 Thread Chris Stankevitz
https://bugs.gentoo.org/show_bug.cgi?id=447566

This bug describes a problem people are having with nvidia/kernel.  My question:

Are regular nvidia users who run a completely stable system (with
only stable nvidia-drivers and stable gentoo-sources) affected by any
of this?

I run a stable system but I've been afraid to sync for fear I'll get
sucked into having to mask/unmask packages and keep up with the
unfolding drama.

Thank you,

Chris



Re: [gentoo-user] Re: The NVIDIA/Kernel fiasco -- is it safe to sync yet?

2013-08-23 Thread Chris Stankevitz
On Fri, Aug 23, 2013 at 9:12 PM, »Q« boxc...@gmx.net wrote:
 It looks like maybe the best way to tell which ebuilds support which
 kernels is to read the conditional for the ewarn message in each
 ebuild.

If this sort of problem spreads it might be good to build into portage
some kind of blocker/keyword mechanism so that users need not deal
with this not that I have any appreciation for the work involved.

http://www.gentoo.org/main/en/philosophy.xml

The goal of Gentoo is to design tools and systems that allow a user to
do that work as pleasantly and efficiently as possible, as they see
fit. Our tools should be a joy to use, and should help the user to
appreciate the richness of the Linux and free software community, and
the flexibility of free software.

Kind of funny... Gentoo's mandate is sort of at odds with itself.  A
joy to use while simultaneously giving full flexibility.

Chris



Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-06 Thread Chris Stankevitz
On Tue, Aug 6, 2013 at 6:04 AM, Kerin Millar kerfra...@fastmail.co.uk wrote:
 Run eselect locale, first with the list parameter and then the set
 parameter as appropriate. It's easier.


Kerin, all,

Thank for your help.  SVN (and I'm sure other apps) are happy now.

Chris



Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-06 Thread Chris Stankevitz
On Tue, Aug 6, 2013 at 8:13 AM, Mike Gilbert flop...@gentoo.org wrote:
 Leaving LC_COLLATE unset will cause strings to be sorted according to
 the normal rules associated with your locale.

Mike (or anyone else),

For which applications does setting LC_COLLATE affect sorting:

a) Any C++ application that uses bool std::string::operator(const std::string)

b) Any C or C++ application that compares char values using the '' operator

c) Any application that uses the system call CompareStrings(const
char*, const char*)

d) [your answer here]

I'm sure the answer is not a or b.  I'm sure it's not c either since I
just made it up.

Thank you,

Chris



Re: [gentoo-user] Killing Adobe Flash

2013-08-06 Thread Chris Stankevitz
On Tue, Aug 6, 2013 at 12:49 AM, Pavel Volkov negai...@gmail.com wrote:
 Is anyone able to run Gnash or Lightspark in Gentoo?

I take my 64 bit gentoo laptop everywhere and have never installed
flash (or similar) on it.  I told youtube that I use HTML5 which gives
me access to ~33% of videos.  I use virtualbox to run a 32 bit xubuntu
that is used only to view webpages that demand flash.  I start it up
~once/week.

Chris



[gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-05 Thread Chris Stankevitz
Hello,

I am using svn to update a repository.  Somebody added files to the
repository with weird characters in the filename.  SVN refuses to
update the respository unless I first:

export LC_CTYPE=en_US.UTF-8

I don't know or really care what that mumbo jumbo means, but I would
like an answer to this question:

Is my gentoo system properly setup?  If not, what step did I miss that
is causing svn to want me to export LC_CTYPE?

I suspect either my gentoo system is messed up or svn is messed up.

Thank you,

Chris



Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-05 Thread Chris Stankevitz
On Mon, Aug 5, 2013 at 11:53 AM, Mike Gilbert flop...@gentoo.org wrote:
 The handbook documents setting a system-wide default locale. You
 generally do this by setting the LANG variable in
 /etc/conf.d/02locale.

 http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1chap=8#doc_chap3_sect3

Mike,

Thank you for your help.  I attempted to follow these instructions and
ran into three problems.  Can you please confirm the fixes I employed
to deal with each of these issues:

1. The handbook suggests I should modify the file /etc/env.d/02locale,
but that file does not exist on my system.  RESOLUTION: create the
file

2. The handbook suggests I should add this line to
/etc/env.d/02locale: 'LANG=de_DE.UTF-8', but I do not speak the
language DE.  RESOLUTION: type instead 'LANG=en_US.UTF-8' to match
/etc/locale.gen

3. The handbook suggests that I should add this line to
/etc/env.d/02locale: 'LC_COLLATE=C', but I do not know if they are
again talking about the language DE.  RESOLUTION: I assumed
LC_COLLATE=C refers to english and added the line without
modification.

Thank you again for your help,

Chris



Re: [gentoo-user] Understanding why portage wants to downgrade nvidia-cuda-sdk

2013-07-02 Thread Chris Stankevitz
On Tue, Jul 2, 2013 at 1:19 AM, Alan McKinnon alan.mckin...@gmail.com wrote:
 You probably already spotted this but just in case

 stable sdk is v2.02.0807.1535
 stable toolkit is 4.2.9-r2


Alan,

I did not notice that.  Thank you, it all makes sense now!

Chris



[gentoo-user] Understanding why portage wants to downgrade nvidia-cuda-sdk

2013-07-01 Thread Chris Stankevitz
Hello,

I'm particularly paranoid about my CUDA setup.  I do not understand
CUDA except enough to declare that if my machine has CUDA 4.2
installed my life will be easy.  This is because I compile software
that supposedly needs CUDA 4.2.

Can someone please translate the emerge -Dauv snip below into english for me?

My attempted translation: portage is about to uninstall CUDA 4.2 and
replace it with CUDA 2.2 so enjoy your new life of misery sucker...
should've used OpenCL!  Hahaha!

I'll also post the top of dev-util/nvidia-cuda-sdk/ChangeLog

Thank you,

Chris

===

emerge -Duav snip:

[ebuild UD ] dev-util/nvidia-cuda-sdk-2.02.0807.1535 [4.2]
USE=-debug -emulation% (-cuda%*) (-doc%*) (-examples%*) (-opencl%)
40,937 kB

===

ChangeLog snip:

# ChangeLog for dev-util/nvidia-cuda-sdk
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-sdk/ChangeLog,v
1.40 2013/06/26 16:13:04 xarthisius Exp $

  26 Jun 2013; Kacper Kowalik xarthis...@gentoo.org
  -nvidia-cuda-sdk-2.2-r1.ebuild, -nvidia-cuda-sdk-4.2.9-r1.ebuild,
  -nvidia-cuda-sdk-4.2.ebuild, -nvidia-cuda-sdk-5.0.35.ebuild,
  nvidia-cuda-sdk-5.0.35-r1.ebuild:
  Workaround bug #462602, drop old

*nvidia-cuda-sdk-5.0.35-r1 (09 Mar 2013)

  09 Mar 2013; Justin Lecher j...@gentoo.org
  +nvidia-cuda-sdk-5.0.35-r1.ebuild:
  Install Makefile with examples, #460740

*nvidia-cuda-sdk-4.2.9-r2 (23 Jan 2013)



Re: [gentoo-user] Understanding why portage wants to downgrade nvidia-cuda-sdk

2013-07-01 Thread Chris Stankevitz
On Mon, Jul 1, 2013 at 4:01 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 On 01/07/2013 23:18, Chris Stankevitz wrote:
 It says it's going to downgrade nvidia-cuda-sdk,but it doesn't say why.
 For that:

 $ eix dev-util/nvidia-cuda-sdk
 * dev-util/nvidia-cuda-sdk
  Available versions:  2.02.0807.1535^b (~)4.2.9-r2 (~)5.0.35-r1
 {+cuda debug +doc emulation +examples opencl}
  Homepage:http://developer.nvidia.com/cuda
  Description: NVIDIA CUDA Software Development Kit

Alan,

Thank you for your help.  Based on your suggestion, I confirmed the
reason for the nvidia-cuda-sdk downgrade is that my package.keywords
suddenly no longer applies.

These are questions that still linger in my head:

Why does the atom ~dev-util/nvidia-cuda-sdk-4.2 NOT apply to
dev-util/nvidia-cuda-sdk-4.2.9-r2?

Why does the atom ~dev-util/nvidia-cuda-toolkit-4.2 INDEED apply to
dev-util/nvidia-cuda-toolkit/4.2.9-r2 (see below)?

Thanks again,

Chris

===

~ $ eix dev-util/nvidia-cuda-sdk
[D] dev-util/nvidia-cuda-sdk
 Available versions:  2.02.0807.1535^b ~4.2.9-r2 ~5.0.35-r1
{{+cuda debug +doc emulation +examples opencl}}
 Installed versions:  4.2(03:24:15 01/14/13)(cuda doc examples
-debug -opencl)
 Homepage:http://developer.nvidia.com/cuda
 Description: NVIDIA CUDA Software Development Kit

~ $ grep nvidia-cuda-sdk /etc/portage/package.keywords
~dev-util/nvidia-cuda-sdk-4.2 ~amd64

===

~ $ eix dev-util/nvidia-cuda-toolkit
[I] dev-util/nvidia-cuda-toolkit
 Available versions:
(0) 4.2.9-r2 ~5.0.35-r2 ~5.0.35-r3
(0/4.2.9) ~4.2.9-r3
(0/5.0.35) ~5.0.35-r4
{{debugger doc eclipse profiler}}
 Installed versions:  4.2.9-r2(18:33:18 02/08/13)(-debugger -doc
-eclipse -profiler)
 Homepage:http://developer.nvidia.com/cuda
 Description: NVIDIA CUDA Toolkit (compiler and friends)

~ $ grep nvidia-cuda-toolkit /etc/portage/package.keywords
~dev-util/nvidia-cuda-toolkit-4.2 ~amd64



Re: [gentoo-user] Without udev, who/what names ethernet devices?

2013-06-07 Thread Chris Stankevitz
On Fri, Jun 7, 2013 at 1:06 AM, Alan McKinnon alan.mckin...@gmail.com wrote:
 Regarding this string eth0:

 1. What does this string represent?  Is it a file on a filesystem?
 (no!)  Is it okay for me to call it an ethernet *device*

 It's just a name.

I'm interested in a bit more resolution here.  I believe we
established that the name eth0 is given by the kernel.  Presumably
these names are made available through system calls.  What is the name
of the system call that provides these monikers?  I'm curious by what
moniker systemcalls refer to these devices.  For example, is the
systemcall that retrieves these monikers called GetEthernetNames?

 What you CANNOT do with udev is eg switch the names eth0 and eth1 around
 after the kernel has named them. That was tried for years, it doesn't
 work. So now udev never interferes with kernel namespace, it create it's
 own namespace

Okay.  From your description I conclude that there are two classes of
names for ethernet devices.  Kernel ethernet names and udev
ethernet names.  When a userland utility (wuch as ifconfig) takes an
ethernet device name as input are they expecting a kernel ethernet
name or the udev ethernet name?  That question can be answered with
a simple kernel or udev but I'm interested in a little more
detail.  What do these userland utilities do with the name?  Are these
utilities calling systemcalls such as
GivePropertiesOnEthernetNameInKernelNamespace(eth0)?  Are they
establishing a connection to a udev server and querying based on udev
namespace names?

The goal of these questions is not for me to determine if udev is good
or bad, debate global warming, etc.  I just want to technically
understand these names, what their differences are, where they come
from, how they are referred in various function calls, etc.

Chris



Re: [gentoo-user] Who/what names hard drives /dev/sda, /dev/sdb, etc

2013-06-07 Thread Chris Stankevitz
On Fri, Jun 7, 2013 at 2:43 AM, Philip Webb purs...@ca.inter.net wrote:
 When in the boot process does is a disk given a name like /dev/sda?

 That's done by 'udev' based on what BIOS tells it.

Hi Philip,

Is this a true statement:

Some people do not use udev.  These people still have a /dev/sda.
Therefore something other than udev is giving drives the name
/dev/sda.

Thank you,

Chris



Re: [gentoo-user] Without udev, who/what names ethernet devices?

2013-06-07 Thread Chris Stankevitz
On Fri, Jun 7, 2013 at 11:12 AM, Samuli Suominen ssuomi...@gentoo.org wrote:
 http://cgit.freedesktop.org/systemd/systemd/commit/src/udev?id=97595710b77aa162ca5e20da57d0a1ed7355eaad

 From there you can find the code that does the renaming in udev.

Thank you for the description and links... that was the kind of info I
was hoping to get.

Chris



[gentoo-user] Setting the clock with ntp

2013-06-06 Thread Chris Stankevitz
Hi,

What is the gentoo equivalent to this ubuntu command:

 apt-get install ntpdate  ntpdate pool.ntp.org

The first command installs ntpdate, a program that uses ntp to
immediately set the clock, even if it is going to be a large
adjustment.  The second comment tells ntpdate to sync the clock.

Thank you,

Chris



Re: [gentoo-user] Setting the clock with ntp

2013-06-06 Thread Chris Stankevitz
On Thu, Jun 6, 2013 at 6:30 PM, staticsafe m...@staticsafe.ca wrote:
 emerge ntp  ntpdate pool.ntp.org

Thank you!

Chris



[gentoo-user] Without udev, who/what names ethernet devices?

2013-06-06 Thread Chris Stankevitz
Hello,

A USB serial device is identified by the characters /dev/ttyUSB0.
One might call this string a device on your filesystem and it can be
opened/closed just like any other entry in the filesystem.

An ethernet device is sometimes represented by the string eth0.
Regarding this string eth0:

1. What does this string represent?  Is it a file on a filesystem?
(no!)  Is it okay for me to call it an ethernet *device*

2. Assuming udev is not running, who/what comes up with the name
eth0?  How does that person/thing know how many ethernet devices
there are and in what order to enumerate them?  What happens if
ethernet devices are dynamically added (e.g. a USB ethernet device or
a driver being loaded/unloaded)?

3. How does (2) change when udev is running?

Thank you,

Chris



[gentoo-user] Who/what names hard drives /dev/sda, /dev/sdb, etc

2013-06-06 Thread Chris Stankevitz
Hello,

Who or what decides to name a hard drive /dev/sda vs /dev/sdb?

How does it decide what order to enumerate the drives on my computer?

When in the boot process does is a disk given a name like /dev/sda?

Thank you,

Chris



Re: [gentoo-user] Poor sound quality

2013-06-03 Thread Chris Stankevitz
On Mon, Jun 3, 2013 at 12:52 AM, Neil Bothwick n...@digimed.co.uk wrote:
 Eliminate hardware failure as a cause by trying it from a live CD.


Neil,

Thank you.  I tried with a xubuntu 12.04 64bit live cd.  There was no
problem.  I conclude that there is no problem with my hardware.  I
also conclude that there is a problem with my gentoo setup.

So...

Can anyone help me figure out why my Gentoo crapped up my sound ~6 months ago?

Thank you,

Chris



Re: [gentoo-user] Re: Poor sound quality

2013-06-03 Thread Chris Stankevitz
On Mon, Jun 3, 2013 at 10:28 AM, James wirel...@tampabay.rr.com wrote:
 Good luck, Good Hunting!


James,

Thank you for your tips.  I tried to reproduce the problem on the same
hardware using a different OS (xubuntu 12.04).  The problem did not
occur on the different OS.  Therefore I rule out hardware problems.
Do you have any gentoo-specific suggestions as to the source that I
can try?

Thank you,

Chris



Re: [gentoo-user] Poor sound quality

2013-06-03 Thread Chris Stankevitz
On Mon, Jun 3, 2013 at 1:07 PM, Walter Dnes waltd...@waltdnes.org wrote:
   At the risk of starting a flamewar, did you recently install a sound
 server (e.g. pulseaudio/phonon/whatever)?  Can you temporarily disable
 it and see how the sound comes out?

Walter,

Thank you for your tip.  This is the sort of thinking that will
ultimately lead to a solution.

I installed audio a couple years ago when setting up Gentoo on this
machine for the first. time.  I followed the handbook.  Since that day
I never again looked at my sound card setup.  I do not know what is a
sound server and I certainly never installed one (unless part of the
install handbook has me install one).

Assuming for a moment that I did install a sound server and that I
want to disable it in order to perform your test, 1) How do I
determine which sound servers, if any, are installed?  2) How do I
disable them?

FYI it appears I have phonon installed but not pulseaudio:

*  media-sound/pulseaudio
  Latest version available: 2.1-r1
  Latest version installed: [ Not Installed ]

*  media-libs/phonon
  Latest version available: 4.6.0-r1
  Latest version installed: 4.6.0-r1

Thank you,

Chris



Re: [gentoo-user] Re: Poor sound quality

2013-06-03 Thread Chris Stankevitz
On Mon, Jun 3, 2013 at 2:21 PM, Nikos Chantziaras rea...@gmail.com wrote:
 Are you using a self-configured kernel?  What sound chip is in your laptop?
 What driver are you using?  If it's an Intel codec, have you tried enabling
 all different variants of that codec in the kernel?

Nikos,

Thank you for your help.

1. I am using a self-configured kernel (I have been doing this since I
installed Gentoo two years ago)

2. My sound card is an Intel Corporation 6 Series/C200 Series Chipset
Family High Definition Audio Controller (rev 04)

3. I am using the driver CONFIG_SND_HDA_INTEL

4. I have not tried enabling all intel codec in the kernel, but I will.

===

While gathering the answers to your questions, I discovered something
interesting:

5. /etc/init.d/alsasound was not running

6. Eventhough /etc/init.d/alsasound was not running, I am getting
audio (just crappy audio)

7. Eventhough /etc/init.d/alsasound is listed as an rc-update boot
service, it still wasn't running

8. While /etc/init.d/alsasound was not running, alsamixer still works

9. If I execute /etc/init.d/alsasound start, alsasound will start.
Sound quality improves but still has low quality.

Can anyone explain 6, 7, or 8?

Thank you,

Chris



[gentoo-user] Poor sound quality

2013-06-02 Thread Chris Stankevitz
Hello,

My sound started sounding like crap ~6 months ago.  Imagine someone
has control of my volume knob and is quickly (~5Hz) turning the volume
knob up and down.  That is a rough idea of what it sounds like.

This happens whether I am listening a beautiful song or whether I'm
listening to 'white noise'.  Happens with my laptop speakers or with
headphones.

Can anyone hazard a guess as to what is wrong?  FYI I'm using a Dell
M6600 with the same amd64 gentoo install for ~2 years.

Thank you,

Chris



[gentoo-user] Lilo EBDA is big yet computer boots (multiple choice)

2013-01-14 Thread Chris Stankevitz
Hello,

1. When my machine boots, just after I tell lilo which kernel to load,
lilo reports EBDA is big; kernel setup stack overlaps LILO second
stage

2. I chose lilo over grub because of some gentoo handbook comment
about multilib that frightened me.

3. My machine boots fine.  I have to be paying close attention to even
see that message since the screen quickly clears during the kernel
boot sequence.

4. I do not know how long this has been happening, but I just noticed
it today.  Possible coincidence: just upgraded gcc and recompiled
world and the kernel today.

5. I ran /sbin/lilo after compiling and installing the kernel.  I even
ran it a few more times just to be on the safe side.

===

Question: Why am I getting the error EBDA is big?

a) You did not run /sbin/lilo after installing the kernel [FALSE see (5)]

b) There is something very wrong and your machine is unable to boot
[FALSE see (3)]

c) Just be thankful your machine boots.  Don't you have anything
better to worry about?

d) Use grub and hope that this problem goes away without really
understanding it.

e) People get this message yet are able to boot when their kernels are
too big.  Randomly convert a component to a loadable module;
recompile; reboot; repeat until problem goes away.

f) [your answer here]

Thank you,

Chris


===

PS: My kernel install procedure:

make -j4  make -j4 modules_install  cp /boot/kernel
/boot/kernel.bak  cp /boot/.config /boot/.config.bak  cp
arch/x86_64/boot/bzImage /boot/kernel  cp .config /boot/.config 
emerge --oneshot nvidia-drivers  emerge --oneshot virtualbox-modules
 /sbin/lilo

===

PPS: Output of lilo -v

# /sbin/lilo -v
LILO version 22.8, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2006 John Coffman
Released 19-Feb-2007 and compiled at 14:08:13 on Jan 13 2013

Warning: LBA32 addressing assumed
Reading boot sector from /dev/sda
Using MENU secondary loader
Calling map_insert_data
Warning: The boot sector and map file are on different disks.

Boot image: /boot/kernel
Added kernel *

Boot image: /boot/kernel.bak
Added bak

Boot image: /boot/safe
Added safe

Boot other: /dev/sda3, on /dev/sda, loader CHAIN
Added windows

Writing boot sector.
/boot/boot.0800 exists - no boot sector backup copy made.
2 warnings were issued.



[gentoo-user] What does # mean in emerge output?

2013-01-13 Thread Chris Stankevitz
# emerge --oneshot --ask wxGTK

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   #] x11-libs/wxGTK-2.9.4.1



Hello,

In the above emerge instance, a # symbol appears in the emerge
output.   What does this mean?  man emerge seems to skip this when
describing these OUTPUTS.

Thank you,

Chris



Re: [gentoo-user] What does # mean in emerge output?

2013-01-13 Thread Chris Stankevitz
On Sun, Jan 13, 2013 at 10:17 AM, Matthias Hanft m...@hanft.de wrote:
 So your package seems to be masked by an entry in /etc/portage/package.mask.

Matt,

Thank you.  I read that very section but missed the definition of # somehow.

FYI in this case the package is masked by the devs and unmasked by me
in /etc/portage/package.unmask.

Chris



[gentoo-user] /usr/share/doc/openrc/net.example not found

2012-12-14 Thread Chris Stankevitz
Hello,

The file

  /etc/conf.d/net

reports that I can seen an example format at this location:

  /usr/share/doc/openrc/net.example

On my machine that example file does not exist.  Did I do something
wrong or is this just a documentation oversight?

Thank you,

Chris

PS: I'm trying to find a way to prevent dhcpd from updating my ntp.conf



[gentoo-user] Re: Measuring USB packet loss

2012-11-07 Thread Chris Stankevitz
On Tue, Nov 6, 2012 at 12:07 PM, Chris Stankevitz
chrisstankev...@gmail.com wrote:
 Q: How can I retrieve a count of USB transmissions that failed or were
 retransmitted? (analogous to ifconfig on ethernet)

Short answer from linux-usb: This is not possible.  For lower latency,
try the -rt kernel.

Chris



[gentoo-user] Measuring USB packet loss

2012-11-06 Thread Chris Stankevitz
Hello,

Some background: I'm running an experiment that is sensitive to USB
latency of a few milliseconds.  During a typical overnight run I
encounter a handful such latency events and I am trying to
understand why they happen.  If you can recommend kernel
settings/hacks that will decrease USB latency, please share!

===

Q: How can I retrieve a count of USB transmissions that failed or were
retransmitted? (analogous to ifconfig on ethernet)

Regarding this question:

a) Can you answer it?

b) Can you recommend something I can read that will answer it?

c) Can you recommend somewhere for me to ask this question where it
can be answered?

===

Thank you!

Chris



[gentoo-user] Which tool to diagnose wireless connection problem?

2012-10-11 Thread Chris Stankevitz
Hello,

I never really understood wireless in linux, it has always just
worked.  I use wicd although I don't really even know what that
means.  I have no clue what is a wpa supplicant, ndis, etc.

I now have a problem.  Please point me toward the tools I should use
to diagnose and fix the problem.  I tried to fix this problem by
running wicd-client from the command line hoping to see some stderr
messages to help diagnose, but no luck.  Also dmesg is not helpful.

Problem:

I used a linksys router for years.  It appeared as a single SSID that
I connected to. Configured with wicd-client.  Everything worked great
under gentoo.

I throw away the linksys and purchase a new apple airport express.
This router works fine with my apple machines.  On gentoo, wicd-client
shows two SSIDs with identical names for this one router!  One is on
channel 11 and one is on channel 157.  Not sure this matters.  I
specify my password for both of them and specify one of them to
connect automatically.  The connection with one (or both?) of the
SSIDs stays live for 5-10 minutes, then disconnects.  I can get it to
reconnect by simply opening wicd-client, highlighting one of the two
SSIDs, and clicking connect.  Repeat every 5-10 minutes.

Question: What tools or logs can I use to understand why my wireless
connection disconnects every 5-10 minutes?

FYI this is what dmesg says during one of these disconnect/reconnect cycles:

[55519.603007] cfg80211: Calling CRDA to update world regulatory domain
[55520.041137] iwlwifi :03:00.0: L1 Enabled; Disabling L0S
[55520.041381] iwlwifi :03:00.0: Radio type=0x0-0x3-0x1
[55520.195568] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[55520.494633] e1000e :00:19.0: irq 44 for MSI/MSI-X
[55520.595455] e1000e :00:19.0: irq 44 for MSI/MSI-X
[55520.598916] ADDRCONF(NETDEV_UP): eth0: link is not ready
[0.414298] iwlwifi :03:00.0: L1 Enabled; Disabling L0S
[0.414523] iwlwifi :03:00.0: Radio type=0x0-0x3-0x1
[0.551957] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[55966.719991] iwlwifi :03:00.0: L1 Enabled; Disabling L0S
[55966.720250] iwlwifi :03:00.0: Radio type=0x0-0x3-0x1
[55966.863374] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[55967.147380] e1000e :00:19.0: irq 44 for MSI/MSI-X
[55967.248317] e1000e :00:19.0: irq 44 for MSI/MSI-X
[55967.251736] ADDRCONF(NETDEV_UP): eth0: link is not ready
[55967.301004] iwlwifi :03:00.0: L1 Enabled; Disabling L0S
[55967.301252] iwlwifi :03:00.0: Radio type=0x0-0x3-0x1
[55967.452333] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[55969.637135] wlan0: authenticate with 7c:d1:c3:cd:b9:be
[55969.641690] wlan0: send auth to 7c:d1:c3:cd:b9:be (try 1/3)
[55969.643564] wlan0: authenticated
[55969.643873] wlan0: associate with 7c:d1:c3:cd:b9:be (try 1/3)
[55969.647304] wlan0: RX AssocResp from 7c:d1:c3:cd:b9:be (capab=0x431
status=0 aid=1)
[55969.654396] wlan0: associated
[55969.657270] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

Thank you,

Chris



Re: [gentoo-user] Brother MFC 7320

2012-10-05 Thread Chris Stankevitz
On Thu, Oct 4, 2012 at 4:01 PM, Silvio Siefke siefke_lis...@web.de wrote:
 When in kernel usb printer compiled in, then must compile cups without
 usb. Now all run. Well done. Thanks for support.

Silvio,

Thank you for sharing.  How did you figure out what the solution was?

Chris



Re: [gentoo-user] Re: OT: new printer suggestions?

2012-09-27 Thread Chris Stankevitz
On Wed, Sep 26, 2012 at 2:08 PM, Michael Trausch m...@trausch.us wrote:
 I have used Lexmark lasers (mono and
 color) for

 They work with
 standard PostScript drivers out of the box

Michael,

Are you saying that you were able to print to your Lexmark laser printers by
more or less following these steps:

1. buy a computer, install gentoo

2. buy a lexmark mono or laser printer, plug it into computer via usb

3. emerge net-print/cups

4. Do something with standard postscript drivers (??? please
elaborate on this)

5. Visit the local cups webpage, add new printer, select lexmark

6. print

Notably absent from this list:
PCL, IPP, foomatic, hplip, ppds, binary, drivers, manufacturer website
visits, etc

Thank you!

Chris



Re: [gentoo-user] Re: OT: new printer suggestions?

2012-09-26 Thread Chris Stankevitz
On Wed, Sep 26, 2012 at 9:15 AM, Michael Mol mike...@gmail.com wrote:
 For my Brother printers, having net-print/cups and
 net-print/foomatic-filters, is sufficient. I'm not doing anything with
 scanning or the like, though.


Michael,

Are you saying that you were able to print to your brother printers by
more or less following these steps:
1. buy a computer, install gentoo
2. buy a brother printer, plug it into computer via usb
3. emerge net-print/cups and net-print/foomatic-filters
4. Visit the local cups webpage, add new printer, select brother
5. print

Notably missing from my list is a visit to brother's website (or any
other website) to download drivers/binaries/confs/etc.

Thank you,

Chris



Re: [gentoo-user] Re: OT: new printer suggestions?

2012-09-26 Thread Chris Stankevitz
On Wed, Sep 26, 2012 at 1:45 PM, Michael Mol mike...@gmail.com wrote:
 More or less.

Hrm.  I have the same printer and I had to visit brother's website and
download some kind of binary to get it working.  I was hoping to
emerge cups and have it just work but that was not the case for me.
Then again I don't even know what is PCL, IPP, PostScript, foomatic,
hplip, ppds, etc.

Chris



Re: [gentoo-user] Update to newer kernel completely hoses suspend

2012-09-12 Thread Chris Stankevitz
On Wed, Sep 12, 2012 at 5:18 PM, Daniel Frey djqf...@gmail.com wrote:
 So about a month ago I decided to update my kernel to the dreaded 3.x
 series. My old 2.6.x kernel ...

FYI Linus Torvalds says there was no change between 2.6 and 3.0.  A quote:

So what are the big changes?  NOTHING. Absolutely nothing. Sure, we
have the usual two thirds driver
changes, and a lot of random fixes, but the point is that 3.0 is
*just* about renumbering, we are very much *not* doing a KDE-4 or a
Gnome-3 here. No breakage, no special scary new features, nothing at
all like that.

You can read his entire letter here:
https://lkml.org/lkml/2011/5/29/204

Chris



Re: [gentoo-user] emerge xfce-base/thunar: lobotomy needed

2012-09-11 Thread Chris Stankevitz
On Tue, Sep 11, 2012 at 12:53 AM, Neil Bothwick n...@digimed.co.uk wrote:
 To make things easier, please post the output from emerge --info.

Neil,

Great idea.  Output attached.

PS:
emerge -pv thunar[udev] pulls in gnome-base/gfvs-1.12.3
emerge -pv gvfs pulls in gnome-base/gvfs-1.10.1

Thank you,

Chris
Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r2, 
3.4.9-gentoo x86_64)
=
System uname: 
Linux-3.4.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-3520M_CPU_@_2.90GHz-with-gentoo-2.1
Timestamp of tree: Tue, 11 Sep 2012 07:00:01 +
app-shells/bash:  4.2_p37
dev-lang/python:  2.7.3-r2, 3.2.3
dev-util/cmake:   2.8.8-r3
dev-util/pkgconfig:   0.27.1
sys-apps/baselayout:  2.1-r1
sys-apps/openrc:  0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf:   2.68
sys-devel/automake:   1.9.6-r3, 1.11.6
sys-devel/binutils:   2.22-r1
sys-devel/gcc:4.5.4
sys-devel/gcc-config: 1.7.3
sys-devel/libtool:2.4-r1
sys-devel/make:   3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:   2.15-r2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS=amd64
ACCEPT_LICENSE=* -@EULA
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=native -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf 
/etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo
CXXFLAGS=-march=native -O2 -pipe
DISTDIR=/usr/portage/distfiles
FCFLAGS=-O2 -pipe
FEATURES=assume-digests binpkg-logs config-protect-if-modified distlocks 
ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head 
protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs 
unmerge-orphans userfetch
FFLAGS=-O2 -pipe
GENTOO_MIRRORS=ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo;
LANG=en_US.UTF8
LC_ALL=en_US.UTF8
LDFLAGS=-Wl,-O1 -Wl,--as-needed
MAKEOPTS=-j4
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --human-readable --timeout=180 
--exclude=/distfiles --exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/local/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=X acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dbus dri fortran gdbm 
gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl openmp pam pcre 
pppd python readline session sse sse2 ssl tcpd unicode zlib 
ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x 
ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 
trident usb-audio via82xx via82xx-modem ymfpci ALSA_PCM_PLUGINS=adpcm alaw 
asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa 
lfloat linear meter mmap_emul mulaw multi null plug rate route share shm 
softvol APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon 
authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile 
authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock 
deflate dir disk_cache env expires ext_filter file_cache filter headers include 
info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif 
speling status unique_id userdir usertrack vhost_alias CALLIGRA_FEATURES=kexi 
words flow plan sheets stage tables krita karbon braindump CAMERAS=ptp2 
COLLECTD_PLUGINS=df interface irq load memory rrdtool swap syslog 
ELIBC=glibc GPSD_PROTOCOLS=ashtech aivdm earthmate evermore fv18 garmin 
garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore 
rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx 
INPUT_DEVICES=evdev synaptics KERNEL=linux LCD_DEVICES=bayrad cfontz 
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text 
LIBREOFFICE_EXTENSIONS=presenter-console presenter-minimizer 
PHP_TARGETS=php5-3 PYTHON_TARGETS=python3_2 python2_7 RUBY_TARGETS=ruby18 
ruby19 USERLAND=GNU VIDEO_CARDS=nvidia vesa fbdev XTABLES_ADDONS=quota2 
psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition 
tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, 
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, 
PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



Re: [gentoo-user] emerge xfce-base/thunar: lobotomy needed

2012-09-11 Thread Chris Stankevitz
Thank you to all who are following this.

I used emerge -vptd to get some debugging info.  This is the reason
emerge wants to bring in the ~amd64 to my stable system:

Parent:(xfce-base/thunar-1.4.0::gentoo, ebuild scheduled for merge)
Depstring: || ( =gnome-base/gvfs-1.10.1[udisks,udev]
=gnome-base/gvfs-1.10.1[gdu,udev] )
Priority:  runtime
installed: gnome-base/gvfs-1.10.1::gentoo
Candidates: ['=gnome-base/gvfs-1.10.1[udisks,udev]']
   ebuild: gnome-base/gvfs-1.12.3::gentoo

I do not know how to translate to english, but these questions arise:

1. What is this saying in english?
2. Should I have the udisks USE flag set?
3. Should I have the udev USE flag set?
4. Should I have the gdu USE flag set?
5. Will (3)-(5) change the way portage brings in the gvfs dependency?

Questions (3)-(5) are not educated questions.  I really do not know
what any of that stuff does.  I just see it listed in the output above
and naturally I wondered should I set them?   The Ubuntu forums
approach would be for me to try all combinations of those three use
flags until it just works.  In this case I would prefer to understand
what is going on :)

Thank you again,

Chris



Re: [gentoo-user] USB automount

2012-09-11 Thread Chris Stankevitz
On Mon, Sep 10, 2012 at 10:03 PM, Walter Dnes waltd...@waltdnes.org wrote:
 Every time that a USB device is inserted or removed, an
 event is triggered by the kernel.  What's required is an event
 handler that reacts appropriately to those events.  This is usually
 udev, but mdev will also work.  I've replaced udev with mdev on my
 machine ( see https://wiki.gentoo.org/wiki/Mdev ) and I've implemented
 USB automounting under mdev, using scripts.  It works even in text
 console mode.  See https://wiki.gentoo.org/wiki/Mdev/Automount_USB

Walter,

Thank you.  What I'm hearing is:

1. There are many ways to get USB automount

2. One way is to install udev and fabricate the correct scripting to
cause the automount to take place

3. By some magic a GUI system such as GNOME, XFCE, TWM, etc will
recognize when (2) happens and show an icon on the desktop [I'm
talking somewhat tongue in cheek WRT TWM]

If this is correct, I'd like to know:

a) what is the scripting I need to fabricate to get (2) to work correctly.

b) what is the magic by which (3) happens.

Thank you,

Chris



Re: [gentoo-user] emerge xfce-base/thunar: lobotomy needed

2012-09-11 Thread Chris Stankevitz
On Tue, Sep 11, 2012 at 8:12 AM, Chris Stankevitz
chrisstankev...@gmail.com wrote:
 Questions (3)-(5)

This should have said (2)-(4).

===

The problem is solved in the Ubuntu sense.  I suspect that I
encountered some kind of portage bug or oddity on the way.

I solved the problem by:
1. removed global USE flag -gnome
2. added global USE flag fuse
3. added global USE flag udisks
4. added global USE flag gdu
5. emerge -DNa world


Some/all of the above steps allowed me to successfully emerge -vat
thunar-volman

Now here is the weird part:

thunar-volman demands thunar with the udev USE flag.  Before steps
(1)-(5) above, during install of thunar-volman portage would take it
upon itself to add the udev USE flag to thunar.  And consequently pull
in an ~amd64 version of gvfs.

After steps (1)-(5) above, during install of thunar-volman, portage
would halt the process with the common complaint: please add udev USE
flag to thunar.  I added the USE flag and then portage happily
installed thunar-volman.

Weird!

===

I'm a little upset I solved this using the Ubuntu approach of try a
bunch of random crap until it works (in this case the random crap was
me turning on global USE flags without really knowing why).  I guessed
to turn on those USE flags due to the output of emerge -d which I
posted earlier.

Thanks for your help everyone,

Chris



Re: [gentoo-user] Pacific vs Pacific-New

2012-09-10 Thread Chris Stankevitz
On Sun, Sep 9, 2012 at 6:42 PM, Mark Knecht markkne...@gmail.com wrote:
  I use America/Los-Angeles myself.

Mark, Paul:

Thank you, I went with America/Los_Angeles

Chris



Re: [gentoo-user] stage3/handbook mismatch

2012-09-10 Thread Chris Stankevitz
On Sun, Sep 9, 2012 at 6:41 PM, Mark Knecht markkne...@gmail.com wrote:
 That's a very new change just announced globally today and only for
 new installs. Take a look at eselect news for more info.

What a coincidence!  I went with the older stage3 approach.

Thank you,

Chris



Re: [gentoo-user] Having the possibility to set the system-wide locale settings

2012-09-10 Thread Chris Stankevitz
On Sun, Sep 9, 2012 at 8:24 PM, Dale rdalek1...@gmail.com wrote:
 LANG=en_US.UTF8
 LC_ALL=en_US.UTF8

Dale,

Thank you, I used the same.

 P. S.  Welcome to Gentoo and the world of constantly learning.  Just
 when you learn something, something changes and you get to learn it all
 over again.  :/

:)

Chris



Re: [gentoo-user] Having the possibility to set the system-wide locale settings

2012-09-10 Thread Chris Stankevitz
On Sun, Sep 9, 2012 at 10:05 PM, Joshua Murphy poiso...@gmail.com wrote:
 A 'locale' is a collection of character set, language, date/time
 format, currency format, etc

Josh,

Thank you.  I now understand what a locale is.  It is surprising to
me that the string en_US.UTF8 tells the OS about currency,
date/time, etc.  I always thought UTF8 was just a character
encoding (not really sure what that is either but I would not have
guessed that UTF8 describes where the commas go in a currency).

Thanks again,

Chris



[gentoo-user] WM that does not require policykit, consolekit, and gudev

2012-09-10 Thread Chris Stankevitz
Hello,

I installed twm to test my xorg as per the gentoo install docs.  Works great!

Then I decided to install what I thought would be a lightweight WM:
xfce4 with emerge -vat xfce4-meta.  Unfortunately emerge didn't want
to continue without some changes from me involving USE flags gudev,
policykit, and consolekit.

At this point I see three options:

1. Understand gudev, policykit, and consolekit and not be frightened
of them (a tall order given the google results I am getting).  Then
enable the USE flags and install xfce4-meta

2. Do not attempt to understand the USE flags and enable them anyway
(frightening given all the polictykit and consolekit chatter I see on
google)

3. Select another WM that is more lightweight and doesn't require
these USE flags.

I'm leaning towards (3).

Can you recommend a WM that will not require me to enable gudev,
policykit, and consolekit?

Thank you,

Chris



[gentoo-user] Gentoo is the best linux distro

2012-09-10 Thread Chris Stankevitz
Gentoo is the best distribution I have used (I haven't used too many:
ubuntu, fedora, gentoo).  I love the USE flags.  I love watching (and
questioning) what is going to be installed.  I love emerge.
Supposedly gentoo lacks being able to have a system just work
without thinking about anything.  But in my experience on linux, this
simply isn't the case anywhere.  With ubuntu, for example, I had
trouble with sound and ethernet cards that I could never figure out...
and the kind of answers I get on their forums drive me insane (my
uncle once said that his cousin typed this magical command and it
worked fine for a little while so maybe try that).

And what's the deal with these major release versions of the other
distros?  Why do that?

Thank you to all the people who contribute to it... and to those who
are giving great advice/solutions on this list!

Chris



[gentoo-user] USB automount

2012-09-10 Thread Chris Stankevitz
Hello,

Can someone refer me to a source that explains how when I plug in a
USB thumb drive it appears on my XFCE4 desktop (or any other WM)?
Ideally the answer will use words like:
daemon
hal
udev
policykit
consolekit
/etc/init.d/*
hotplug
gvfs
mount
automount
pmount
gnome-volume-manager
udisks
fstab
mtab

Also, ideally after I know about it I'd like to be able to
understand and derive on my own the answer to this question: is it
possible for TWM to recognize when I plug in a USB thumbdrive and
display it for me to use.

Thank you!

Chris



Re: [gentoo-user] Gentoo is the best linux distro

2012-09-10 Thread Chris Stankevitz
On Mon, Sep 10, 2012 at 3:12 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 For the release to use new packages with their new magic features,
 every other package using those packages must also be recompiled

I see now.

 The only sane way to deal with this is to peg
 the packages at version levels and stick with it.

I see

 that's the only
 thing that could work.

I completely get it now.  Great explanation, thank you!  I'm a little
embarrassed though that I didn't consider there was a technical reason
for the major versions.  I just assumed it was done for marketing
reasons.

Chris



[gentoo-user] emerge xfce-base/thunar: lobotomy needed

2012-09-10 Thread Chris Stankevitz
I installed xfce4-meta and was a little surprised to see it did not
come with thunar.   When I tried to install it, portage became upset.

Question: is it normal that I would have to ~amd64 a bunch of packages
and deal with slot conflicts and static-libs to install a file
manager?  FYI I am running a stable (non-~AMD64) system.

Thank you,

Chris

===

# emerge -pv xfce-base/thunar

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-libs/libgcrypt:0

  (dev-libs/libgcrypt-1.5.0-r2::gentoo, ebuild scheduled for merge) pulled in by
dev-libs/libgcrypt[static-libs] required by
(sys-fs/cryptsetup-1.4.1::gentoo, ebuild scheduled for merge)

  (dev-libs/libgcrypt-1.5.0-r2::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

sys-libs/zlib:0

  (sys-libs/zlib-1.2.5.1-r2::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

  (sys-libs/zlib-1.2.7::gentoo, ebuild scheduled for merge) pulled in by
=sys-libs/zlib-1.2.6 required by (sys-apps/kmod-10::gentoo,
ebuild scheduled for merge)

dev-libs/popt:0

  (dev-libs/popt-1.16-r1::gentoo, ebuild scheduled for merge) pulled in by
=dev-libs/popt-1.16-r1[static-libs] required by
(sys-fs/cryptsetup-1.4.1::gentoo, ebuild scheduled for merge)

  (dev-libs/popt-1.16-r1::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

dev-libs/glib:2

  (dev-libs/glib-2.32.4::gentoo, ebuild scheduled for merge) pulled in by
=dev-libs/glib-2.32.4:2 required by
(dev-util/gdbus-codegen-2.32.4::gentoo, ebuild scheduled for merge)
(and 3 more with the same problem)

  (dev-libs/glib-2.30.3::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


The following keyword changes are necessary to proceed:
#required by sys-fs/udisks-1.99.0-r1, required by
gnome-base/gvfs-1.12.3[udisks], required by
xfce-base/thunar-1.4.0[dbus,xfce_plugins_trash], required by
xfce-base/thunar (argument)
=sys-auth/polkit-0.107 ~amd64
#required by dev-util/gdbus-codegen-2.32.4, required by
sys-fs/udisks-1.99.0-r1, required by gnome-base/gvfs-1.12.3[udisks],
required by xfce-base/thunar-1.4.0[dbus,xfce_plugins_trash], required
by xfce-base/thunar (argument)
=dev-libs/glib-2.32.4 ~amd64
#required by sys-fs/udev-init-scripts-16
=sys-fs/udev-189 ~amd64
#required by sys-fs/udev-189[openrc], required by
dev-libs/libatasmart-0.19, required by sys-fs/udisks-1.99.0-r1,
required by gnome-base/gvfs-1.12.3[udisks], required by
xfce-base/thunar-1.4.0[dbus,xfce_plugins_trash], required by
xfce-base/thunar (argument)
=sys-fs/udev-init-scripts-16 ~amd64
#required by sys-fs/udev-189, required by sys-fs/udev-init-scripts-16
=sys-apps/kmod-10 ~amd64
#required by sys-apps/kmod-10[zlib], required by sys-fs/udev-189,
required by sys-fs/udev-init-scripts-16
=sys-libs/zlib-1.2.7 ~amd64
#required by xfce-base/thunar-1.4.0[dbus,xfce_plugins_trash], required
by xfce-base/thunar (argument)
=gnome-base/gvfs-1.12.3 ~amd64
#required by gnome-base/gvfs-1.12.3[udisks], required by
xfce-base/thunar-1.4.0[dbus,xfce_plugins_trash], required by
xfce-base/thunar (argument)
=sys-fs/udisks-1.99.0-r1 ~amd64
#required by sys-fs/udisks-1.99.0-r1, required by
gnome-base/gvfs-1.12.3[udisks], required by
xfce-base/thunar-1.4.0[dbus,xfce_plugins_trash], required by
xfce-base/thunar (argument)
=dev-util/gdbus-codegen-2.32.4 ~amd64
#required by sys-fs/udev-189[hwdb], required by sys-fs/udev-init-scripts-16
=sys-apps/hwids-20120831 ~amd64
#required by sys-auth/polkit-0.107, required by
sys-fs/udisks-1.99.0-r1, required by gnome-base/gvfs-1.12.3[udisks],
required by xfce-base/thunar-1.4.0[dbus,xfce_plugins_trash], required
by xfce-base/thunar (argument)
=dev-lang/spidermonkey-1.8.5-r1 ~amd64

The following USE changes are necessary to proceed:
#required by xfce-base/thunar-1.4.0[dbus,xfce_plugins_trash], required
by xfce-base/thunar (argument)
=gnome-base/gvfs-1.12.3 udisks
#required by sys-fs/cryptsetup-1.4.1[static], required by
sys-fs/udisks-1.99.0-r1[crypt], required by
gnome-base/gvfs-1.12.3[udisks], required by

Re: [gentoo-user] emerge xfce-base/thunar: lobotomy needed

2012-09-10 Thread Chris Stankevitz
On Mon, Sep 10, 2012 at 6:08 PM, Canek Peláez Valdés can...@gmail.com wrote:
 Try reemerging world with USE=-static -static-libs, and then try to
 emerge thunar also with USE=-static -static-libs.

Canek,

Thank you for your help.  I
1. added -static -static-libs to /etc/make.conf USE.
2. emerge --newuse --deep world (rebuilt only glib)
3. emerge -pv thunar (also with the use flag enabled although thunar
seems to not use that USE flag?).

I got farther this time, but it seems that emerge is still asking a lot of me.

Eventhough I think it's odd (and a sign that I screwed up somewhere),
I can satisfy the USE flag requests and the ~amd64 requests.

I do not know how to solve the slot conflicts.

Thanks again for your help,

Chris

PS: This is a new install without anything fancy AFAIK.  I synced
portage about 10 hours ago.

===

drg ~ # emerge -pv thunar

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N~] sys-apps/hwids-20120831  360 kB
[ebuild U ~] sys-libs/zlib-1.2.7 [1.2.5.1-r2] USE=-minizip
-static-libs 548 kB
[ebuild  N ] dev-libs/icu-49.1.2  USE=-debug -doc -examples
-static-libs 18,566 kB
[ebuild  N ] sys-apps/gptfdisk-0.8.4  179 kB
[ebuild  N ] app-arch/zip-3.0  USE=bzip2 crypt unicode 1,258 kB
[ebuild  N ] dev-libs/libtasn1-2.12  USE=-doc -static-libs 1,906 kB
[ebuild  NS] sys-devel/autoconf-2.13 [2.68] 434 kB
[ebuild  N ] dev-libs/nspr-4.9.2  USE=-debug 1,145 kB
[ebuild  N ] dev-libs/nettle-2.4  USE=gmp 1,051 kB
[ebuild  N ] gnome-base/orbit-2.14.19-r1  USE=-debug -doc -test 747 kB
[ebuild  N~] dev-lang/spidermonkey-1.8.5-r1  USE=-debug
-static-libs -test 6,021 kB
[ebuild  N ] dev-libs/elfutils-0.149  USE=bzip2 nls zlib -lzma 1,780 kB
[ebuild  N ] net-libs/gnutls-2.12.18  USE=cxx nettle nls zlib
-bindist -doc -examples -guile -lzo -pkcs11 -static-libs -test 7,040
kB
[ebuild  N ] sys-block/parted-3.1  USE=debug nls readline
-device-mapper (-selinux) -static-libs -test 1,489 kB
[ebuild  N ] sys-block/eject-2.1.5-r2  USE=nls 121 kB
[ebuild U ~] dev-libs/glib-2.32.4 [2.30.3] USE=-debug -doc (-fam)
(-selinux) -static-libs -systemtap -test -utils -xattr 6,034 kB
[ebuild  N ] gnome-base/gsettings-desktop-schemas-3.2.0-r1  152 kB
[ebuild  N ] virtual/eject-0  0 kB
[ebuild  N ] net-libs/libproxy-0.4.7  USE=python -gnome -kde
-mono -networkmanager -perl -test 89 kB
[ebuild  N ] net-libs/glib-networking-2.30.2  USE=gnome libproxy
ssl 291 kB
[ebuild  N ] net-libs/libsoup-2.36.1-r1  USE=introspection ssl
-debug -doc -samba -test 595 kB
[ebuild  N~] dev-util/gdbus-codegen-2.32.4
PYTHON_TARGETS=python2_7 python3_2 -python2_5 -python2_6 -python3_1
0 kB
[ebuild  N ] gnome-base/gconf-2.32.4  USE=introspection -debug
-doc -ldap -policykit 1,296 kB
[ebuild  N ] gnome-base/gnome-keyring-2.32.1-r1  USE=pam -debug
-doc -test 1,582 kB
[ebuild  N ] gnome-base/libgnome-keyring-2.32.0  USE=-debug -doc
-test 403 kB
[ebuild  N ] net-libs/libsoup-gnome-2.36.1  USE=introspection
-debug -doc 0 kB
[ebuild  N~] sys-apps/kmod-10  USE=tools zlib -debug -doc -lzma
-static-libs 1,100 kB
[uninstall ] sys-apps/module-init-tools-3.16-r1  USE=-static
[blocks b  ] sys-apps/kmod (sys-apps/kmod is blocking
sys-apps/module-init-tools-3.16-r1)
[blocks b  ] sys-apps/module-init-tools
(sys-apps/module-init-tools is blocking sys-apps/kmod-10)
[ebuild U ~] sys-auth/polkit-0.107 [0.104-r1] USE=introspection
nls pam -examples -gtk -kde (-selinux) -systemd (-debug%) (-doc%)
1,351 kB
[ebuild U ~] sys-fs/udev-189 [171-r6] USE=acl%* gudev hwdb*
openrc%* -doc% -introspection -keymap (-selinux) -static-libs%
(-action_modeswitch%) (-build%) (-debug%) (-edd%) (-extras%)
(-floppy%) (-rule_generator%*) (-test%) 1,341 kB
[blocks b  ] sys-fs/udev-186 (sys-fs/udev-186 is blocking
sys-fs/udev-init-scripts-16)
[ebuild  N~] sys-fs/udev-init-scripts-16  5 kB
[ebuild  N ] dev-libs/libatasmart-0.19  USE=-static-libs 246 kB
[ebuild  N ] sys-fs/lvm2-2.02.88  USE=lvm1 readline (-clvm)
(-cman) (-selinux) -static -static-libs 1,006 kB
[ebuild  N ] sys-fs/cryptsetup-1.4.1  USE=nls (-selinux) -static 755 kB
[ebuild  N~] sys-fs/udisks-1.99.0-r1  USE=crypt gptfdisk
introspection -debug -systemd 713 kB
[ebuild  N~] gnome-base/gvfs-1.12.3  USE=http udev udisks -afp
-archive -avahi -bluetooth -bluray -cdda -doc -fuse -gdu
-gnome-keyring -gphoto2 -ios -samba 1,332 kB
[ebuild  N ] xfce-base/thunar-1.4.0  USE=dbus pcre udev -debug
-exif -libnotify -startup-notification -test XFCE_PLUGINS=trash
1,871 kB
[blocks B  ] sys-apps/pciutils-3.1.9-r2
(sys-apps/pciutils-3.1.9-r2 is blocking sys-apps/hwids-20120831)
[blocks B  ] sys-apps/portage-2.1.10.58
(sys-apps/portage-2.1.10.58 is blocking
dev-util/gdbus-codegen-2.32.4)
[blocks B  ] sys-apps/openrc-0.9.9 (sys-apps/openrc-0.9.9 is
blocking sys-fs/udev-189)


Total: 36 packages (4 upgrades, 31 new, 1 in new slot, 1 

Re: [gentoo-user] emerge xfce-base/thunar: lobotomy needed

2012-09-10 Thread Chris Stankevitz
On Mon, Sep 10, 2012 at 6:08 PM, Canek Peláez Valdés can...@gmail.com wrote:
 The problem seems to be the use of static libraries

I temporarily worked around by adding xfce-base/thunar -udev to
package.use.  Somehow building thunar with udev introduced the mess.

Chris



Re: [gentoo-user] emerge xfce-base/thunar: lobotomy needed

2012-09-10 Thread Chris Stankevitz
On Mon, Sep 10, 2012 at 6:53 PM, Canek Peláez Valdés can...@gmail.com wrote:
 Can I see your  USE

Canek,

Thank you for your help.  My USE flags are pretty benign.  I'm
beginning to suspect something is grossly wrong with my setup.  Below
I will post my USE line from make.conf and my entire package.use.

# make.conf
#
# 2012-09-10: Added udev, X, python to appease xorg
# 2012-09-10: Added -gnome dbus to appease the xfce configuration guide
USE=mmx sse sse2 udev X python -gnome dbus

# package.use
# 2012-09-10: appease xfce4-meta
sys-fs/udev gudev
sys-auth/consolekit policykit
sys-auth/pambase consolekit

# 2012-09-10: appease thunar
xfce-base/thunar -udev

 Also, your xfce-meta installation didn't pull thunar because you
 didn't set the (surprise) thunar USE flag.

Ahh.  It's coming back to me now.  I believe I had it set originally
but dropped it when I discovered the mess it created.

Thank you,

Chris



Re: [gentoo-user] emerge xfce-base/thunar: lobotomy needed

2012-09-10 Thread Chris Stankevitz
On Mon, Sep 10, 2012 at 7:57 PM, Canek Peláez Valdés can...@gmail.com wrote:
=sys-fs/udev-171, which is stable. Are you sure you don't have
 anything in /etc/portage/package.keywords?

I know it sounds absurd, but... I have no package.keywords file.  My
package.use is small and benign.  My make.conf is also benign.  I am
using the default profile ([1] default/linux/amd64/10.10 *)

Emerge output is pretty clear:
- thunar (argument) is pulling in
- xfce-base/thunar-1.4.0[udev], which is pulling in
- gnome-base/gvfs-1.12.3 ~amd64
- which pulls in all kinds of stuff

This sure makes it look like I have gvfs in my package.keywords, but I
do not.  I promise!

This command:
find /usr/portage -name \*.ebuild | xargs grep gvfs-1.12

Returns these files:
/usr/portage/gnome-base/gnome-core-libs/gnome-core-libs-3.4.1.ebuild
/usr/portage/gnome-base/gnome/gnome-3.4.1.ebuild
/usr/portage/gnome-base/gnome-light/gnome-light-3.4.1.ebuild
/usr/portage/gnome-base/gvfs/gvfs-1.12.*.ebuild

Weird.  I have no idea where the gvfs-1.12 dependency is coming in.
And emerge -t won't even tell me.  Portage is so upset about this it
will not even show me a tree (see original post in this thread).

 By the way, it will be difficult for you to find a stronger supporter
 of udev/systemd than myself; and I don't have the global udev flag
 set.

I don't really know what udev is (I know it holds actions to take when
certain USB devices are plugged... that's all I know).  I just added
global udev to obey the gentoo xfce install guide.  If I remove it
from make.conf, I can install thunar... but if I try to install
thunar-volman the problem returns (thunar-volman requires thunar with
udev)

Thank you,

Chris



[gentoo-user] stage3/handbook mismatch

2012-09-09 Thread Chris Stankevitz
FYI,

  stage3-amd64-20120621.tar.bz2 creates a file /etc/make.conf

  handbook says to edit to /etc/portage/make.conf

Chris



[gentoo-user] Pacific vs Pacific-New

2012-09-09 Thread Chris Stankevitz
Hello,

Following the handbook, I am now setting my timezone.  I am in Los Angeles.

Should I select:
a) /usr/share/zoneinfo/US/Pacific
b) /usr/share/zoneinfo/US/Pacific-New
c) [your answer here]

man Pacific didn't help.

Thank you,

Chris



[gentoo-user] Having the possibility to set the system-wide locale settings

2012-09-09 Thread Chris Stankevitz
Hello,

Section 8c of the handbook tells me:

===

You now have the possibility to set the system-wide locale settings in
the /etc/env.d/02locale file:

===

Code Listing 3.8: Setting the default system locale in /etc/env.d/02locale
LANG=de_DE.UTF-8
LC_COLLATE=C

===

Q1: Do I have the possibility to set the system-wide locale settings?
A1: YES [I knew the answer to this one!]

Q2: Should I?
A2: ?

Q3: If yes, what should I set them to? [The example sets them to a
magical value that seems to be related to code listing 3.6, but it is
not exactly the same.  I am in the united states and I speak english
if that helps answer this one.]
A3: ?

Thank you!

Chris

PS: In case it is not clear already I have no idea what a locale is
and have no preference or what it is so long as gentoo and all my apps
are happy.



[gentoo-user] Re: Adding a use flag: hwdb

2012-06-12 Thread Chris Stankevitz
On Tuesday, June 12, 2012, Neil Bothwick wrote:

 you really shouldn't complain about being given choices...


I apologize, it was no my intention to complain.  In the future I will make
a decision and not complain.  Thank you to everyone for your assistance!

Chris


Re: [gentoo-user] Adding a use flag: hwdb

2012-06-11 Thread Chris Stankevitz
On Mon, Jun 11, 2012 at 1:26 AM, Alex Schuster wo...@wonkology.org wrote:
 I think Chris' question is more about why he has to manually activate
 this USE flag, as it seems to be necessary anyway, in his case.

Alex,

Yes this is correct.  I see now I was far too wordy in the OP and
thank you for your terse translation!

Typically when I solve a gentoo system problem by adding modifying
package.use, I am doing something wrong.  (e.g. ruby_targets_ruby19).

I gather that the udev/hwdb/udisk case is an exception.  The correct
way to solve this gentoo system problem is to echo sys-fs/udev
hwdb  /etc/portage/package.use

Thank you,

Chris



Re: [gentoo-user] Adding a use flag: hwdb

2012-06-11 Thread Chris Stankevitz
Michael,

On Mon, Jun 11, 2012 at 7:22 PM, Michael Orlitzky mich...@orlitzky.com wrote:
 Portage doesn't know what you want to do, so it does the safe thing and
 lets you decide. Either,

Somewhat tongue-in-cheek:

I don't know either.  I don't want udev, udisks, hwdb or even know
what they are.  Somebody else wants all that stuff on my system
(gentoo profile or the gentoo handbook author) and I wish that person
would have addressed emerge's concerns WRT use flags.

 The ruby_targets_ruby19 thing is a good example of where you may not
 want that behavior by default. Something was screwed up, people noticed
 it, and the devs ultimately fixed it. The most-correct thing to do was
 nothing (i.e. wait).

I didn't know what RUBY was or why it was on my system or who wanted
it or whether that person wanted ruby_targets_ruby19 or RUBY_TARGETS
or whatever.  Me waiting would require 1) that I knew RUBY was a
temporary problem that would be fixed in the future [I assumed it
was not... just like hwdb] and 2) that I not perform an emerge
sync/world.

Thank you!

Chris



[gentoo-user] Adding a use flag: hwdb

2012-06-10 Thread Chris Stankevitz
Hello,

Background:

I enable USE flags by adding them to /etc/portage/package.use.  This
file is filled with all sorts of personal preference customizations
of my system.  This file does not contain required system USE flags.

A month ago emerge insisted that I enable a USE flag
ruby_targets_ruby19 to a bunch of packages on my system.  Feeling
uncomfortable adding a system required USE flag to package.use (vs
personal preference customization), I posted to this list and indeed
learned that I was going about it all wrong!  In that particular case,
I should have added 'RUBY_TARGETS=ruby18 ruby19' to /etc/make.conf.
Actually, the Gentoo team should add this to the profile... presumably
they will eventually do this or have done so already.

Question:

Today emerge is asking me to add =sys-fs/udev-171-r6 hwdb to
package.use to appease udisk.  Just as before, this looks fishy to me
and I would like to get your opinion about how to properly satisfy
this seemingly system-required-use-flag.  My gut instinct is that this
USE flag requirement should be handled by the Gentoo team in the
profile or in some other place that I never look at.

What do you guys think?  Should I append udev hwdb to package.use
right after my long list of personal preference customizations?

Thank you,

Chris

PS: A snippet from my /etc/portage/package.use:

# Give a GUI to cmake
dev-util/cmake qt4

# Enable nice mounts in gnome
gnome-base/gvfs fuse

# Enable plotting in octave
sci-mathematics/octave gnuplot

# Enable GNOME right-click to create targz
app-arch/file-roller nautilus

# Satisfy a dependency I do not understand needed by a package I never heard of
=sys-fs/udev-171-r6 hwdb



Re: [gentoo-user] Re: Understanding new ruby dependencies

2012-05-23 Thread Chris Stankevitz
On Tue, May 22, 2012 at 10:13 PM,  kwk...@hkbn.net wrote:
 I suggest keeping an eye on ${PORTDIR}/profiles/desc directory too.
 This is where every one of the USE_EXPAND variables is explained in
 details.

Thank you for all your patient help.  I've been using Gentoo for years
and for some reason this RUBY thing has me flustered.

1. What on my system is insisting on make.conf RUBY 1.9 USE_EXPAND
changes?  An emerge --tree is not giving me a clear answer (as it
usually does).  The original post in this thread provides a pastebin
link to back up this claim.

2. If the answer to (1) is the gentoo system itself, then why
doesn't the gentoo system itself update the USE_EXPAND by adding a
reference to ruby19?  It appears the gentoo system itself presently
only enables the ruby18 USE_EXPAND.
  base $ find /usr/portage/profiles/ | xargs grep RUBY_TARGETS=
  /usr/portage/profiles/base/make.defaults:RUBY_TARGETS=ruby18

3. If the answer to (1) is package foo, I'm tempted to remove
package foo or USE it with -ruby or eat my words and admit that I am
a RUBY user and need to understand the nuances.

4. I run a stable system that is somehow insisting on ruby19.  This
webpage http://www.gentoo.org/proj/en/prog_lang/ruby/index.xml  says
ruby19 is not for use on production systems.  Why the disconnect?
Perhaps the ruby page is just out of date.

5. I have no idea what RUBY is and have never installed it directly.
Yet I have to understand RUBY USE_EXPANDs which seem to be described
only in the RUBY installation guide, gentoo dev manual, or in ebuild
scripting guides.  I am a gentoo layperson in general and am
completely clueless about RUBY in particular.  I believe talk about
this required and automatically installed package should appear not
in obscure dev documentation, but in the handbook.  Perhaps with more
time/volunteers this would have happened.

6. Why does emerge insist on me adding USE=ruby_targets_ruby19 to a
bunch of projects, yet the users of this group recommend a change in
make.conf?  I suspect the disconnect that the two approaches are
equivalent, just emerge does not have the street smarts to recommend
the proper change.

Thank you for listening to me list the issues I am ignorant on.  Now
I'm going to add RUBY_TARGETS=ruby19 to my make.conf and hope things
just work.

Thank you again,

Chris



  1   2   >