LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Bedrock Linux (https://www.linuxquestions.org/questions/bedrock-linux-118/)
-   -   home directory disapeared after disabling a stratum (https://www.linuxquestions.org/questions/bedrock-linux-118/home-directory-disapeared-after-disabling-a-stratum-4175629103/)

jr_bob_dobbs 05-05-2018 04:38 PM

home directory disapeared after disabling a stratum
 
So I added an Arch stratum the other day. Nice to get a few programs in that I'd not been able to before. Today I wanted to disable Arch temporarily, so I used brs.
Code:

brs disable arch
Then my user's home directory disappeared. Well, it didn't actually disappear, but it was no longer at /home/<myusername>. That's a new one. Didn't expect that

I immediately rebooted and all was fine. To the best of my knowledge, the arch stratum is there in the correct way, with a directory in /bedrock/strata/arch and and entry in /bedrock/etc/strata.conf.

Has anyone else had this happen?

Thank you.

ParadigmComplex 05-21-2018 11:29 AM

Apologies for not getting to this earlier. My notifications for LQ seem to have stopped working for some reason? Poking around the options I don't see where I set notifications for new threads in the Bedrock Linux forum. I'll have to keep looking and fix that.

Sounds like you've found a bug in `brs disable`. I've not tested it with `/home` as its own partition, which I think is how you're set up, and might explain why I've not seen that myself. Reviewing the relevant bit of code it looks like it *should* handle it correctly, though. I'm not entirely sure what's going on.

If it's a big problem for your workflow, I can investigate further and try to fix it. If it's not, I'm inclined to leave it as an open issue. The relevant bits of code will be completely rewritten for the upcoming release, and I'd rather spend the time getting it right there.

jr_bob_dobbs 05-22-2018 09:01 PM

Quote:

Originally Posted by ParadigmComplex (Post 5857534)
Sounds like you've found a bug in `brs disable`. I've not tested it with `/home` as its own partition, which I think is how you're set up, and might explain why I've not seen that myself. Reviewing the relevant bit of code it looks like it *should* handle it correctly, though. I'm not entirely sure what's going on.

Yes, /home is its own partition.
Quote:

If it's a big problem for your workflow, I can investigate further and try to fix it. If it's not, I'm inclined to leave it as an open issue. The relevant bits of code will be completely rewritten for the upcoming release, and I'd rather spend the time getting it right there.
Understood: I agree that the planned new version is the priority. :) Enabling and disabling strata on he fly like that is not something I usually do, so avoiding the problem is not really a big deal.


All times are GMT -5. The time now is 09:06 PM.