Project

General

Profile

Actions

Bug #1467

closed

Perm problems after a 2.2.1 -> HEAD transition

Added by Anonymous about 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Salute.

I did a fresh/clean install of a 2.2.1 dfly release and none of the problems I'm
going to describe were present. I, then, did a git pull to get the latest
sources from master, built kernel/world, installed kernel/world, did a make
upgrade and rebooted. And:

  • I was unable to start X as normal user. The script kept dieing with:
    'Cannot move /var/log/Xorg.0.log to /var/log/Xorg.0.log'. The Xorg binary
    had the right ownership:group and its suid bit was set. I was able to run X
    as root.
  • chsh failed when invoked as a normal user, with this:
    chsh: pw_tmp(): Permission denied. My /usr/bin/chsh has the right
    owenership:group and its suid bit was set. I was able to use chsh as root.
  • passwd failed when invoked as a normal user, with this:
    passwd: pam_chauthtok(): error in service module
    passwd: in pam_sm_chauthok(): pw_tmp() failed
    My /usr/bin/passwd has the right owenership:group and its suid bit was set.
    I was able to use passwd as root.

ktrace'ing chsh or passwd with and without -i doesn't return anything relevant
at all. The last lines are:

ktrace    CALL    execve(addr, addr, addr)
ktrace NAMI "/usr/bin/passwd"
ktrace NAMI "/usr/libexec/ld-elf.so.2"

Best regards,
Stathis

Actions

Also available in: Atom PDF