LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bedrock Linux
User Name
Password
Bedrock Linux This forum is for the discussion of Bedrock Linux.

Notices


Reply
  Search this Thread
Old 05-05-2018, 04:38 PM   #1
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
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.
 
Old 05-21-2018, 11:29 AM   #2
ParadigmComplex
Bedrock Linux Founder
 
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 179

Rep: Reputation: Disabled
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.
 
Old 05-22-2018, 09:01 PM   #3
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651

Original Poster
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
Quote:
Originally Posted by ParadigmComplex View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not chdir to home directory /home/portssh.com-agus9329:no such file or directory Agus9329 Linux - Server 1 04-14-2018 02:45 PM
Login Error- Could not chdir to home directory /home/UserID: No such file or directory abhi_jais Linux - Newbie 1 03-24-2018 12:01 PM
"Home directory already exists. Please enter another home directory path." Daravon Ubuntu 2 02-15-2009 10:26 PM
contents of 'home' directory found at sda5: mounted as /home, and also on sda6:/home leswatson Linux - Newbie 4 04-18-2008 04:02 PM
The peer's stratum is less than the host's stratum. (NTP) procfs Linux - General 2 04-17-2006 09:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bedrock Linux

All times are GMT -5. The time now is 02:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration