it's only appears on first console (tty1)

but i think i'm ok with kernel and /dev/ permission

#ls -alh /dev/tty[0-2]
crw--w---- 1 root root 4, 0 10 set 19:57 /dev/tty0
crw------- 1 root root 4, 1 10 set 20:21 /dev/tty1
crw------- 1 root root 4, 2 10 set 20:20 /dev/tty2


# more .config | grep UNIX98_PTY
CONFIG_UNIX98_PTYS=y

i can see the warning also like nomal user and root user

can be grub setting 

nel /vmlinuz-2.6.26-gentoo-r1 root=/dev/sda2 splash=profile,silent
video=uvesafb:1680x1050-32,mtrr:3,ywrap quiet CONSOLE=/dev/tty1  

?


Il giorno mer, 10/09/2008 alle 09.49 +0200, Alan McKinnon ha scritto:

> On Wednesday 10 September 2008 07:43:33 Michele Schiavo wrote:
> > When i login from console i have this error :
> >
> > -bash: no job control in this shell
> >
> > I don't know since i have this because i do not usually console login.
> 
> I would have thought google would return thousands of hits for a message like 
> that. But it didn't, so you have a funny one :-)
> 
> This error seems to relate to not having access to the tty device. Here's a 
> good place to start:
> 
> http://forums.gentoo.org/viewtopic-t-152855.html?sid=657f0bbf1fe140faf141b965bbf161ad
> 
> Also check obvious things like UNIX98_PTY is enabled in your kernel, and your 
> user does have permissions on the console devices /dev/{p,t}ty*
> 
> Normally, it user root, group tty and the user is in the tty group
> 
> 
> 
> >
> > this is my .bashrc
> >
> > # /etc/skel/.bashrc:
> > # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bashrc,v 1.8
> > 2003/02/28 15:45:35 azarah Exp $
> >
> > # This file is sourced by all *interactive* bash shells on startup.
> > This
> > # file *should generate no output* or it will break the scp and rcp
> > commands.
> >
> > # colors for ls, etc.
> > eval `dircolors -b /etc/DIR_COLORS`
> >
> > alias ls="ls --color=auto"
> > alias ll="ls --color -l"
> > alias rm="rm -iv"
> > alias mv="mv -iv"
> > alias cp="cp -iv"
> > alias grep="grep --color"
> >
> > export HISTCONTROL=ignorespace
> > export HISTIGNORE="ignoredups:&:ls:[bf]g:exit"
> >
> > # Change the window title of X terminals
> > case $TERM in
> >     xterm*|rxvt|Eterm|eterm)
> >             PROMPT_COMMAND='echo -ne "\033]0;[EMAIL PROTECTED]:
> > ${PWD/$HOME/~}\007"'
> >             ;;
> >     screen)
> >             PROMPT_COMMAND='echo -ne "[EMAIL PROTECTED]:
> > ${PWD/$HOME/~}\033\\"'
> >             ;;
> > esac
> >
> > [ -f /etc/profile.d/bash-completion ] &&
> > source /etc/profile.d/bash-completion
> >
> > export MAILHOST="gmail.com"
> > export MAILUSER="micheleschi"
> 
> 
> 

Attachment: signature.asc
Description: Questa รจ una parte del messaggio firmata digitalmente

Reply via email to