Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

(SOLVED) proc line in fstab

Refracta Development, Scripts, etc.

(SOLVED) proc line in fstab

Postby vsido » Fri Jan 27, 2017 3:40 pm

Is there a reason this line is still added to fstab on installations?

Code: Select all
proc                  /proc   proc   defaults   0   0


It is deprecated as stated in the Debian fstab wiki:

It is not necessary to list /proc and /sys in the fstab unless some special options are needed. The boot system will always mount them.


It raises hell with systemd when you add anything new to fstab after installations and removing that line eliminates a 90 second delay for a Start Job on bootup ... You can read about the issue here and also here at VSIDO
Last edited by vsido on Mon Jan 30, 2017 4:42 pm, edited 1 time in total.
User avatar
vsido
 
Posts: 90
Joined: Fri Jan 30, 2015 3:38 pm

Re: proc line in fstab

Postby fsmithred » Fri Jan 27, 2017 5:29 pm

Thanks! You'll see that change in the next version. Meanwhile, change
Code: Select all
echo -e "proc\t\t/proc\tproc\tdefaults\t0\t0
$install_part\t/\t$fs_type_os\tdefaults,noatime\t0\t1" >> /target/etc/fstab

to this:
Code: Select all
echo -e "$install_part\t/\t$fs_type_os\tdefaults,noatime\t0\t1" >> /target/etc/fstab


Do I need to add a "Make no fstab" option for the systemd users?
User avatar
fsmithred
 
Posts: 2081
Joined: Wed Mar 09, 2011 9:13 pm

Re: proc line in fstab

Postby vsido » Fri Jan 27, 2017 5:49 pm

Thank you...

No I do not think a new option is necessary.. it looks like that is the only line that matters from a fstab and systemd perspective... every systemd user is stating that removing that line is the easiest solution

I appreciate this fsmithred
User avatar
vsido
 
Posts: 90
Joined: Fri Jan 30, 2015 3:38 pm

Re: proc line in fstab

Postby nadir » Fri Jan 27, 2017 8:02 pm

Are you saying that systemd doesn't use fstab?

... ah, does use it, put proc gives problems?
(but then: what doesn't give problems?)
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1160
Joined: Wed Mar 09, 2011 4:18 am
Location: here

Re: proc line in fstab

Postby vsido » Fri Jan 27, 2017 9:14 pm

Yes nadir. The unneeded proc line causes systemd to pause 90 seconds at boot doing a Start Job because it knows proc is not necessary

Not sure what you mean by the last statement
User avatar
vsido
 
Posts: 90
Joined: Fri Jan 30, 2015 3:38 pm

Re: proc line in fstab

Postby fsmithred » Fri Jan 27, 2017 9:58 pm

Systemd is moving toward having no fstab. It might even be optional at this point. I don't know. I've read about it in the past, but I don't have any links. Maybe LP's blog.
User avatar
fsmithred
 
Posts: 2081
Joined: Wed Mar 09, 2011 9:13 pm

Re: proc line in fstab

Postby vsido » Sat Jan 28, 2017 12:11 am

Thanks fsmithred... am building a test ISO now with the changes
User avatar
vsido
 
Posts: 90
Joined: Fri Jan 30, 2015 3:38 pm

Re: proc line in fstab

Postby vsido » Sat Jan 28, 2017 12:29 am

Still getting the proc line added to fstab even after adding that...

I verified it was correctly edited in refractainstaller-yad (on the installed medium)

This is editing and using refractainstaller-yad
User avatar
vsido
 
Posts: 90
Joined: Fri Jan 30, 2015 3:38 pm

Re: proc line in fstab

Postby nadir » Sat Jan 28, 2017 7:11 am

vsido wrote:Not sure what you mean by the last statement

That is easy: i meant that there is no need to dig deep for problems in systemd, as the obvious ones are more than enough.
Most of the time you will get told that it is a) a feature or b) that it can be configured (or usually you will be called a troll with no clue).
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1160
Joined: Wed Mar 09, 2011 4:18 am
Location: here

Re: proc line in fstab

Postby vsido » Sat Jan 28, 2017 8:42 am

I dig deep at all issues no matter the politics or BS behind it and give no shits to anyone disagreeing .. If people do not want or like systemd, that's their issue not mine 8-)
User avatar
vsido
 
Posts: 90
Joined: Fri Jan 30, 2015 3:38 pm

Next

Return to Discuss

Who is online

Users browsing this forum: No registered users and 0 guests

cron
suspicion-preferred