/proc/self/loginuid

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
cparke
White ninja
White ninja
Posts: 10
Joined: 14 Jul 2024, 21:09
Distribution: Porteus KDE

/proc/self/loginuid

Post#1 by cparke » 15 Jul 2024, 03:26

I am using Porteus v5.01 KDE edition.

For some reason, even though /etc/pam.d/kde (and all the other files in the /etc/pam.d directory for that matter) has a 'session required pam_loginuid.so' entry, nevertheless there is no '/proc/self/loginuid' pseudo-file at all!

This is a problem for me, as I have an application that uses this pseudo-file and crashes without it!

Any idea why this Linux pseudo-file isn't present? (I've read elsewhere that Kernel build flag CONFIG_AUDITSYSCALL, set by CONFIG_AUDIT=y in the Makefile, may be a reason)

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4290
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

/proc/self/loginuid

Post#2 by ncmprhnsbl » 15 Jul 2024, 05:01

can confirm.
cparke wrote:
15 Jul 2024, 03:26
Any idea why this Linux pseudo-file isn't present? (I've read elsewhere that Kernel build flag CONFIG_AUDITSYSCALL, set by CONFIG_AUDIT=y in the Makefile, may be a reason)
if it is the CONFIG_AUDIT= kernel build setting causing this, it would appear that porteus kernels have typically been built without this set. we might have to try that.
(there is CONFIG_HAVE_ARCH_AUDITSYSCALL=y ..that might be unrelated..)

..looking further, you might need the package: audit as well (can be got from salix)
and to quote from here: https://slackware.nl/slakfinder/show.php?pkg=2638731
The audit subsystem, which is not enabled in stock Slackware kernels
must be enabled and the kernel rebuilt in order to use auditd
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply