LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 09-09-2020, 09:41 AM   #1
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Note for maintainers: util-linux tests and new "tester" user


I'm posting this here because I'm no longer on the LFS mailing lists. Hopefully someone will see it and pass it on.

LFS 10.0 uses a specialised "tester" user for non-root tests instead of "nobody" as before. This is set up early in chroot. The UID is obtained from the ownership of the current terminal. But since we are root, this UID is 0.

The util-linux tests refused to run under su tester because the UID was 0. I edited /etc/passwd to reset the tester UID to 9 and the tests then ran successfully.
 
Old 09-10-2020, 05:02 PM   #2
hendrickxm
Member
 
Registered: Feb 2014
Posts: 344

Rep: Reputation: Disabled
I added the user tester after building shadow in the final system. I don't think the user tester is used before the final gcc tests, so this seems an easy fix for it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apr-util, one third of the tests fail jr_bob_dobbs Linux From Scratch 2 01-22-2018 05:11 PM
Note about the "ethernet cable" q... what's "kernel" and what's "not" sundialsvcs Linux - Kernel 0 12-01-2012 11:45 PM
[SOLVED] Are the programs in util-linux the same version as those in util-linux-ng? harryhaller Slackware - Installation 2 10-07-2011 09:43 AM
MIDI keyboard note-on and note-off inverted jakykong Linux - Software 0 08-21-2010 03:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 09:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration