SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Rep:
I think you may have to edit every single SlackBuild to change ARCH:
-----------
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
i?86) ARCH=i586 ;;
arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$(uname -m) ;;
esac
export ARCH
fi
---------
ARCH=i586 to ARCH=i686
If you may do it by hand, with awk/sed it should be possible?
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Rep:
regression test up to "Fri Jan 18 04:39:25 UTC 2019": pb with liblastfm
---------------------------
liblastfm-1.0.9/demos/demo1.cpp
liblastfm-1.0.9/demos/demo3.cpp
liblastfm-1.0.9/demos/demo2.cpp
liblastfm-1.0.9/CMakeLists.txt
liblastfm-1.0.9/README.md
CMake Error: No source or binary directory provided
make: *** No targets specified and no makefile found. Stop.
make: *** No targets specified and no makefile found. Stop.
---------------------------
same problem on Slackware and SFS.
Is anyone else having troubles with "su" on Slackware-current?
Action in past (as superuser): su - username
Result: logged in as username
Slackware-current as of Friday, 20190118: su - username
Result: if called from terminal, requests password. If called from script stops dead in terminal used.
I can't find this problem on the net and have run out of places to look. Advice needed.
I only run -current on ARM and need to update it, but first I need to change the SDCard on the test box. Will try to replicate this, although I don't have PAM.
You're welcome. I know it doesn't that's why I put if in front of the question (not a statement).
Work on PAM has been done: http://www.slackware.com/~vbatts/pam/
And is still ongoing, unofficially: https://github.com/Dlackware/pam
I asked about PAM, because of the nature of this thread (development, testing, goofin' around) and unable to "find this problem on the net" myself, but only the link I provided, related to PAM.
Now, I did change the SDCard on my Raspberry Pi running Slackware ARM -current, the old card went read-only - complete failure, updated the system and was unable to replicate your reported issue, whatever I tried, neither in console, nor in a script. Which leads me to believe that you might have some issues on your system: /etc/passwd* or data corruption related.
Try switching the user by also providing the shell type:
Code:
/bin/su - username -s /bin/bash
and see if it works, if positive, check your /etc/passwd* for inconsistencies.
If negative, I'd suggest to start a new thread dedicated to this, authentication issues are serious issues and need further investigation.
P.S. To exclude bash, as nobodino has apparently found some issues with it, try:
Code:
/bin/su - username -s /bin/sh
Last edited by abga; 01-20-2019 at 02:14 AM.
Reason: P.S.
Your /etc/password entry is valid and I'm happy you found out that bash 5.0 was causing the issue.
Don't know how could bash cause such an issue, by not passing the right arguments to su (which is part of the shadow package)?
Try running a strace as root under bash 5.0:
Code:
mkdir /tmp/trace && cd /tmp/trace
/usr/bin/strace -o bash-du-trace -ff su - sfs
exit
# and inspect the bash-du-trace.* files in /tmp/trace
and see if you can catch something. Prepare a second tty to be able to kill the strace as it might get the tty locked.
Last edited by abga; 01-20-2019 at 07:27 PM.
Reason: typo + proper strace
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.