Re: [lfs-support] passwd: Authentication token manipulation error

2016-09-13 Thread Rob
Douglas R. Reno  wrote:
> You'll need to run "pwconv" and "grpconv" in the Shadow page in LFS in
> order to get the /etc/shadow file.

Thanks, that fixed it. NOw we're logged in, but with new problems
which I'll post about separately.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] passwd: Authentication token manipulation error

2016-09-13 Thread Douglas R. Reno
On Wed, Sep 14, 2016 at 12:02 AM, Tim Tassonis  wrote:

> On 09/14/2016 06:06 AM, Douglas R. Reno wrote:
>
>>
>>
>> On Tue, Sep 13, 2016 at 10:36 PM, Rob > > wrote:
>>
>> Building LFS-7.10-Systemd
>> I installed linux-pam, reinstalled shadow, reinstalled systemd.
>> However, I must have missed a step somewhere, because it won't
>>  let me log in when I reboot.
>> I fired up my rescue system, chrooted into the LFS one. As root
>> "passwd"
>> , and got this:
>> "passwd: Authentication token manipulation error"
>> "passwd: password unchanged"
>> What did I miss?
>> --
>>
>
>
> As far as I remember this happens when there is no /etc/shadow. The
> problem is that, at least with DESTDIR installs, /etc/shadow is not created
> by any package. It has nothing to do with systemd, I had this on a normal
> system as well.
>
> Cheers
> Tim
>
>
You'll need to run "pwconv" and "grpconv" in the Shadow page in LFS in
order to get the /etc/shadow file. Just figured that out from DJ.

That is init system agnostic.

Douglas R. Reno
--LFS/BLFS systemd maintainer
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] passwd: Authentication token manipulation error

2016-09-13 Thread Tim Tassonis

On 09/14/2016 06:06 AM, Douglas R. Reno wrote:



On Tue, Sep 13, 2016 at 10:36 PM, Rob mailto:captinlo...@gmail.com>> wrote:

Building LFS-7.10-Systemd
I installed linux-pam, reinstalled shadow, reinstalled systemd.
However, I must have missed a step somewhere, because it won't
 let me log in when I reboot.
I fired up my rescue system, chrooted into the LFS one. As root
"passwd"
, and got this:
"passwd: Authentication token manipulation error"
"passwd: password unchanged"
What did I miss?
--



As far as I remember this happens when there is no /etc/shadow. The 
problem is that, at least with DESTDIR installs, /etc/shadow is not 
created by any package. It has nothing to do with systemd, I had this on 
a normal system as well.


Cheers
Tim

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] passwd: Authentication token manipulation error

2016-09-13 Thread Douglas R. Reno
On Tue, Sep 13, 2016 at 10:36 PM, Rob  wrote:

> Building LFS-7.10-Systemd
> I installed linux-pam, reinstalled shadow, reinstalled systemd.
> However, I must have missed a step somewhere, because it won't
>  let me log in when I reboot.
> I fired up my rescue system, chrooted into the LFS one. As root
> "passwd"
> , and got this:
> "passwd: Authentication token manipulation error"
> "passwd: password unchanged"
> What did I miss?
> --
>

Honestly, I don't think you missed anything. That sounds awfully familiar
to a problem that I didn't find a solution to. I think Bruce found the
problem on my system originally - I'm in the process of rebuilding it for
some updates... so I can take a crack at fixing it once I get to having to
build PAM. The other thing I can *suggest* is making sure that you have
your VFSes mounted (See "Preparing the Virtual Kernel File Systems" in LFS)
before going into chroot.

Can someone on a sysvinit system try it and see if they are having a
similar problem please? I know my problem used to exist over there too, but
I don't know if it does anymore.

I seem to remember having issues with cracklib installed as well.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] passwd: Authentication token manipulation error

2016-09-13 Thread Rob
Building LFS-7.10-Systemd
I installed linux-pam, reinstalled shadow, reinstalled systemd.
However, I must have missed a step somewhere, because it won't
 let me log in when I reboot.
I fired up my rescue system, chrooted into the LFS one. As root
"passwd"
, and got this:
"passwd: Authentication token manipulation error"
"passwd: password unchanged"
What did I miss?
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] systemd compilation documentation missing a step

2016-09-13 Thread prime gonzola




From: Bruce Dubbs
Sent: Monday, September 12, 2016 21:40
To: LFS Support List
Subject: Re: [lfs-support] systemd compilation documentation missing a step

Douglas R. Reno wrote:
> On Mon, Sep 12, 2016 at 12:25 PM, Bruce Dubbs  wrote:
>
>> prime gonzola wrote:
>>
>>>
>>> From: Bruce Dubbs Sent: Monday, September
>>> 12, 2016 04:22 To: LFS Support
>>> List Subject: Re:
>>>
>>> [lfs-support] systemd compilation documentation missing a step
>>>
>>> prime gonzola wrote:
>>>
 Hello,

 I am using the system version 7.10. After unpacking the sources
 system-231, the documentation states you need run configure. That
 file does not exist i.e. you need to run autogen.sh first which will
 generate the configure file.

 The documentation does not mention this step as far as I remember
 and see at
 http://linuxfromscratch.org/lfs/view/stable-systemd/chapter0
 6/systemd.html

>>>
>>>
 Did you check the md5sum?
>>>
>>> $ md5sum systemd-231.tar.xz 2647855c8f9cdf824953f1091db2d2b2
>>> systemd-231.tar.xz
>>>
>>> $ tar -tf systemd-231.tar.xz|grep configure systemd-231/configure
>>> systemd-231/configure.ac
>>>
>>> -- Bruce
>>>
>>> No I did not and should have, my bad. After backtracking I found that I
>>> downloaded the version from the  mentioned homepage at
>>> http://www.freedesktop.org/wiki/Software/systemd/ Instead of
>>> downloading it from linuxfromscratch.org. Upgrading from sysv version
>>> to the system version and I did not check.
>>>
>>> Sorry for wasting your time on something that obvious and I should have
>>> known better as the sysv manual was perfect. I am very new to the Linux
>>> community so I assumed version numbers are key especially coming from
>>> the official site. Does this mean that someone took the official
>>> version, repacked it for LFS specific?
>>>
>>
>> I'm not sure.  I don't do systemd, but I think the upstream version is raw
>> and the package on anduin is repackaged just to include configure.
>>
>> Douglas, should we be doing that?  It would be more consistent to just run
>> autogen.

> No, we have to generate our own because of the following files being
> included:
>
> README.md \
> .dir-locals.el \
> .editorconfig \
> .vimrc \
> .ycm_extra_conf.py \
> .travis.yml \
> .mailmap
>
> Also, the raw upstream tarball does not come with any documentation
> (including man pages). We have to generate those as well.

Thanks for reminding me.  The real reason is the man pages.  Within LFS we
do not have the tools to create them.  Those are in BLFS.

   -- Bruce

Thanks for clarification and insight!

Prime
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style