home directory disapeared after disabling a stratum
Bedrock LinuxThis forum is for the discussion of Bedrock Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.