Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] New install, Instant logout
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Turtleggjp
n00b
n00b


Joined: 24 Mar 2010
Posts: 18

PostPosted: Thu Jul 19, 2012 4:34 am    Post subject: [SOLVED] New install, Instant logout Reply with quote

I've done several Gentoo installs in the past, so I'm pretty familiar with the process. I just finished an installation on my new Intel Ivy Bridge system (Corei7 3770k) and I'm experiencing a new problem. When I boot the new system, the boot process seems to go just fine, and I am prompted to login. However, when I enter my password, it's like it instantly logs back out again. This happens with a root login and also with my user that I created. The odd thing is, I set up the SSH server to start up with the system, and I am able to login normally over SSH from another system. Any idea what's going on?

I used the ~amd64 keyword, so I know I'm likely to experience problems. I also unmasked gcc 4.7.1 so I could use the -march=core-avx-i flag with my Ivy Bridge CPU. I hope I didn't screw something up too badly doing this.

Matt


Last edited by Turtleggjp on Thu Aug 02, 2012 10:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Jul 19, 2012 4:56 am    Post subject: Reply with quote

have a gander at:

Code:

rc-status


and see if consolekit is running. If not, add it to the default runlevel (rc-update add consolekit default) and reboot.

You can get away without consolekit, but only if you've built everything such that it doesn't require consolekit (and i think most of the desktop profiles do enable the consolekit USE flag?)
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
Turtleggjp
n00b
n00b


Joined: 24 Mar 2010
Posts: 18

PostPosted: Thu Jul 19, 2012 1:13 pm    Post subject: Reply with quote

Code:
$ rc-status
Runlevel: default
 syslog-ng                                                         [  started  ]
 net.eth0                                                          [  started  ]
 sshd                                                              [  started  ]
 netmount                                                          [  started  ]
 vixie-cron                                                        [  started  ]
 local                                                             [  started  ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed
 udev-mount                                                        [  started  ]
Dynamic Runlevel: manual


No consolekit. Looks like it hasn't installed yet:

Code:
# rc-update add consolekit default
 * rc-update: service `consolekit' does not exist


At this point, I have just finished going through the handbook and have not installed Xorg yet. I am still using the default profile, not a desktop one, to make the bootstrap process go quicker (I'd rather compile all the QT/GTK stuff after I get the system booting on its own).

Thanks!
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Thu Jul 19, 2012 5:30 pm    Post subject: Reply with quote

Turtleggjp ...

this sounds as though login is crashing ... which is why ssh isn't effected. It could possibly be due to your CFLAGS, but as login also links to glibc thats difficult to say. Anyhow, you might try running strace on /sbin/login ... or prehaps re-emerge with different CFLAGS.

HTH & best ...

khay

EDIT: didn't mention the fact the login is provided by sys-apps/shadow


Last edited by khayyam on Thu Jul 19, 2012 7:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Jul 19, 2012 6:46 pm    Post subject: Reply with quote

Turtleggjp wrote:


have not installed Xorg yet.


ah right. different animal, console login. I'd assumed *DM.

I like the suggestion above, then ^^^
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
Turtleggjp
n00b
n00b


Joined: 24 Mar 2010
Posts: 18

PostPosted: Thu Jul 19, 2012 9:39 pm    Post subject: Reply with quote

ok, after entering my password, this is the output of strace:

Code:
ioctl(0, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
write(2, "\n", 1
)                       = 1
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
ioctl(0, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
lseek(3, 0, SEEK_CUR)                   = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=924, ...}) = 0
mmap(NULL, 924, PROT_READ, MAP_SHARED, 3, 0) = 0x7f7824dc8000
lseek(3, 924, SEEK_SET)                 = 924
munmap(0x7f7824dc8000, 924)             = 0
close(3)                                = 0
geteuid()                               = 0
open("/etc/shadow", O_RDONLY|O_CLOEXEC) = 3
lseek(3, 0, SEEK_CUR)                   = 0
fstat(3, {st_mode=S_IFREG|0640, st_size=563, ...}) = 0
mmap(NULL, 563, PROT_READ, MAP_SHARED, 3, 0) = 0x7f7824dc8000
lseek(3, 563, SEEK_SET)                 = 563
munmap(0x7f7824dc8000, 563)             = 0
close(3)                                = 0
mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7824d9b000
munmap(0x7f7824d9b000, 135168)          = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
lseek(3, 0, SEEK_CUR)                   = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=924, ...}) = 0
mmap(NULL, 924, PROT_READ, MAP_SHARED, 3, 0) = 0x7f7824dc8000
lseek(3, 924, SEEK_SET)                 = 924
munmap(0x7f7824dc8000, 924)             = 0
close(3)                                = 0
alarm(0)                                = 52
write(2, "\nAuthentication failure\n", 24
Authentication failure
) = 24
open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2294, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=2294, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7824dc8000
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 2294
lseek(3, -1457, SEEK_CUR)               = 837
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 1457
close(3)                                = 0
munmap(0x7f7824dc8000, 4096)            = 0
socket(PF_FILE, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3
connect(3, {sa_family=AF_FILE, sun_path="/dev/log"}, 110) = -1 EPROTOTYPE (Protocol wrong type for socket)
close(3)                                = 0
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC, 0) = 3
connect(3, {sa_family=AF_FILE, sun_path="/dev/log"}, 110) = 0
sendto(3, "<83>Jul 19 14:32:44 login[6427]:"..., 56, MSG_NOSIGNAL, NULL, 0) = 56
munmap(0x7f7823fe9000, 2105488)         = 0
munmap(0x7f7823de5000, 2109672)         = 0
munmap(0x7f7823be3000, 2101336)         = 0
munmap(0x7f78239e0000, 2105448)         = 0
munmap(0x7f78237dc000, 2109632)         = 0
munmap(0x7f78235c4000, 2192096)         = 0
munmap(0x7f782338d000, 2318784)         = 0
munmap(0x7f782318b000, 2101288)         = 0
munmap(0x7f7822f89000, 2101272)         = 0
exit_group(1)                           = ?
+++ exited with 1 +++


I tried it on my local system that works fine, and after entering my password I got a bash prompt. After typing exit, it says it exited with 0, whereas the faulty system is exiting with code 1. Does that tell you what's going on?

Thanks.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Fri Jul 20, 2012 12:10 am    Post subject: Reply with quote

Turtleggjp ...

from the above it seems to be an authentication failure, but this could happen for any number of reasons. It would have been a good idea to provide the whole strace (via pastebin) as right before your authentication failure would have been calls to various glibc components.

Anyhow, to rule out some possible issues, please set you password to 'testtesttest' (or similar) and login (via strace).

Code:
% strace -o strace-login.out /bin/login
login:
% exit

Did you also try to re-merge sys-apps/shadow and sys-libs/pam with -march=native (or some other CFLAGS)?

best ... khay
Back to top
View user's profile Send private message
Turtleggjp
n00b
n00b


Joined: 24 Mar 2010
Posts: 18

PostPosted: Fri Jul 20, 2012 2:12 am    Post subject: Reply with quote

Here is the full output:

Code:
Turtleggjp-IvyBridge turtleggjp # strace /bin/login
execve("/bin/login", ["/bin/login"], [/* 28 vars */]) = 0
brk(0)                                  = 0x6fc000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3a7b31000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=71589, ...}) = 0
mmap(NULL, 71589, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb3a7b1f000
close(3)                                = 0
open("/lib64/libpam.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220)\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=55728, ...}) = 0
mmap(NULL, 2150928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb3a7703000
mprotect(0x7fb3a7710000, 2093056, PROT_NONE) = 0
mmap(0x7fb3a790f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x7fb3a790f000
close(3)                                = 0
open("/lib64/libpam_misc.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\21\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=14400, ...}) = 0
mmap(NULL, 2109720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb3a74ff000
mprotect(0x7fb3a7502000, 2093056, PROT_NONE) = 0
mmap(0x7fb3a7701000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fb3a7701000
close(3)                                = 0
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320G\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1712344, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3a74fe000
mmap(NULL, 3824736, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb3a7158000
mprotect(0x7fb3a72f4000, 2097152, PROT_NONE) = 0
mmap(0x7fb3a74f4000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19c000) = 0x7fb3a74f4000
mmap(0x7fb3a74fa000, 15456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb3a74fa000
close(3)                                = 0
open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\20\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=14448, ...}) = 0
mmap(NULL, 2109688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb3a6f54000
mprotect(0x7fb3a6f57000, 2093056, PROT_NONE) = 0
mmap(0x7fb3a7156000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fb3a7156000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3a7b1e000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3a7b1d000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3a7b1c000
arch_prctl(ARCH_SET_FS, 0x7fb3a7b1d700) = 0
mprotect(0x7fb3a74f4000, 16384, PROT_READ) = 0
mprotect(0x7fb3a7156000, 4096, PROT_READ) = 0
mprotect(0x7fb3a790f000, 4096, PROT_READ) = 0
mprotect(0x7fb3a7701000, 4096, PROT_READ) = 0
mprotect(0x609000, 4096, PROT_READ)     = 0
mprotect(0x7fb3a7b32000, 4096, PROT_READ) = 0
munmap(0x7fb3a7b1f000, 71589)           = 0
brk(0)                                  = 0x6fc000
brk(0x71d000)                           = 0x71d000
getuid()                                = 0
geteuid()                               = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(2, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
access("/var/run/utmpx", F_OK)          = -1 ENOENT (No such file or directory)
open("/var/run/utmp", O_RDONLY|O_CLOEXEC) = 3
fcntl(3, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
lseek(3, 0, SEEK_SET)                   = 0
alarm(0)                                = 0
rt_sigaction(SIGALRM, {0x7fb3a72742d0, [], SA_RESTORER, 0x7fb3a718ff30}, {SIG_DFL, [], 0}, 8) = 0
alarm(10)                               = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\2\0\0\0\0\0\0\0~\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0)                                = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, NULL, 8) = 0
getpid()                                = 1990
alarm(0)                                = 0
rt_sigaction(SIGALRM, {0x7fb3a72742d0, [], SA_RESTORER, 0x7fb3a718ff30}, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, 8) = 0
alarm(10)                               = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\10\0\0\0\25\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0)                                = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, NULL, 8) = 0
alarm(0)                                = 0
rt_sigaction(SIGALRM, {0x7fb3a72742d0, [], SA_RESTORER, 0x7fb3a718ff30}, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, 8) = 0
alarm(10)                               = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\1\0\0\0003N\0\0~\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0)                                = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, NULL, 8) = 0
alarm(0)                                = 0
rt_sigaction(SIGALRM, {0x7fb3a72742d0, [], SA_RESTORER, 0x7fb3a718ff30}, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, 8) = 0
alarm(10)                               = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\10\0\0\0\247\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0)                                = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, NULL, 8) = 0
alarm(0)                                = 0
rt_sigaction(SIGALRM, {0x7fb3a72742d0, [], SA_RESTORER, 0x7fb3a718ff30}, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, 8) = 0
alarm(10)                               = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\6\0\0\0\234\7\0\0tty1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0)                                = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, NULL, 8) = 0
alarm(0)                                = 0
rt_sigaction(SIGALRM, {0x7fb3a72742d0, [], SA_RESTORER, 0x7fb3a718ff30}, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, 8) = 0
alarm(10)                               = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\6\0\0\0\223\7\0\0tty3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0)                                = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, NULL, 8) = 0
alarm(0)                                = 0
rt_sigaction(SIGALRM, {0x7fb3a72742d0, [], SA_RESTORER, 0x7fb3a718ff30}, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, 8) = 0
alarm(10)                               = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\6\0\0\0\222\7\0\0tty2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0)                                = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, NULL, 8) = 0
alarm(0)                                = 0
rt_sigaction(SIGALRM, {0x7fb3a72742d0, [], SA_RESTORER, 0x7fb3a718ff30}, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, 8) = 0
alarm(10)                               = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\6\0\0\0\224\7\0\0tty4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0)                                = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, NULL, 8) = 0
alarm(0)                                = 0
rt_sigaction(SIGALRM, {0x7fb3a72742d0, [], SA_RESTORER, 0x7fb3a718ff30}, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, 8) = 0
alarm(10)                               = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\6\0\0\0\225\7\0\0tty5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0)                                = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, NULL, 8) = 0
alarm(0)                                = 0
rt_sigaction(SIGALRM, {0x7fb3a72742d0, [], SA_RESTORER, 0x7fb3a718ff30}, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, 8) = 0
alarm(10)                               = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\6\0\0\0\226\7\0\0tty6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0)                                = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, NULL, 8) = 0
alarm(0)                                = 0
rt_sigaction(SIGALRM, {0x7fb3a72742d0, [], SA_RESTORER, 0x7fb3a718ff30}, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, 8) = 0
alarm(10)                               = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\7\0\0\0\235\7\0\0pts/0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0)                                = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, NULL, 8) = 0
alarm(0)                                = 0
rt_sigaction(SIGALRM, {0x7fb3a72742d0, [], SA_RESTORER, 0x7fb3a718ff30}, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, 8) = 0
alarm(10)                               = 0
fcntl(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "", 384)                        = 0
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0)                                = 10
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, NULL, 8) = 0
close(3)                                = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
readlink("/proc/self/fd/0", "/dev/pts/0", 4095) = 10
stat("/dev/pts/0", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
open("/etc/login.defs", O_RDONLY)       = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=10522, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3a7b30000
read(3, "#\n# /etc/login.defs - Configurat"..., 4096) = 4096
read(3, "ogin configuration initializatio"..., 4096) = 4096
read(3, "#ENCRYPT_METHOD DES\n\n#\n# Only wo"..., 4096) = 2330
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fb3a7b30000, 4096)            = 0
ioctl(0, SNDCTL_TMR_START or SNDRV_TIMER_IOCTL_TREAD or TCSETS, {B38400 opost isig icanon echo ...}) = 0
rt_sigaction(SIGALRM, {0x404120, [ALRM], SA_RESTORER|SA_RESTART, 0x7fb3a718ff30}, {SIG_DFL, [], SA_RESTORER, 0x7fb3a718ff30}, 8) = 0
alarm(60)                               = 0
stat("/etc/pam.d", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/pam.d/login", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=75, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3a7b30000
read(3, "auth       required\tpam_securett"..., 4096) = 75
open("/lib64/security/pam_securetty.so", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\v\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=10128, ...}) = 0
mmap(NULL, 2105488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7fb3a6d51000
mprotect(0x7fb3a6d53000, 2093056, PROT_NONE) = 0
mmap(0x7fb3a6f52000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1000) = 0x7fb3a6f52000
close(4)                                = 0
mprotect(0x7fb3a6f52000, 4096, PROT_READ) = 0
open("/etc/pam.d/system-local-login", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=121, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3a7b2f000
read(4, "auth\t\tinclude\t\tsystem-login\nacco"..., 4096) = 121
open("/etc/pam.d/system-login", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=535, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3a7b2e000
read(5, "auth\t\trequired\tpam_tally2.so one"..., 4096) = 535
open("/lib64/security/pam_tally2.so", O_RDONLY|O_CLOEXEC) = 6
read(6, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\16\0\0\0\0\0\0"..., 832) = 832
fstat(6, {st_mode=S_IFREG|0755, st_size=14312, ...}) = 0
mmap(NULL, 2109672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0x7fb3a6b4d000
mprotect(0x7fb3a6b50000, 2093056, PROT_NONE) = 0
mmap(0x7fb3a6d4f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x2000) = 0x7fb3a6d4f000
close(6)                                = 0
mprotect(0x7fb3a6d4f000, 4096, PROT_READ) = 0
open("/lib64/security/pam_shells.so", O_RDONLY|O_CLOEXEC) = 6
read(6, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\10\0\0\0\0\0\0"..., 832) = 832
fstat(6, {st_mode=S_IFREG|0755, st_size=5976, ...}) = 0
mmap(NULL, 2101336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0x7fb3a694b000
mprotect(0x7fb3a694c000, 2093056, PROT_NONE) = 0
mmap(0x7fb3a6b4b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0) = 0x7fb3a6b4b000
close(6)                                = 0
mprotect(0x7fb3a6b4b000, 4096, PROT_READ) = 0
open("/lib64/security/pam_nologin.so", O_RDONLY|O_CLOEXEC) = 6
read(6, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \t\0\0\0\0\0\0"..., 832) = 832
fstat(6, {st_mode=S_IFREG|0755, st_size=10088, ...}) = 0
mmap(NULL, 2105448, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0x7fb3a6748000
mprotect(0x7fb3a6749000, 2097152, PROT_NONE) = 0
mmap(0x7fb3a6949000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x1000) = 0x7fb3a6949000
close(6)                                = 0
mprotect(0x7fb3a6949000, 4096, PROT_READ) = 0
open("/etc/pam.d/system-auth", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=501, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3a7b2d000
read(6, "auth\t\trequired\tpam_env.so \nauth\t"..., 4096) = 501
open("/lib64/security/pam_env.so", O_RDONLY|O_CLOEXEC) = 7
read(7, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\16\0\0\0\0\0\0"..., 832) = 832
fstat(7, {st_mode=S_IFREG|0755, st_size=14280, ...}) = 0
mmap(NULL, 2109632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0x7fb3a6544000
mprotect(0x7fb3a6547000, 2093056, PROT_NONE) = 0
mmap(0x7fb3a6746000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0x2000) = 0x7fb3a6746000
close(7)                                = 0
mprotect(0x7fb3a6746000, 4096, PROT_READ) = 0
open("/lib64/security/pam_unix.so", O_RDONLY|O_CLOEXEC) = 7
read(7, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000$\0\0\0\0\0\0"..., 832) = 832
fstat(7, {st_mode=S_IFREG|0755, st_size=47584, ...}) = 0
mmap(NULL, 2192096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0x7fb3a632c000
mprotect(0x7fb3a6337000, 2093056, PROT_NONE) = 0
mmap(0x7fb3a6536000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0xa000) = 0x7fb3a6536000
mmap(0x7fb3a6538000, 45792, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb3a6538000
close(7)                                = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=71589, ...}) = 0
mmap(NULL, 71589, PROT_READ, MAP_PRIVATE, 7, 0) = 0x7fb3a7b0a000
close(7)                                = 0
open("/lib64/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = 7
read(7, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\f\0\0\0\0\0\0"..., 832) = 832
fstat(7, {st_mode=S_IFREG|0755, st_size=34912, ...}) = 0
mmap(NULL, 2318784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0x7fb3a60f5000
mprotect(0x7fb3a60fd000, 2093056, PROT_NONE) = 0
mmap(0x7fb3a62fc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0x7000) = 0x7fb3a62fc000
mmap(0x7fb3a62fe000, 184768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb3a62fe000
close(7)                                = 0
mprotect(0x7fb3a62fc000, 4096, PROT_READ) = 0
mprotect(0x7fb3a6536000, 4096, PROT_READ) = 0
munmap(0x7fb3a7b0a000, 71589)           = 0
open("/lib64/security/pam_permit.so", O_RDONLY|O_CLOEXEC) = 7
read(7, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\6\0\0\0\0\0\0"..., 832) = 832
fstat(7, {st_mode=S_IFREG|0755, st_size=5928, ...}) = 0
mmap(NULL, 2101288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0x7fb3a5ef3000
mprotect(0x7fb3a5ef4000, 2093056, PROT_NONE) = 0
mmap(0x7fb3a60f3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0) = 0x7fb3a60f3000
close(7)                                = 0
mprotect(0x7fb3a60f3000, 4096, PROT_READ) = 0
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0x7fb3a7b2d000, 4096)            = 0
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x7fb3a7b2e000, 4096)            = 0
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x7fb3a7b2f000, 4096)            = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fb3a7b30000, 4096)            = 0
open("/etc/pam.d/other", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3a7b30000
read(3, "auth       required\tpam_deny.so\n"..., 4096) = 128
open("/lib64/security/pam_deny.so", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \6\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=5840, ...}) = 0
mmap(NULL, 2101272, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7fb3a5cf1000
mprotect(0x7fb3a5cf2000, 2093056, PROT_NONE) = 0
mmap(0x7fb3a5ef1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0) = 0x7fb3a5ef1000
close(4)                                = 0
mprotect(0x7fb3a5ef1000, 4096, PROT_READ) = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fb3a7b30000, 4096)            = 0
uname({sys="Linux", node="Turtleggjp-IvyBridge", ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
rt_sigprocmask(SIG_BLOCK, [TSTP], [], 8) = 0
ioctl(0, SNDCTL_TMR_CONTINUE or SNDRV_TIMER_IOCTL_GPARAMS or TCSETSF, {B38400 opost isig icanon echo ...}) = 0
write(2, "Turtleggjp-IvyBridge login: ", 28Turtleggjp-IvyBridge login: ) = 28
read(0, turtleggjp
"turtleggjp\n", 511)            = 11
ioctl(0, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
ioctl(0, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_FILE, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_FILE, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=508, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3a7b30000
read(3, "# /etc/nsswitch.conf:\n# $Header:"..., 4096) = 508
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fb3a7b30000, 4096)            = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=71589, ...}) = 0
mmap(NULL, 71589, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb3a7b1f000
close(3)                                = 0
open("/lib64/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\26\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=35536, ...}) = 0
mmap(NULL, 2131104, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb3a5ae8000
mprotect(0x7fb3a5aef000, 2097152, PROT_NONE) = 0
mmap(0x7fb3a5cef000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fb3a5cef000
close(3)                                = 0
open("/lib64/libnsl.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`L\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=88888, ...}) = 0
mmap(NULL, 2194040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb3a58d0000
mprotect(0x7fb3a58e5000, 2093056, PROT_NONE) = 0
mmap(0x7fb3a5ae4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7fb3a5ae4000
mmap(0x7fb3a5ae6000, 6776, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb3a5ae6000
close(3)                                = 0
mprotect(0x7fb3a5ae4000, 4096, PROT_READ) = 0
mprotect(0x7fb3a5cef000, 4096, PROT_READ) = 0
munmap(0x7fb3a7b1f000, 71589)           = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=71589, ...}) = 0
mmap(NULL, 71589, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb3a7b1f000
close(3)                                = 0
open("/lib64/libnss_nis.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340&\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=43384, ...}) = 0
mmap(NULL, 2139320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb3a56c5000
mprotect(0x7fb3a56cf000, 2093056, PROT_NONE) = 0
mmap(0x7fb3a58ce000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7fb3a58ce000
close(3)                                = 0
open("/lib64/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340'\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=51976, ...}) = 0
mmap(NULL, 2148176, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb3a54b8000
mprotect(0x7fb3a54c4000, 2093056, PROT_NONE) = 0
mmap(0x7fb3a56c3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0x7fb3a56c3000
close(3)                                = 0
mprotect(0x7fb3a56c3000, 4096, PROT_READ) = 0
mprotect(0x7fb3a58ce000, 4096, PROT_READ) = 0
munmap(0x7fb3a7b1f000, 71589)           = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fcntl(3, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
lseek(3, 0, SEEK_CUR)                   = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=1074, ...}) = 0
mmap(NULL, 1074, PROT_READ, MAP_SHARED, 3, 0) = 0x7fb3a7b30000
lseek(3, 1074, SEEK_SET)                = 1074
munmap(0x7fb3a7b30000, 1074)            = 0
close(3)                                = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
lseek(3, 0, SEEK_CUR)                   = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=1074, ...}) = 0
mmap(NULL, 1074, PROT_READ, MAP_SHARED, 3, 0) = 0x7fb3a7b30000
lseek(3, 1074, SEEK_SET)                = 1074
munmap(0x7fb3a7b30000, 1074)            = 0
close(3)                                = 0
lstat("/var/log/tallylog", {st_mode=S_IFREG|0600, st_size=64064, ...}) = 0
open("/var/log/tallylog", O_RDWR)       = 3
lseek(3, 64000, SEEK_SET)               = 64000
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 64) = 64
lseek(3, 64000, SEEK_SET)               = 64000
write(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 64) = 64
fsync(3)                                = 0
close(3)                                = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
lseek(3, 0, SEEK_CUR)                   = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=1074, ...}) = 0
mmap(NULL, 1074, PROT_READ, MAP_SHARED, 3, 0) = 0x7fb3a7b30000
lseek(3, 1074, SEEK_SET)                = 1074
munmap(0x7fb3a7b30000, 1074)            = 0
close(3)                                = 0
stat("/etc/shells", {st_mode=S_IFREG|0644, st_size=118, ...}) = 0
open("/etc/shells", O_RDONLY)           = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=118, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3a7b30000
read(3, "# /etc/shells: valid login shell"..., 4096) = 118
close(3)                                = 0
munmap(0x7fb3a7b30000, 4096)            = 0
open("/var/run/nologin", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/etc/nologin", O_RDONLY)          = -1 ENOENT (No such file or directory)
getuid()                                = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
lseek(3, 0, SEEK_CUR)                   = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=1074, ...}) = 0
mmap(NULL, 1074, PROT_READ, MAP_SHARED, 3, 0) = 0x7fb3a7b30000
lseek(3, 1074, SEEK_SET)                = 1074
munmap(0x7fb3a7b30000, 1074)            = 0
close(3)                                = 0
geteuid()                               = 0
open("/etc/shadow", O_RDONLY|O_CLOEXEC) = 3
lseek(3, 0, SEEK_CUR)                   = 0
fstat(3, {st_mode=S_IFREG|0640, st_size=607, ...}) = 0
mmap(NULL, 607, PROT_READ, MAP_SHARED, 3, 0) = 0x7fb3a7b30000
lseek(3, 607, SEEK_SET)                 = 607
munmap(0x7fb3a7b30000, 607)             = 0
close(3)                                = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
rt_sigprocmask(SIG_BLOCK, [TSTP], [], 8) = 0
ioctl(0, SNDCTL_TMR_CONTINUE or SNDRV_TIMER_IOCTL_GPARAMS or TCSETSF, {B38400 opost isig icanon -echo ...}) = 0
write(2, "Password: ", 10Password: )              = 10
read(0, "gentoo\n", 511)                = 7
ioctl(0, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
write(2, "\n", 1
)                       = 1
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
ioctl(0, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
lseek(3, 0, SEEK_CUR)                   = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=1074, ...}) = 0
mmap(NULL, 1074, PROT_READ, MAP_SHARED, 3, 0) = 0x7fb3a7b30000
lseek(3, 1074, SEEK_SET)                = 1074
munmap(0x7fb3a7b30000, 1074)            = 0
close(3)                                = 0
geteuid()                               = 0
open("/etc/shadow", O_RDONLY|O_CLOEXEC) = 3
lseek(3, 0, SEEK_CUR)                   = 0
fstat(3, {st_mode=S_IFREG|0640, st_size=607, ...}) = 0
mmap(NULL, 607, PROT_READ, MAP_SHARED, 3, 0) = 0x7fb3a7b30000
lseek(3, 607, SEEK_SET)                 = 607
munmap(0x7fb3a7b30000, 607)             = 0
close(3)                                = 0
mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3a7afb000
munmap(0x7fb3a7afb000, 135168)          = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
lseek(3, 0, SEEK_CUR)                   = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=1074, ...}) = 0
mmap(NULL, 1074, PROT_READ, MAP_SHARED, 3, 0) = 0x7fb3a7b30000
lseek(3, 1074, SEEK_SET)                = 1074
munmap(0x7fb3a7b30000, 1074)            = 0
close(3)                                = 0
alarm(0)                                = 54
write(2, "\nAuthentication failure\n", 24
Authentication failure
) = 24
open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2294, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=2294, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3a7b30000
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 2294
lseek(3, -1457, SEEK_CUR)               = 837
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 1457
close(3)                                = 0
munmap(0x7fb3a7b30000, 4096)            = 0
socket(PF_FILE, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3
connect(3, {sa_family=AF_FILE, sun_path="/dev/log"}, 110) = -1 EPROTOTYPE (Protocol wrong type for socket)
close(3)                                = 0
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC, 0) = 3
connect(3, {sa_family=AF_FILE, sun_path="/dev/log"}, 110) = 0
sendto(3, "<83>Jul 19 19:10:18 login[1990]:"..., 56, MSG_NOSIGNAL, NULL, 0) = 56
munmap(0x7fb3a6d51000, 2105488)         = 0
munmap(0x7fb3a6b4d000, 2109672)         = 0
munmap(0x7fb3a694b000, 2101336)         = 0
munmap(0x7fb3a6748000, 2105448)         = 0
munmap(0x7fb3a6544000, 2109632)         = 0
munmap(0x7fb3a632c000, 2192096)         = 0
munmap(0x7fb3a60f5000, 2318784)         = 0
munmap(0x7fb3a5ef3000, 2101288)         = 0
munmap(0x7fb3a5cf1000, 2101272)         = 0
exit_group(1)                           = ?
+++ exited with 1 +++


Thanks!
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Fri Jul 20, 2012 3:10 am    Post subject: Reply with quote

Turtleggjp ...

ok, it does seem to be a simple authentication failure, does the password hash (for both root and user) in /etc/shadow begin with '$6', and is the 'sha512' use flag enabled for sys-auth/pambase? The problem seems to be in parsing /etc/shadow which might mean its simply not able to read the hash, this would make ssh login an oddity, but I can't see what else it might be currently.

Please (pastebin) the output of emerge --info ... also, I've now asked twice if you have attempted to re-merge shadow, pam, etc ... I won't ask again.

best ... khay
Back to top
View user's profile Send private message
Turtleggjp
n00b
n00b


Joined: 24 Mar 2010
Posts: 18

PostPosted: Fri Jul 20, 2012 3:43 am    Post subject: Reply with quote

Yes, both my user and root begin with $6 in /etc/shadow.

It does appear that the sha512 use flag is enabled for pambase:

Code:
Turtleggjp-IvyBridge turtleggjp # emerge -pv sys-auth/pambase

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

Calculating dependencies... done!
[ebuild   R    ] sys-auth/pambase-20120417-r1  USE="cracklib sha512 -consolekit -debug -gnome-keyring -minimal -mktemp -pam_krb5 -pam_ssh -passwdqc (-selinux) -systemd" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


And here is emerge --info:

Code:
Turtleggjp-IvyBridge turtleggjp # emerge --info
Portage 2.1.11.8 (default/linux/amd64/10.0/desktop, gcc-4.7.1, glibc-2.15-r2, 3.4.5-gentoo x86_64)
=================================================================
System uname: Linux-3.4.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.1
Timestamp of tree: Wed, 18 Jul 2012 15:00:01 +0000
app-shells/bash:          4.2_p36
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.69
sys-devel/automake:       1.12.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.7.1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx-i -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=core-avx-i -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="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 jpeg kde lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt3support qt4 readline sdl session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xorg xv xvid 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" 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" 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, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


I have not yet tried re-merging those packages you mentioned, since I wanted to see if it was something else first. If nothing else obvious is wrong, I will try that next.

Thanks.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Fri Jul 20, 2012 9:20 am    Post subject: Reply with quote

Turtleggjp ...

You have 'consolekit' as a USE, so pambase will be built with this ... not using consolekit I can't say what needs to happen but I imagine it needs to be started in the default runlevel.

Code:
% awk '{RS="\n\n"}/pambase:/{print}' <(euse -i consolekit)
[- c    ] consolekit
    sys-auth/pambase: Enable pam_ck_connector module on local system
    logins. This allows for console logins to make use of ConsoleKit
    authorization.
        [-  ] 20101024-r2 [gentoo]
        [-  ] 20120417 [gentoo]
        [-  ] 20120417-r1 [gentoo]

