Re: [gentoo-user] USB automount

2012-09-25 Thread Canek Peláez Valdés
On Mon, Sep 17, 2012 at 10:45 AM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 16.09.2012 20:45, schrieb Canek Peláez Valdés:

 This workaround also works in my systemd-only overlay. So, if you have
 the systemd flag in any of those four packages, disable it and
 everything should work. Just to be explicit, the versions are:

 gnome-base/gdm-3.4.1-r1
 gnome-base/gnome-session-3.4.2.1
 gnome-base/gnome-shell-3.4.2
 sys-auth/polkit-0.107:0

 confirming this. I have exactly your mentioned versions with
 USE=-systemd and suspend/hibernate option returns, I could mount/use a
 DVD right now ... yes!

OK; now I can put this whole thing behind me. You can read the bug again:

https://bugs.freedesktop.org/show_bug.cgi?id=53905

but the short answer is that you cannot let both systemd and
consolekit to manage sessions. The problem (in my case) was that I was
using accountsservice 0.6.22, which depends on consolekit. I upgraded
to accountsservice 0.6.24 (which can depend on systemd), I removed all
consolekit USE-flags (except for bluez: bluez uses consolekit to pull
either consolekit or systemd; I reported a bug[1]), and after an
emerge -uDNv world, I removed consolekit (I didn't had any other
package depending on it).

Now everything works as it should, in both my overlay and in the
vanilla Gentoo tree. Be aware: it works *with systemd*; maybe it works
without it, but I don't know (nor care). All the GNOME session
management is moving to systemd, and I think it's a great idea.
Support for consolekit (which is no longer maintained) is still there,
but I don't know for how long.

If you want to keep using (the unmaintained) consolekit, be sure to
set -systemd in your USE flags. Do not mix systemd and consolekit,
or this bug will hit you.

Regards.

[1] https://bugs.gentoo.org/show_bug.cgi?id=436180
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] USB automount

2012-09-25 Thread Stefan G. Weichinger
Am 25.09.2012 08:33, schrieb Canek Peláez Valdés:
 On Mon, Sep 17, 2012 at 10:45 AM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 16.09.2012 20:45, schrieb Canek Peláez Valdés:

 This workaround also works in my systemd-only overlay. So, if you have
 the systemd flag in any of those four packages, disable it and
 everything should work. Just to be explicit, the versions are:

 gnome-base/gdm-3.4.1-r1
 gnome-base/gnome-session-3.4.2.1
 gnome-base/gnome-shell-3.4.2
 sys-auth/polkit-0.107:0

 confirming this. I have exactly your mentioned versions with
 USE=-systemd and suspend/hibernate option returns, I could mount/use a
 DVD right now ... yes!
 
 OK; now I can put this whole thing behind me. You can read the bug again:
 
 https://bugs.freedesktop.org/show_bug.cgi?id=53905
 
 but the short answer is that you cannot let both systemd and
 consolekit to manage sessions. The problem (in my case) was that I was
 using accountsservice 0.6.22, which depends on consolekit. I upgraded
 to accountsservice 0.6.24 (which can depend on systemd), I removed all
 consolekit USE-flags (except for bluez: bluez uses consolekit to pull
 either consolekit or systemd; I reported a bug[1]), and after an
 emerge -uDNv world, I removed consolekit (I didn't had any other
 package depending on it).
 
 Now everything works as it should, in both my overlay and in the
 vanilla Gentoo tree. Be aware: it works *with systemd*; maybe it works
 without it, but I don't know (nor care). All the GNOME session
 management is moving to systemd, and I think it's a great idea.
 Support for consolekit (which is no longer maintained) is still there,
 but I don't know for how long.
 
 If you want to keep using (the unmaintained) consolekit, be sure to
 set -systemd in your USE flags. Do not mix systemd and consolekit,
 or this bug will hit you.
 
 Regards.
 
 [1] https://bugs.gentoo.org/show_bug.cgi?id=436180

Thanks a lot for the feedback.

So if I don't use systemd right now, it would be better to keep
consolekit? I give it a try now ... compiling stuff without that flag
for a test.

