From: "Vladimir V. Saveliev" <vs@namesys.com>
To: sergey ivanov <seriv@parkheights.dyndns.org>
Cc: reiserfs-list@namesys.com
Subject: Re: reiser4 problem with pam_mktemp
Date: Wed, 10 Aug 2005 16:14:06 +0400 [thread overview]
Message-ID: <42F9EF8E.8050403@namesys.com> (raw)
In-Reply-To: <42F97768.5010602@parkheights.dyndns.org>
Hello
sergey ivanov wrote:
> Hi Vladimir,
> pam_mktemp can work on filesystem which does not support ext2's file attributes.
> For example, it works well on tmpfs.
> For pam_mktemp to recognize the case and work without attributes,
> the filesystem should return 'ENOTTY' (Inappropriate ioctl for device)
> as a result of an setting/getting attributes call, as it tmpfs does.
> But reiser4 returns 'ENOSYS' (Function not implemented).
> Will you accept patch changing this code to 'ENOTTY'?
yes
> Sergey
>
> Vladimir V. Saveliev wrote:
>
>
>>Hello
>>
>>sergey ivanov wrote:
>>
>>
>>>I have a problem with reiser4.
>>>Recently I have installed Altlinux Compact-rc2 on reiserfs (v3.6),
>>>patched kernel 2.6.12 with patch 2.6.12-mm2, created new reiser4
>>>partition hda6 and copied by #cp -ax / /mnt/hda6 there. Fixed /etc/fstab
>>>and /boot/grub for new partition and booted. And could not login, with
>>>messages in virtual consoles :
>>>---
>>>
>>>pam_tcb[8386]: login: Authentication passed for root from (uid=0)
>>>Login incorrect
>>>---
>>>So I rebooted in original on reiserfs 3.6, edited
>>>/mnt/hda6/etc/inittab to change one of "/sbin/mingetty tty6" to be
>>>"/bin/bash" and after reboot to reiser4 based system saw, that the
>>>problem in pam_mktemp, by commenting out string # account required
>>>pam_mktemp.so
>>>in file /etc/pam.d/system_auth the problem get fixed. Also it get
>>>fixed if I create some non-reiser4 partition to place /tmp on it.
>>>
>>
>>Thanks for the report.
>>The problem is that reiser4 does not support ext2's file attributes
>>pam_mktemp deals with.
>>
>>Maybe reiser4 should have support for that like reiserfs, but now it
>>does not.
>
>
>
>
>
next prev parent reply other threads:[~2005-08-10 12:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-28 16:29 reiser4 problem with pam_mktemp sergey ivanov
2005-07-31 13:34 ` Vladimir V. Saveliev
2005-08-10 3:41 ` sergey ivanov
2005-08-10 12:14 ` Vladimir V. Saveliev [this message]
2005-08-11 11:01 ` sergey ivanov
2005-08-12 0:42 ` michael chang
[not found] ` <42FB2F04.7090003@parkheights.dyndns.org>
[not found] ` <42FC702D.8070802@namesys.com>
2005-08-12 10:55 ` sergey ivanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42F9EF8E.8050403@namesys.com \
--to=vs@namesys.com \
--cc=reiserfs-list@namesys.com \
--cc=seriv@parkheights.dyndns.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.