This seems the most obvious cause, so you can either try with consolekit running, or build pambase with USE="-consolekit".

best ... khay
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Fri Jul 20, 2012 12:04 pm    Post subject: Reply with quote

Turtleggjp,

Did you override pambase use flags in package.use :?:

Your emerge info shows consolekit enabled - which it should be with the amd64/10.0/desktop profile. - however, emerge -pv sys-auth/pambase shows -consolekit :?
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Fri Jul 20, 2012 12:31 pm    Post subject: Reply with quote

Bill ...

I totally missed that ... nice catch. But still, if pambase is emerged with -consolkit then it souldn't be needed for login right? I mean, there is nothing else that login calls that has it as a dependency.

Maybe we don't have an RHCE in the initramfs :) ... I'm just glad I purged *kit from my system.

best ... khay
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Fri Jul 20, 2012 12:52 pm    Post subject: Reply with quote

khayyam wrote:
Bill ...

I totally missed that ... nice catch. But still, if pambase is emerged with -consolkit then it souldn't be needed for login right? I mean, there is nothing else that login calls that has it as a dependency.

Maybe we don't have an RHCE in the initramfs :) ... I'm just glad I purged *kit from my system.

best ... khay

Probably not - I forgot to add consolkit to the default runlevel and I was able to login for a month :?

