Comments (10)
See also Scribery/tlog#78.
from meta.
A (rather burdensome) workaround can be for user to set up pam_env themselves.
from meta.
The pam_env workaround can be putting this into /etc/pam.d/system-auth
:
session required pam_env.so readenv=1 envfile=/etc/locale.conf
Putting it before this line seems to work:
session required pam_limits.so
from meta.
I started a discussion of locale environment setup in Fedora on [email protected]:
https://lists.fedoraproject.org/archives/list/[email protected]/thread/37B7RLKU5JYKUK46ANTUADNRGELW6U7O/
from meta.
There was no response to the message on Fedora devel maillist.
from meta.
Getting in touch with PAM maintainers next.
from meta.
Tomas Mraz, the PAM and authconfig maintainer in Fedora seems to be fine with the PAM-based fix as long as the format of /etc/locale.conf is within what pam_env.so expects. I raised systemd-devel to check, and run the whole idea past them.
from meta.
Another approach could be letting the systemd and login pass the locale environment variables read and set by systemd-logind.
First these lines need to be removed from the /lib/systemd/system/[email protected] file:
# Unset locale for the console getty since the console has problems
# displaying some internationalized messages.
Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION=
And the following line in the same file:
ExecStart=-/sbin/agetty --noclear %I $TERM
needs to be changed to this:
ExecStart=-/sbin/agetty -o "-p -- \u" --noclear %I $TERM
from meta.
A fix for the above was submitted to systemd: systemd/systemd#6023
from meta.
Discussion with systemd upstream is still ongoing, but we have the fallback path of the PAM configuration.
from meta.
Related Issues (17)
- Support configuring session recording locally in SSSD HOT 8
- Consider normalizing recorded terminal I/O HOT 1
- Implement client-side setup with Ansible HOT 1
- Setup a blog with updates on the project HOT 4
- Make sure session recordings can be correlated with Kubernetes audit logs
- Consider log synchronization to on-host playback HOT 2
- Engage OpenShift and/or CloudForms regarding integration
- Engage FreeIPA team regarding planning integration HOT 2
- Demo project of JS-Player
- Implement session list Kibana dashboard
- Develop audit record/field description structure together with audit team
- Implement session recording and playback support in Cockpit HOT 14
- Investigate possibility of logging to PostgreSQL HOT 1
- Contribute normalization and mapping to ViaQ HOT 4
- Consider implementing playback on top of OpenShift
- Support jump-server configuration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meta.