Stefan




Re: [gentoo-user] USB automount

2012-09-25 Thread Stefan G. Weichinger
Am 25.09.2012 10:09, schrieb Stefan G. Weichinger:

 So if I don't use systemd right now, it would be better to keep
 consolekit? I give it a try now ... compiling stuff without that flag
 for a test.

Did not work. Rather easy to understand, if neither systemd or
consolekit is there, how should things work ...

Re-enabled USE-flag consolekit for now, re-emerged 4 pkgs, ok now.

Maybe I will try systemd again soon ...

Thanks, Stefan




[gentoo-user] openmp flag

2012-09-25 Thread James
Hello,

background:
It seems there is a major push now to put openmp:
[1,2] into  embedded systems [3].

So I looked at these [4] packages to find something 
interesting to look deeper into related to openMP.

Blender immediately jumped out at me as a good example,
cause an old friend Ken Hughes is, imho, one of the
world's most amazing C programmers, and a stalwart at
the blender project.


OK, here's the question, I went to emerge blender
and found that the openmp flag is already set. {?}
Yet I looked everywhere and did not see the openmp flag
set (/etc/make.conf, /etc/portage/package.use)
so where is it getting set on my AMD workstation?

[ebuild  N ] media-gfx/blender-2.49b-r2  USE=ffmpeg
 nls ogg openmp -blender-game -openal -verse 

I feel like I should know (profiles etc) but, I'm a little
bit brain_dead this am, so any help is appreciated.

OH, anyone is encouraged to chime in about openmp
and your thoughts as to it's viability and usefulness.
Do you believe it will become a core technology,
embedded into GCC? Used widely?

James

[1] http://www.open-mpi.org/

[2] http://gcc.gnu.org/wiki/openmp

[3]
http://www.embedded.com/design/programming-languages-and-tools/4396218/What-the-new-OpenMP-standard-brings-to-embedded-multicore-software-design?cid=Newsletter+-+Whats+New+on+Embedded.com

[4] http://gentoobrowse.randomdan.homeip.net/use/openmp




Re: [gentoo-user] openmp flag

2012-09-25 Thread Michael Mol
On Tue, Sep 25, 2012 at 10:42 AM, James wirel...@tampabay.rr.com wrote:
 Hello,

 background:
 It seems there is a major push now to put openmp:
 [1,2] into  embedded systems [3].

 So I looked at these [4] packages to find something
 interesting to look deeper into related to openMP.

 Blender immediately jumped out at me as a good example,
 cause an old friend Ken Hughes is, imho, one of the
 world's most amazing C programmers, and a stalwart at
 the blender project.


 OK, here's the question, I went to emerge blender
 and found that the openmp flag is already set. {?}
 Yet I looked everywhere and did not see the openmp flag
 set (/etc/make.conf, /etc/portage/package.use)
 so where is it getting set on my AMD workstation?

 [ebuild  N ] media-gfx/blender-2.49b-r2  USE=ffmpeg
  nls ogg openmp -blender-game -openal -verse

 I feel like I should know (profiles etc) but, I'm a little
 bit brain_dead this am, so any help is appreciated.

Packages can choose to have USE flags enabled or disabled for them by
default. So blender likely has openmp enabled by default, without that
affecting any other packages.


 OH, anyone is encouraged to chime in about openmp
 and your thoughts as to it's viability and usefulness.
 Do you believe it will become a core technology,
 embedded into GCC? Used widely?

If you can use it, use it. OpenMP is little more than a set of
extensions to C (and C++) which allows the normally-scalar language to
do some things in a parallel fashion without resorting to the costs of
multithreading. This is good, because vector instructions have been
available in x86 since MMX came out, and improvements to the vector
instructions available to x86 still goes on.

Related are CUDA and OpenCL, which are two other systems for
parallelizing code. CUDA assumes you have access to an nVidia GPU (and
have a CUDA-enabled driver installed). OpenCL is a big more generic,
and supports dispatching to CUDA, CPU vector instructions or even
thread pools.

Personally, my recommendation is to enable everything you can get
working (be it, OpenMP, CUDA or OpenCL); vector processing is going to
be generally more efficient than scalar processing. You don't need to
worry about which is better unless you're a software developer. (And
if you're a software developer, go study up on their differences;
tradeoffs happen.)

-- 
:wq



Re: [gentoo-user] USB automount

2012-09-25 Thread Canek Peláez Valdés
On Tue, Sep 25, 2012 at 3:32 AM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 25.09.2012 10:09, schrieb Stefan G. Weichinger:

 So if I don't use systemd right now, it would be better to keep
 consolekit? I give it a try now ... compiling stuff without that flag
 for a test.

 Did not work. Rather easy to understand, if neither systemd or
 consolekit is there, how should things work ...

 Re-enabled USE-flag consolekit for now, re-emerged 4 pkgs, ok now.

 Maybe I will try systemd again soon ...

It's not only the use flag; if you set USE=systemd, you need to boot
with systemd. Otherwise, set USE=consolekit -systemd.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] openmp flag

2012-09-25 Thread Neil Bothwick
On Tue, 25 Sep 2012 11:01:52 -0400, Michael Mol wrote:

  OK, here's the question, I went to emerge blender
  and found that the openmp flag is already set. {?}
  Yet I looked everywhere and did not see the openmp flag
  set (/etc/make.conf, /etc/portage/package.use)
  so where is it getting set on my AMD workstation?
 
  [ebuild  N ] media-gfx/blender-2.49b-r2  USE=ffmpeg
   nls ogg openmp -blender-game -openal -verse
 
  I feel like I should know (profiles etc) but, I'm a little
  bit brain_dead this am, so any help is appreciated.  
 
 Packages can choose to have USE flags enabled or disabled for them by
 default. So blender likely has openmp enabled by default, without that
 affecting any other packages.

However in this case, the flag is not set in the ebuild. Eix shows a +
before the USE flag if it is enabled in the ebuild.

The one place the OP didn't appear to check was the output from emerge
--info. The flag is set on this system, with a desktop profile.


-- 
Neil Bothwick

Everything should be made as simple as possible, but no simpler.


signature.asc
Description: PGP signature


[gentoo-user] systemd question

2012-09-25 Thread walt

I just installed and booted with systemd and most services are working
normally, except syslog.service and remote-fs.service.  Both of those
failed  on bootup with a No such file or directory error.

I can't figure out how to make systemd tell me which files it can't
find.  Any ideas?




Re: [gentoo-user] systemd question

2012-09-25 Thread Canek Peláez Valdés
On Tue, Sep 25, 2012 at 2:24 PM, walt w41...@gmail.com wrote:
 I just installed and booted with systemd and most services are working
 normally, except syslog.service and remote-fs.service.  Both of those
 failed  on bootup with a No such file or directory error.

 I can't figure out how to make systemd tell me which files it can't
 find.  Any ideas?

The syslog.service works as a place-holder for whatever syslog you
have installed (or not). So, if you have syslog-ng, you do

ln -s /usr/lib/systemd/system/syslog-ng.service
/etc/systemd/system/syslog.service

If you have rsyslog, you do:

ln -s /usr/lib/systemd/system/rsyslog.service /etc/systemd/system/syslog.service

If you (like me) don't have any syslog because you want to use journald, you do:

ln -s /dev/null /etc/systemd/system/syslog.service

That is the common way to mask services in systemd. If you don't
need remote filesystems (NFS, cifs shares, etc.) mounted at boot time,
mask remote-fs.service:

ln -s /dev/null /etc/systemd/system/remote-fs.service

I do however have the remote-fs.service (systemd-191, out of the
oven), I don't know why it isn't installed in your case. Which version
are you using.

Regards
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



[OT] Re: [gentoo-user] openmp flag

2012-09-25 Thread Peter Humphrey
On Tuesday 25 September 2012 20:06:15 Neil Bothwick wrote:

 Everything should be made as simple as possible, but no simpler.

That's a version of Occam's Razor, isn't it? Otherwise known as Do not 
complicate beyond necessity.

-- 
Rgds
Peter



[gentoo-user] Problems with update

2012-09-25 Thread Silvio Siefke
Hello, 

i want run the update and emerge ever give message:

gentoo-desk doxygen # emerge --update --newuse --deep --with-bdeps=y @world
Calculating dependencies... done!

!!! All ebuilds that could satisfy =gnome-base/gvfs-1.10.1[udisks,udev] have 
been masked.
!!! One of the following masked packages is required to complete your request:
- gnome-base/gvfs-1.14.0::gentoo (masked by: package.mask, ~x86 keyword)
/usr/portage/profiles/package.mask:
# Alexandre Rostovtsev tetrom...@gentoo.org (25 Sep 2012)
# GNOME 3.6 mask
# Core libraries to be unmasked first:

- gnome-base/gvfs-1.12.3::gentoo (masked by: ~x86 keyword)
- gnome-base/gvfs-1.12.2-r1::gentoo (masked by: ~x86 keyword)

(dependency required by xfce-base/thunar-1.4.0[udev] [installed])
(dependency required by xfce-extra/thunar-volman-0.8.0 [installed])
(dependency required by @selected [set])
(dependency required by @world [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


I understand not, on my laptop is the same configuration, the same
use flags and there is no problem. When i set the Keyword then i must
take udev, gvfs, zlib and some other programs in unmask and at end 
run the update not. 

Someone a idea? Thanx for help.

Silvio

make.conf http://nopaste.info/ac26f483de.html
package.use http://nopaste.info/484c02131b.html
package.unmask http://nopaste.info/31b7988985.html
package.accept_keywords http://nopaste.info/a9b89cea61.html



[gentoo-user] Creating KVM image using existing gentoo partition

2012-09-25 Thread felix
Got a new laptop at work,, running Linux instead of Mac, yay!  Unfortunately, 
it comes with Ubuntu installed, boo!  But I split the 500GB drive into two 
parts, began a gentoo install in the second half, and now I am stalled.

The main purpose of the laptop is to run Centos 6.2 in a KVM image so it can 
simulate production as much as possible.  As much as I dislike Ubuntu, I really 
only use it for terminals, Emacs, and Firefox.  I ssh into the Centos image for 
all that stuff.  I'd love to switch Ubuntu to gentoo and set up my usual fvwm 
etc instead of that awful Unity.

Unfortunately, because I have to leave that Centos image running as much as 
possible, I can't take the time to reboot into the gentoo partition to finish 
the install, not even on weekends or evenings.  It was ok getting the initial 
gentoo install started, but that was only an hour or two.  I can't take the 
time for a real install, there's work to do.

So it occurred to me it would be great to create a new KVM image using the 
gentoo partition as is for its file system, instead of creating one out of a 
file as it did for the Centos image.  But I don't see any obvious options to do 
that.  This is my first time with KVM, and someone else set up the Centos image 
using some GUI wizard.


Here be my scurvy dog question(s):

Is it possible to create a KVM image using an existing gentoo partition 
(/dev/sda3) for the filesystem, such that once I get the gentoo install 
finished, I can boot directly to the gentoo partition and not have to purify it 
or sanitize it after KVM has meddled with it?  (and how do I do this? :-)

If not, seems like the simplest workaround would be to create a KVM image from 
scratch and do a complete install there, then use cp, tar, cpio, or something 
similar to copy everything over to the real partition.  But that sounds ugly 
for some reason.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Creating KVM image using existing gentoo partition

2012-09-25 Thread Alan McKinnon
On Tue, 25 Sep 2012 15:33:25 -0700
fe...@crowfix.com wrote:

 Got a new laptop at work,, running Linux instead of Mac, yay!
 Unfortunately, it comes with Ubuntu installed, boo!  But I split the
 500GB drive into two parts, began a gentoo install in the second
 half, and now I am stalled.
 
 The main purpose of the laptop is to run Centos 6.2 in a KVM image so
 it can simulate production as much as possible.  As much as I dislike
 Ubuntu, I really only use it for terminals, Emacs, and Firefox.  I
 ssh into the Centos image for all that stuff.  I'd love to switch
 Ubuntu to gentoo and set up my usual fvwm etc instead of that awful
 Unity.
 
 Unfortunately, because I have to leave that Centos image running as
 much as possible, I can't take the time to reboot into the gentoo
 partition to finish the install, not even on weekends or evenings.
 It was ok getting the initial gentoo install started, but that was
 only an hour or two.  I can't take the time for a real install,
 there's work to do.


If you ask me, there's your real problem right there. It reminds me of
the old adage;

How come is there never enough time to do the job properly, but
always enough time to do it over when it breaks?

Just bite the bullet, shut the machine down and do the install properly
- you know you need to do it.

I can't quite fathom why you think a laptop of all things must be on
24/7. if that were true, it would be a server in your data center
surely?

Are you real completely 100% certain that out of 168 hours a week you
can't spare 2 to get your tools in order?



 
 So it occurred to me it would be great to create a new KVM image
 using the gentoo partition as is for its file system, instead of
 creating one out of a file as it did for the Centos image.  But I
 don't see any obvious options to do that.  This is my first time with
 KVM, and someone else set up the Centos image using some GUI wizard.
 
 
 Here be my scurvy dog question(s):
 
 Is it possible to create a KVM image using an existing gentoo
 partition (/dev/sda3) for the filesystem, such that once I get the
 gentoo install finished, I can boot directly to the gentoo partition
 and not have to purify it or sanitize it after KVM has meddled with
 it?  (and how do I do this? :-)
 
 If not, seems like the simplest workaround would be to create a KVM
 image from scratch and do a complete install there, then use cp, tar,
 cpio, or something similar to copy everything over to the real
 partition.  But that sounds ugly for some reason.
 



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




Re: [OT] Re: [gentoo-user] openmp flag

2012-09-25 Thread Alan McKinnon
On Tue, 25 Sep 2012 22:56:59 +0100
Peter Humphrey pe...@humphrey.ukfsn.org wrote:

 On Tuesday 25 September 2012 20:06:15 Neil Bothwick wrote:
 
  Everything should be made as simple as possible, but no simpler.
 
 That's a version of Occam's Razor, isn't it? Otherwise known as Do
 not complicate beyond necessity.
 

It's a tautology.

You cannot make something any simpler than the simplest you can
possibly make it, so the last but no simpler is redundant

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




Re: [gentoo-user] Creating KVM image using existing gentoo partition

2012-09-25 Thread felix
On Wed, Sep 26, 2012 at 12:40:32AM +0200, Alan McKinnon wrote:
 Just bite the bullet, shut the machine down and do the install properly
 - you know you need to do it.
 
 I can't quite fathom why you think a laptop of all things must be on
 24/7. if that were true, it would be a server in your data center
 surely?
 
 Are you real completely 100% certain that out of 168 hours a week you
 can't spare 2 to get your tools in order?

It's good you know so much about my job and work requirements, means I
needn't waste more time educating on them.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Creating KVM image using existing gentoo partition

2012-09-25 Thread Peter Humphrey
On Tuesday 25 September 2012 23:40:32 Alan McKinnon wrote:

 How come is there never enough time to do the job properly, but
 always enough time to do it over when it breaks?

The first 50% of the project takes the first 90% of the time, and the 
second 50% takes the other 90%.

-- 
Rgds
Peter



Re: [gentoo-user] Creating KVM image using existing gentoo partition

2012-09-25 Thread Alan McKinnon
On Tue, 25 Sep 2012 15:59:44 -0700
fe...@crowfix.com wrote:

 On Wed, Sep 26, 2012 at 12:40:32AM +0200, Alan McKinnon wrote:
  Just bite the bullet, shut the machine down and do the install
  properly
  - you know you need to do it.
  
  I can't quite fathom why you think a laptop of all things must be on
  24/7. if that were true, it would be a server in your data center
  surely?
  
  Are you real completely 100% certain that out of 168 hours a week
  you can't spare 2 to get your tools in order?
 
 It's good you know so much about my job and work requirements, means I
 needn't waste more time educating on them.

No, in fact I know nothing about your job and work requirements other
than that your usage pattern as described is one I have never seen or
heard of before, anywhere.

Now if you go back and read my mail, you will see it consists of
questions, not statements.

I'm actually asking you to look at what you said and see if it's really
valid. 


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




Re: [OT] Re: [gentoo-user] openmp flag

2012-09-25 Thread Michael Mol
On Tue, Sep 25, 2012 at 6:46 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Tue, 25 Sep 2012 22:56:59 +0100
 Peter Humphrey pe...@humphrey.ukfsn.org wrote:

 On Tuesday 25 September 2012 20:06:15 Neil Bothwick wrote:

  Everything should be made as simple as possible, but no simpler.

 That's a version of Occam's Razor, isn't it? Otherwise known as Do
 not complicate beyond necessity.


 It's a tautology.

 You cannot make something any simpler than the simplest you can
 possibly make it, so the last but no simpler is redundant

The but no simpler is there as a reminder that it's possible to over-simplify.

-- 
:wq



[gentoo-user] Re: systemd question

2012-09-25 Thread walt

On 09/25/2012 02:42 PM, Canek Peláez Valdés wrote:

On Tue, Sep 25, 2012 at 2:24 PM, walt w41...@gmail.com wrote:

I just installed and booted with systemd and most services are working
normally, except syslog.service and remote-fs.service.  Both of those
failed  on bootup with a No such file or directory error.

I can't figure out how to make systemd tell me which files it can't
find.  Any ideas?


The syslog.service works as a place-holder for whatever syslog you
have installed (or not). So, if you have syslog-ng, you do

ln -s /usr/lib/systemd/system/syslog-ng.service
/etc/systemd/system/syslog.service


My problem is that I don't have syslog-ng.service in /usr/lib/systemd.
Neither systemd nor syslog-ng installed it.  Do I write it myself?
 


I do however have the remote-fs.service (systemd-191, out of the
oven), I don't know why it isn't installed in your case. Which version
are you using.


Same: 191.  I do have syslog.target and remote-fs.target installed, but
not the corresponding *.system files.  Maybe the useflags determine this?




[gentoo-user] Re: Amaya

2012-09-25 Thread walt

On 09/22/2012 07:13 AM, Silvio Siefke wrote:

Hello,

i try since days install Amaya but it want not work. I try from Source
but it end with mistake in wx, but wxGTK is installed. I try from deb
Package it end with Raptor errors.

Has someone installed Amaya and can me tell the way?


I finally got it installed using this source tarball:
http://www.w3.org/Amaya/Distribution/amaya-sources-11.4.4.tgz

I run gentoo ~amd64, and because of that I had to edit three of the amaya
source files to get it to compile.  I think maybe if you are running a
32-bit stable gentoo it should 'just work', but I no longer have such a
machine to test.  What gentoo version/arch are you running?
  



[gentoo-user] new install not starting gdm

2012-09-25 Thread Allan Gottlieb
I am building a new installation and must have messed up a step as gdm doesn't 
start from boot

If I manually execute
   eselect rc restart xdm
I get

Sep 25 20:10:51 newlap gnome-keyring-daemon[2106]: couldn't create socket 
directory: No such file or directory
Sep 25 20:10:51 newlap gnome-keyring-daemon[2106]: couldn't bind to control 
socket: /root/.cache/keyring-dJpHuM/control: No such file or directory

which appears to be the problem and can also be found in /log/messages

I have installed xorg-x11, xdm and gnome and /var/log/Xorg.0.log looks
OK.  The only complaints are failing to load vesa, modsetting, and
fbdev drivers.  However, the intel driver loads fine.

/var/log/dmesg ends with entries saying that EXT4-fs mounted
filesystems.  No gdm/xdm/X/keyring complaints.

What step did I miss?

thanks,
allan



Re: [gentoo-user] new install not starting gdm (Solved)

2012-09-25 Thread Allan Gottlieb
On Tue, Sep 25 2012, Allan Gottlieb wrote:

 I am building a new installation and must have messed up a step as gdm
 doesn't start from boot

 If I manually execute
eselect rc restart xdm
 I get

 Sep 25 20:10:51 newlap gnome-keyring-daemon[2106]: couldn't create
 socket directory: No such file or directory
 Sep 25 20:10:51 newlap gnome-keyring-daemon[2106]: couldn't bind to
 control socket: /root/.cache/keyring-dJpHuM/control: No such file or
 directory

 which appears to be the problem and can also be found in /log/messages

I didn't have dbus started.  The easy fix was

eselect rc add dbus default

allan



Re: [gentoo-user] Re: systemd question

2012-09-25 Thread Canek Peláez Valdés
On Tue, Sep 25, 2012 at 6:56 PM, walt w41...@gmail.com wrote:
 On 09/25/2012 02:42 PM, Canek Peláez Valdés wrote:

 On Tue, Sep 25, 2012 at 2:24 PM, walt w41...@gmail.com wrote:

 I just installed and booted with systemd and most services are working
 normally, except syslog.service and remote-fs.service.  Both of those
 failed  on bootup with a No such file or directory error.

 I can't figure out how to make systemd tell me which files it can't
 find.  Any ideas?


 The syslog.service works as a place-holder for whatever syslog you
 have installed (or not). So, if you have syslog-ng, you do

 ln -s /usr/lib/systemd/system/syslog-ng.service
 /etc/systemd/system/syslog.service


 My problem is that I don't have syslog-ng.service in /usr/lib/systemd.
 Neither systemd nor syslog-ng installed it.  Do I write it myself?

No, I suppose is in syslog-ng sources, but the ebuilds in Gentoo
disables systemd support (at least for 3.3.5):

# grep -n systemd /usr/portage/app-admin/syslog-ng/syslog-ng-3.3.5-r1.ebuild
68: --disable-systemd \

So you can fill a bug in Gentoo to get systemd support in syslog-ng,
or just take the unit file from the source and put it in
/etc/systemd/system. I don't know why it is diabled, though.

 I do however have the remote-fs.service (systemd-191, out of the
 oven), I don't know why it isn't installed in your case. Which version
 are you using.

 Same: 191.  I do have syslog.target and remote-fs.target installed, but
 not the corresponding *.system files.  Maybe the useflags determine this?

Sorry: I meant remote-fs.target; I don't think there is
remote-fs.service, it is a target (and one of the special ones). Do
you need remote filesystem support? If not, then don't worry about it;
but if you want to find the problem, send the output from systemctl
status remote-fs.target. Mine is:

# systemctl status remote-fs.target
remote-fs.target - Remote File Systems
  Loaded: loaded (/usr/lib64/systemd/system/remote-fs.target; enabled)
  Active: active since Mon, 24 Sep 2012 18:33:09 -0500; 1 day and 3h ago
Docs: man:systemd.special(7)

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] new install not starting gdm

2012-09-25 Thread 王超
You should edit this file: /etc/conf.d/xdm . Change the
DISPLAYMANAGER=xdm to DISPLAYMANAGER=gdm.
then:
sudo rc-update add xdm default .

2012/9/26 Allan Gottlieb gottl...@nyu.edu

 I am building a new installation and must have messed up a step as gdm
 doesn't start from boot

 If I manually execute
eselect rc restart xdm
 I get

 Sep 25 20:10:51 newlap gnome-keyring-daemon[2106]: couldn't create socket
 directory: No such file or directory
 Sep 25 20:10:51 newlap gnome-keyring-daemon[2106]: couldn't bind to
 control socket: /root/.cache/keyring-dJpHuM/control: No such file or
 directory

 which appears to be the problem and can also be found in /log/messages

 I have installed xorg-x11, xdm and gnome and /var/log/Xorg.0.log looks
 OK.  The only complaints are failing to load vesa, modsetting, and
 fbdev drivers.  However, the intel driver loads fine.

 /var/log/dmesg ends with entries saying that EXT4-fs mounted
 filesystems.  No gdm/xdm/X/keyring complaints.

 What step did I miss?

 thanks,
 allan