I would be surprised if that was the problem, but for lack of any brilliant ideas at the moment, it's probably worth a look :roll:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1369
Location: Montréal

PostPosted: Fri Jul 20, 2012 2:24 pm    Post subject: Reply with quote

Hello,
you can disable the use of a password with the -d option of the passwd command. You can make the change via ssh or in chroot. It's just a curiosity.

With Fedora I had this traquenard of automatic login/logout. It appear that Selinux had to relabel the root tree to solve the problem. Is Selinux is enabled somewhere in the kernel and/or in the boot process?
_________________
Paul
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Sat Jul 21, 2012 2:49 am    Post subject: Reply with quote

khayyam wrote:

Maybe we don't have an RHCE in the initramfs :) ... I'm just glad I purged *kit from my system.


I've got all *kit, and even udev bits all removed from my system now. Can't say I miss it.
...except that the www-client/chromium build requires udev as a build dependency, and there seems to be no --disable-udev configure option, which is blindingly infuriating.
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
Turtleggjp
n00b
n00b


Joined: 24 Mar 2010
Posts: 18

PostPosted: Mon Jul 23, 2012 4:16 pm    Post subject: Reply with quote

Thanks for all the tips guys.

First off, I just tried Logicien's suggestion of removing the password from my user account. By doing this, strace shows the same results (exit code 1) after entering just my username. That suggests to me that it is not the password authentication that is causing this.

As far as the oddities concerning the consolekit USE flag, I bootstrapped the system with the non-desktop profile selected (which is probably when pambase got installed), and then later changed over to the desktop profile. I mainly did this so that stuff like qt and gtk would be excluded from the bootstrap (or at least the "emerge -e system" step).

And no, I haven't (intentionally) enabled anything SELinux related. Any other ideas?

Matt
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Mon Jul 23, 2012 6:16 pm    Post subject: Reply with quote

Turtleggjp wrote:
First off, I just tried Logicien's suggestion of removing the password from my user account. By doing this, strace shows the same results (exit code 1) after entering just my username. That suggests to me that it is not the password authentication that is causing this.

Turtleggjp ... I disagree, the procedure of login/pam/shadow isn't skipped when there is an empty passphrase. The strace above clearly shows the exit occurs when parsing /etc/shadow.

Turtleggjp wrote:
As far as the oddities concerning the consolekit USE flag, I bootstrapped the system with the non-desktop profile selected (which is probably when pambase got installed), and then later changed over to the desktop profile. I mainly did this so that stuff like qt and gtk would be excluded from the bootstrap (or at least the "emerge -e system" step).

There are no gt/gtk, or GUI, dependencies in @system, so the switch makes absolutely no difference, except perhaps for excluding something later relied on by your desktop (ie: *kit). So ... you should probably 'emerge --newuse --deep world'

My guess is this is a *kit issue as its a cancer in the heart of a working authentication mechanism. How to fix it, I don't know ... I've avoided the whole thing like a plague.

best ... khay
Back to top
View user's profile Send private message
Turtleggjp
n00b
n00b


