[gentoo-user] [urgent] openpty out of pty devices

2012-10-29 Thread Helmut Jarausch

Hi,

I've managed to make one of my systems next to unusable since I cannot  
start an xterm anymore.

In the logs I get opentty failed  out of pty devices

This occurred after a reboot today. It must have something to do with a  
recent update to udev.
I remember a similar problem a few days or weeks ago on a machine which  
is rebooted each day.
Unfortunately, I cannot remember the fix (probably something connected  
to starting some processes at boot time)


Does anybody remember what the fix was?

Many thanks,
Helmut.



Re: [gentoo-user] [urgent] openpty out of pty devices

2012-10-29 Thread Neil Bothwick
On Mon, 29 Oct 2012 10:53:57 +0100, Helmut Jarausch wrote:

 I've managed to make one of my systems next to unusable since I cannot  
 start an xterm anymore.
 In the logs I get opentty failed  out of pty devices

Add udev-mount to the sysinit runlevel, like the emerge message told you.

This is why I set portage to email me all ewarn messages, so I don't miss
important information like this.

How long will it be before portage tweets ewarns instead?...


-- 
Neil Bothwick

We never really grow up; we only learn how to act in public.


signature.asc
Description: PGP signature


Re: [gentoo-user] [urgent] openpty out of pty devices

2012-10-29 Thread Helmut Jarausch

Many thanks Neil for the quick help.
Probably I should stop using openrc and switch to systemd.
I haven't followed the thread(s) on this list on systemd, I just wonder  
why GenToo still sticks to

openrc while other distributions have switched to systemd.

Helmut.


On 10/29/2012 11:02:58 AM, Neil Bothwick wrote:

On Mon, 29 Oct 2012 10:53:57 +0100, Helmut Jarausch wrote:

 I've managed to make one of my systems next to unusable since I  
cannot

 start an xterm anymore.
 In the logs I get opentty failed  out of pty devices

Add udev-mount to the sysinit runlevel, like the emerge message told  
you.


This is why I set portage to email me all ewarn messages, so I don't  
miss

important information like this.







Re: [gentoo-user] Heads-up: Several kernel versions have severe EXT4 data corruption bug

2012-10-29 Thread Helmut Jarausch

On 10/24/2012 03:54:39 PM, Nikos Chantziaras wrote:
Kernels 3.4, 3.5, and 3.6 can result in severe data corruption if  
you're using the EXT4 filesystem:


It looks as if Eric Sandeen has found the culprit and Theodore Ts'o has  
suggested this patch yesterday

https://lkml.org/lkml/2012/10/28/309

Helmut.



Re: [gentoo-user] [urgent] openpty out of pty devices

2012-10-29 Thread Markos Chandras
On Mon, Oct 29, 2012 at 10:21 AM, Helmut Jarausch
jarau...@igpm.rwth-aachen.de wrote:
 Many thanks Neil for the quick help.
 Probably I should stop using openrc and switch to systemd.
 I haven't followed the thread(s) on this list on systemd, I just wonder why
 GenToo still sticks to
 openrc while other distributions have switched to systemd.


Nobody stops you from using systemd in Gentoo. The ebuild is there so
feel free to use it. Gentoo is all about
choice.

-- 
Regards,
Markos Chandras / Gentoo Linux Developer / Key ID: B4AFF2C2



[gentoo-user] Re: [urgent] openpty out of pty devices

2012-10-29 Thread walt

On 10/29/2012 03:21 AM, Helmut Jarausch wrote:


I just wonder why GenToo still sticks to
openrc while other distributions have switched to systemd.


Not all gentoo packages have been updated with systemd *.service
files, which live in /usr/lib/systemd/system/.

I installed a live-CD virtual install of cinnarch, which does use
systemd, just so I can copy the scripts from /usr/lib/systemd/system
over to my gentoo machines.  Unfortunately I've been distracted
by my shiny new Nexus 7 tablet and I've neglected systemd most
shamefully ;)




[gentoo-user] NetworkManager problem after migrating to systemd

2012-10-29 Thread João Matos
Hi List.

I've heard here that systemd is faster the openrc, so I decided to try it.
And indeed, it is :). I've spent many hours to make my system totaly
functional again, but it totally worth it.

There is just one little problem remaining: NetworkManager starts, I can
connect the internet, but my kde applet cant see it is started, so I can't
manage my connections. It seems some people had similar problem, and were
able to solve it, but the topics weren't clear enough for me. I also seems
that there is something to to with pam or polkit.

The topics I'm talking about:

https://bbs.archlinux.org/viewtopic.php?id=144763

http://forums.gentoo.org/viewtopic-t-924004-start-0.html

Since we're talking about systemd, is it possible to it display something
during de boot, as openrc did? I just got a black screen until kdm starts.
I'll work on plymout, but I still think the informations r important.

Thank you,
-- 
João de Matos
Linux User #461527


Re: [gentoo-user] NetworkManager problem after migrating to systemd

2012-10-29 Thread Canek Peláez Valdés
On Mon, Oct 29, 2012 at 8:43 AM, João Matos jaon...@gmail.com wrote:
 Hi List.

 I've heard here that systemd is faster the openrc, so I decided to try it.
 And indeed, it is :). I've spent many hours to make my system totaly
 functional again, but it totally worth it.

Kudos.

 There is just one little problem remaining: NetworkManager starts, I can
 connect the internet, but my kde applet cant see it is started, so I can't
 manage my connections. It seems some people had similar problem, and were
 able to solve it, but the topics weren't clear enough for me. I also seems
 that there is something to to with pam or polkit.

You need to move everything to use systemd. If an ebuild has optional
dependencies on both systemd and consolekit, you need to set systemd,
and disable consolekit. At least that's the way it works now with
GNOME, and even some networkmanager versions needed to pick only one
between consolekit and systemd. For good measure, you should be able
to uninstall consolekit; it's deprecated, nobody is maintaining it,
and it relies on hacks to work. systemd's session tracking is much
more reliable and nicer.

In particular, the following packages should be using the systemd USE
flag, and not the consolekit one:

net-misc/networkmanager
sys-apps/accountsservice (don't know if KDE uses this)
sys-auth/pambase ( CRITICAL)
sys-auth/polkit ( CRITICAL)
sys-fs/udisks (optional, I think)
sys-power/upower (optional, I think)

It used to be that you could install systemd, check it out, and if you
didn't like it you just didn't used it (there was not even the need to
uninstall it). However, consolekit is for all practical purposes dead,
and systemd does that job better and with more features. So now you
need to decide at compile time which one you wanna use; you cannot mix
them.

 The topics I'm talking about:

 https://bbs.archlinux.org/viewtopic.php?id=144763

 http://forums.gentoo.org/viewtopic-t-924004-start-0.html

 Since we're talking about systemd, is it possible to it display something
 during de boot, as openrc did? I just got a black screen until kdm starts.
 I'll work on plymout, but I still think the informations r important.

Plymouth will just hide even more information; it looks really pretty,
though. I don't think you need to checkout anything at boot (I'm
pretty sure the problems are the ones I mentioned it), but to debug
systemd put this on your kernel command line: systemd.log_level=debug.
All the boot output gets logged into /var/log/boot.log; also, using
journalctl -b will give you all the output from the system from the
last time you rebooted.

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] NetworkManager problem after migrating to systemd

2012-10-29 Thread João Matos
I found the solution a few hours ago here
http://en.gentoo-wiki.com/wiki/Systemd#PAM_support:_su.2C_sudo.2C_screen...
. Now everything is fine :)

About the packages you mentioned, you've ran 'equery uses pambase polkit
udisks upower', and none of them has the userflag systemd. Anyway, systemd
is globally set on my system, and it is good to know I can disable
consolekit. I'll try it right now.

Thank you,

-- 
João de Matos
Linux User #461527


Re: [gentoo-user] NetworkManager problem after migrating to systemd

2012-10-29 Thread Canek Peláez Valdés
On Mon, Oct 29, 2012 at 4:42 PM, João Matos jaon...@gmail.com wrote:
 I found the solution a few hours ago here
 http://en.gentoo-wiki.com/wiki/Systemd#PAM_support:_su.2C_sudo.2C_screen...
 . Now everything is fine :)

 About the packages you mentioned, you've ran 'equery uses pambase polkit
 udisks upower', and none of them has the userflag systemd.

# equery uses pambase polkit udisks upower
[: I - package is installed with flag ]
 * Found these USE flags for sys-auth/pambase-20120417-r1:
[snip]
 + + systemd   :  Use pam_systemd module to register user sessions
in the systemd control group hierarchy.

 * Found these USE flags for sys-auth/polkit-0.107-r1:
[snip]
 + + systemd   : Use sys-apps/systemd instead of
sys-auth/consolekit for session tracking

 * Found these USE flags for sys-fs/udisks-2.0.0:
[snip]
 + + systemd   : Support sys-apps/systemd's logind

 * Found these USE flags for sys-power/upower-0.9.18:
[snip]
 + + systemd   : Use sys-apps/systemd for hibernate and suspend

Depends on the versions ;)

 Anyway, systemd
 is globally set on my system, and it is good to know I can disable
 consolekit. I'll try it right now.

The problem with ck is that it will make some things fail subtlety. I
did uninstall it, and everything has been working great (including the
awesome app-admin/system-config-printer-gnome).

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



[gentoo-user] mount and exfat

2012-10-29 Thread Bill Kenworthy
Any idea how I can get the mount command to recognise exfat?  It works
as root but not via fstab for users.

bunyip ~ # mount /dev/sdc1 /mnt/tmp
mount: unknown filesystem type 'exfat'
bunyip ~ # mount.exfat /dev/sdc1 /mnt/tmp
FUSE exfat 0.9.8
bunyip ~ #


BillK






[gentoo-user] Re: mount and exfat

2012-10-29 Thread Francesco Talamona
On Tuesday 30 October 2012, Bill Kenworthy wrote:
 Any idea how I can get the mount command to recognise exfat?  It
 works as root but not via fstab for users.
 
 bunyip ~ # mount /dev/sdc1 /mnt/tmp
 mount: unknown filesystem type 'exfat'
 bunyip ~ # mount.exfat /dev/sdc1 /mnt/tmp
 FUSE exfat 0.9.8
 bunyip ~ #
 
 
 BillK

http://forums.debian.net/viewtopic.php?f=30t=85873

Never used exfat myself, but I think you should include exfat-fuse in 
fstab

HTH
Francesco

-- 
Linux Version 3.6.2-gentoo, Compiled #3 SMP Sat Oct 20 09:46:59 CEST 
2012
Two 2.9GHz AMD Athlon 64 X2 Processors, 8GB RAM, 11659 Bogomips Total
aemaeth