Comments (5)
from tuigreet.
Hi,
As far as I know, there shouldn't be any runtime dependency on anything other that on libc
(through the uzers-rs
crate).
The tests (and only the tests) that are behind the nsswrapper
feature, on the other hand, use libnss_wrapper
to mock responses from NSS (so we do not have to rely on actual users being present in the test environment).
You can see how it is being used here in the workflow.
I recognize, though, that I should update the README to reflect this information, which is not obvious at all. I apologize for this and will update it as soon as possible.
I remain available to help you through getting the tests to pass, in the meantime.
from tuigreet.
I added some instructions in the README as to how to run the whole test suite. Please keep me posted if they are enough of if you feel you need more information.
from tuigreet.
Thanks for the explanation and additional docs. So if I understand correctly this is only a testing dependency, not a run time dependency. Since we don't have libnss_wrapper
packaged it isn't easy to run that test, but it seems like it's reasonably safe to skip it. Not 100% safe obviously but probably not a great loss on the packaging side since it isn't a true integration test anyway.
from tuigreet.
Indeed, it is only a test dependency.
Relatively safe, well that depends on the point of view, the feature calls into unsafe code (FFI to libc
) on startup. So technically, it could segfault and prevent the program from working.
Now I do not know a perfect solution here, putting a precompiled shared library in the repository seems a bit shady, and I would prefer not to do that.
from tuigreet.
Related Issues (20)
- --remember* options is not working. /var/cache/tuigreet is empty HOT 4
- Feature request: sort sessions
- Messy output when using reboot/shutdown HOT 8
- Feature request: Support setting a colour scheme HOT 1
- Backlight hotkeys produce typed characters HOT 6
- tuigreet often freezes on login to swaywm with "Please wait" HOT 7
- cursor for the password positioned too low after commit 66b82c7d0e3545ae1be2030d6c59d9baa4783bf6 HOT 4
- tuigreet doesn't show prompt text to fingerprint for fprint with '--user-menu' flag HOT 6
- Add support to background images HOT 1
- Inconsistent command/session HOT 5
- Blank CMD and password in the log messages HOT 4
- Provided session not selected by default HOT 5
- [Feature Request?] Set different keys for CMD, POWEROFF...
- The --remember-user-session flag stopped remembering the session in v0.9.1 HOT 4
- Only first component is colored according to theme spec HOT 2
- Allow specifing session type for --cmd session HOT 4
- No session mode (that launches console) HOT 4
- /etc/issue coloring not showing HOT 11
- formatting issue HOT 3
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 tuigreet.