Joined: 24 Mar 2010
Posts: 18

PostPosted: Mon Jul 23, 2012 7:50 pm    Post subject: Reply with quote

Here is what I get with "emerge -pev system" right now:

With non-desktop profile:
Code:
Total: 121 packages (121 reinstalls), Size of downloads: 0 kB

With Desktop profile:
Code:
Total: 307 packages (14 new, 2 in new slots, 291 reinstalls), Size of downloads: 30,669 kB


I know that the non-desktop profile has the -X USE flag set while Desktop has +X, so that right there can potentially bring in a bunch more stuff. Looks like the gtk use flag is set similarly.

So what all is included in *kit? Consolekit has been mentioned, and I also see polkit (policykit?). Neither of those appear to be installed right now. I will now remove the -march=core-avx-i in my make.conf now and try re-emerging shadow and pam.

Matt

EDIT: No change after re-installing shadow and pam without -march=core-avx-i
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Tue Jul 24, 2012 1:01 am    Post subject: Reply with quote

It looks like it doesn't like /etc/passwd for some strange reason :?: Does anything look 'funky' in there :?:
Code:
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
lseek(3, 0, SEEK_CUR)                   = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=1074, ...}) = 0
mmap(NULL, 1074, PROT_READ, MAP_SHARED, 3, 0) = 0x7fb3a7b30000
lseek(3, 1074, SEEK_SET)                = 1074
munmap(0x7fb3a7b30000, 1074)            = 0
close(3)                                = 0
alarm(0)                                = 54
write(2, "\nAuthentication failure\n", 24
Authentication failure

_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
Turtleggjp
n00b
n00b


Joined: 24 Mar 2010
Posts: 18

PostPosted: Tue Jul 24, 2012 1:11 pm    Post subject: Reply with quote

Code:
Turtleggjp-IvyBridge turtleggjp # cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/bin/false
daemon:x:2:2:daemon:/sbin:/bin/false
adm:x:3:4:adm:/var/adm:/bin/false
lp:x:4:7:lp:/var/spool/lpd:/bin/false
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
news:x:9:13:news:/var/spool/news:/bin/false
uucp:x:10:14:uucp:/var/spool/uucp:/bin/false
operator:x:11:0:operator:/root:/bin/bash
portage:x:250:250:portage:/var/tmp/portage:/bin/false
nobody:x:65534:65534:nobody:/var/empty:/bin/false
man:x:13:15:added by portage for man:/usr/share/man:/sbin/nologin
sshd:x:22:22:added by portage for openssh:/var/empty:/sbin/nologin
cron:x:16:16:added by portage for cronbase:/var/spool/cron:/sbin/nologin
mail:x:8:12:added by portage for mailbase:/var/spool/mail:/sbin/nologin
postmaster:x:14:249:added by portage for mailbase:/var/spool/mail:/sbin/nologin
turtleggjp:x:1000:1000::/home/turtleggjp:/bin/bash
ldap:x:439:439:added by portage for openldap:/usr/lib64/openldap:/sbin/nologin
messagebus:x:101:246:added by portage for dbus:/dev/null:/sbin/nologin


Doesn't look funky to me.

I'm about to do another installation on a different partition, this time without any special optimizations and using the stable amd64 arch. I'll see if things go better that way.

EDIT: New installation succeeded. Running strace on /bin/login, it appears to work normally (doing this all remotely, cannot try it locally right now). Used amd64 (stable) and -march=native (no special version of GCC). Going to try again using ~amd64.
Back to top
View user's profile Send private message
Turtleggjp
n00b
n00b


Joined: 24 Mar 2010
Posts: 18

PostPosted: Wed Jul 25, 2012 2:52 am    Post subject: Reply with quote

Just finished another new install (dang this Ivy Bridge system compiles fast, especially with MAKEOPTS="-j8"), this time using ~amd64 and whatever GCC comes with that (4.6.3 I think). I did the whole thing with -march=native, and login works just fine.

Back on the faulty system, I just tried doing another "emerge -e system" (non-desktop profile) without any -march flag set. No change. I'm going to try again, this time with GCC 4.6.3 instead of 4.7.1.
Back to top
View user's profile Send private message
Turtleggjp
n00b
n00b


Joined: 24 Mar 2010
Posts: 18

PostPosted: Thu Jul 26, 2012 2:51 pm    Post subject: Reply with quote

GCC 4.6.3 did not help, and neither did another emerge --sync followed by another emerge -e system. Really strange, shouldn't this system be pretty much identical to the new install I just did using just ~amd64 and no special GCC? I'm going to try again using GCC 4.7.1 and -march=core-avx-i. The drive I'm installing to is an Intel 520 series SSD (Sandforce controller) if that makes any difference.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6281

PostPosted: Thu Jul 26, 2012 3:03 pm    Post subject: Reply with quote

Just an idea, because this was the cause in another thread: Perhaps the lineends in some of your shadow files are in DOS format?
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Thu Jul 26, 2012 3:29 pm    Post subject: Reply with quote

mv wrote:
Just an idea, because this was the cause in another thread: Perhaps the lineends in some of your shadow files are in DOS format?

Turtleggjp,

Probably a real long-shot, but it's worth checking :?
Code:
hexdump -C /etc/passwd|grep 0d

_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum