-
Notifications
You must be signed in to change notification settings - Fork 1
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
Crypto-sdcard does not work on 4.4.0.72 / Sony Xperia 10 II #248
Comments
Your conclusions in [EDIT3] are correct, most of the others are not. [EDIT4] is likely due to not retracing what Still you better start anew with the current guide on USB-attached media and check if that works with Also create an unencrypted partition on that media and check if this becomes auto-mounted on boot, with and / or without P.S.: A lengthy reply on an abstract level was already provided. Please follow it, and then come back here with answers and likely more and potentially better questions. P.P.S.: For other readers: While this is a continuation of issue #115, I requested to separate these tests, debugging tries and questions which arise from that. |
Context? I.e., why do you think this matters? |
Actually seems not to matter after checking. When simply rebooting I am probably not fast enough to catch details with journalctl. Tried to trigger using udevadm, I see the systemd attempt to start cryptosd-luks@a203bea7\x2d6722\x2d431c\x2da423\x2df4f742052c6b.service' I will try tomorrow
Thanks for your help and patience. I am a fast learner but there are quite a few elements to acquire to start and be efficient :-) |
Then make the journal persistent. But better stop testing via reboots. Do use hotplugging, until you are fine with that (i.e., you fully understand what is going on). |
I meant in udev/rules.d/96-cryptosd.rules in branch sfos401, see below the line 9
I have an issue with testing on plug-in as I do not have a usbc adapter for my new xperia 10 II yet. |
Sorry, I am overworked and did not read well enough: This is why I love links, they are unambiguous. How to make them point to a specific line or section, see small text below. Technically: It is only a comment, the path is irrelevant, it is the file which is meant to be referenced. It is intended to trigger a reader to look at this or If you click on the line numbers or manually append
Amazon etc. offers them for a few €. They are quite handy, at attach USB-A hardware, not only sticks (in theory a keyboard, printer etc. should work with a bit of configuration of SailfishOS, a keyboard maybe even without configuring anything).
Yes, all this is independent of the CPU-architecture. Hey, take your time, do not rush things. This has been lying around stale for more than a year, a couple of days will not make any difference. And you are too fast for me. 😉 |
Actually seems not to matter after checking. When simply rebooting I am probably not fast enough to catch details with journalctl. Tried to trigger using udevadm, I see the systemd attempt to start cryptosd-luks@a203bea7\x2d6722\x2d431c\x2da423\x2df4f742052c6b.service' I will try tomorrow
Thanks for your help and patience. I am a fast learner but there are quite a few elements to acquire to start and be efficient :-) [Edit] As I am back to work, I have less time to spend - not giving up nonetheless |
HI I just got a bit of time tonight, while waiting for the delivery of a USB-micro <-> USBC adapter:
I noticed that there are concomitant selinux messages, hence I believe I have to look at the policies - a new topic to learn ... [EDIT]
|
👍
That is O.K., though I may have to look up some words (or ask you).
Good luck, then we can chat again in a couple of months earliest. 😉
If "pertinent" means "relevant": No. Do try to execute things which do not work by hand. If you use the units look at their status with BTW, starting and stopping them by hand ( Take a look at the Please do read man-pages, the systemd-documentation at freedesktop.org and my documentation here. Please ask after you have searched and read thoroughly. |
Hi
here are my attempts, a bit in disorder so far - moved from https://forum.sailfishos.org/t/automatically-mount-encrypted-sd-card/12023/10
[EDIT]
check the file, it is same as the one install by the package.
I retry the instructions in case I missed something.
[EDIT 2] I have run
Checks
Nothing about crypto in journalctl -r
tried to force cryptosd-luks@ service
Result:
continue looking at that until I am too tired and restore the luksHeader and mount it by hand 😀
[EDIT 3] I understand it is supposed to be activated by udevd (case 3) and is a template unit (case 4) looking at udev.
Progressing : generate escaped service name
When trying to start it
Pertinent details - I hope -
I conclude from the fact I did not find any mention to crypto that it might have not fired.
I need to find what dependency issue that may be.
[EDIT 4]
Looking at dependencies that I can't find
Apparently related
Stopping for tonight.
I mount my SD by hand, I try at least.
I will continue tomorrow, @olf , AM I on the right way ?
[EDIT 5]
progressing in understanding ... but slowly.
I umounted m SD card and LuksClose the partition then retried starting the crypto-luks service
I try to understand why the device is said not active.
Now what I do not get well - still learning -
/usr/lib/udev/rules.d/60-persistent-storage.rules does not exist on my phone
a file with same name exists as /lib/udev/rules.d/60-persistent-storage.rules.
At the moment : I try and read to understand how the device is detected and fields filled-in.
The text was updated successfully, but these errors were encountered: