-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs/WSL] : path to native host command in batch file #115
Comments
This is intentional. It's not supposed to be in Could make a reasonable argument for putting it in |
hi @erayd cc: @maximbaz i see your point but there are numerous instances throughout the documentation that suggest but a very notable error would be here at the instructions for installation through WSL. the batch file that calls browserpass is looking for it in /usr/bin
i'd be happy to go through the docs and make a PR with the necessary changes, but... this doesn't seem to be standard through all distros. as far as i can tell, all other distro's packages install to some links to distro package listing/specsbut
and
possible solutions
let me know your thoughts! |
Are you able to give some examples? I did a quick search through the README, but was unable to find any instances of this. If there are such, then a PR to clarify it would be helpful 🙂.
It ultimately depends on what the packager for the distro in question has decided to do. It doesn't surprise me that they are inconsistent, unfortunately. This binary shouldn't be in a
Given that the XML files which refer to the native host binary contain an absolute path, we probably shouldn't be moving it on any system with an already-existing package. That will simply break things for users. However, it could be useful to document more clearly where new packages ought to be installing it to. WSL is a bit of an odd case - I think our documentation should probably advise the user to follow the guidelines for whatever distro they are using with WSL. However, if you have other suggestions for how best to handle this, they are most welcome! |
just one thing i wanted to quickly comfirm, i'll respond at length later
which files exactly? are you referring to these or a file in browserpass/browserpass-extension ? (if the latter, a link to the file is appreciated) in transit 🚈 |
/usr/bin
Yes - specifically, to the |
Hello! I agree with the arguments that we shouldn't change the location of the binary. The binary can be run with The path for WSL instructions in README originally came from here, but I can see why it's wrong, sure let's fix it to be correct. Especially because you use WSL, so we trust your experiences 😉
It actually already does so 😉
|
hey folks! @erayd @maximbaz 😄
i was wrong about the scale.
not opening a PR, but i added comments in source [see] if viewing in the context of the files is preferrable. full length comments are here in this comment
here, this seems to instruct running as a binary present in $PATH. and it does not account for the fact that the binaries are named
i don't believe it's clear enough in the issue template. and i was not able to find the other instance, but copying from there would be good
i don't think the
the path for the binary would vary for each distro and hence the following exchange
but these are from the instructions for creating a bat file. not for installation of
i tried building manually master @ d73f45c using Docker, and
to be honest, i do not see why not. would it not be a simple matter of updating the corresponding .json files? (looking to learn) i have often seen Debian prompt me that the distribution has shipped a new version of a configuration file that i have changed locally and offer options for upgrading it; my memory is a bit fuzzy, but i believe i noticed something similar on Manjaro as well possible solutions
looking forward to hearing your thoughts! footnotes[1] a work around would be to use user-level config files, but i do not know if it's that practical. after all this is configuration for the browser application itself. possible that one user would use WSL, while other would use native Windows tools.....but to what extent this is a valid scenario, i cannot say. might be simpler to configure it in the browser extensions |
General information
$ browserpass --version
):/usr/lib/browserpass-native # -> 3.0.7
3.7.2
Exact steps to reproduce the problem
apt install --no-install-recommends -y webext-browserpass ### on Debian, as root
What should happen?
binary file (
browserpass-native
) should be installed/symlinked to/usr/bin
(or/usr/local/bin
)What happened instead?
binary file (
browserpass-native
) exists only in/usr/lib/browserpass/browserpass-native
additional stuff
The text was updated successfully, but these errors were encountered: