Bug 823903

Summary: Installation should not create certain mount points in /etc/fstab any longer
Product: [openSUSE] openSUSE Tumbleweed Reporter: Cristian Rodríguez <crrodriguez>
Component: InstallationAssignee: Thomas Fehr <fehr>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: jsuchome, rmilasan
Version: 13.1 Milestone 1   
Target Milestone: ---   
Hardware: All   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Cristian Rodríguez 2013-06-07 11:58:47 UTC
Hi:

Since the inception of systemd, it is no longer required or even recommended to add

/proc
/sys
/sys/kernel/debug
/dev/pts

You *must* let systemd handle those or any other mount point defined here
http://cgit.freedesktop.org/systemd/systemd/tree/src/core/mount-setup.c#n71

line 71, static const MountPoint mount_table[]

Ideally it must also remove those mount points from already installed systems if possible, but I am only hoping for new installs atm.
Comment 1 Thomas Fehr 2013-06-10 06:26:55 UTC
I committed version 2.24.2 of yast2-storage that includes the change.
It does not create the entries during new installation and removes them
during an update.
I added /proc/bus/usb to the list of directories to remove because it is 
added when an USB controller is detected and it hardly makes sense to 
have  /proc/bus/usb mounted via fstab when /proc itself is mounted by
systemd.
Comment 2 Cristian Rodríguez 2013-06-10 11:18:09 UTC
(In reply to comment #1)
> I committed version 2.24.2 of yast2-storage that includes the change.
> It does not create the entries during new installation and removes them
> during an update.
> I added /proc/bus/usb to the list of directories to remove because it is 
> added when an USB controller is detected and it hardly makes sense to 
> have  /proc/bus/usb mounted via fstab when /proc itself is mounted by
> systemd.

By "remove them on update" I guess you mean if the upgrade is done by Yast instead of zypper dup right ? if so, we need to update the release notes and instruct to manually remove those mount points from the file.
Comment 3 Thomas Fehr 2013-06-10 11:35:33 UTC
(In reply to comment #2)

> By "remove them on update" I guess you mean if the upgrade is done by Yast
> instead of zypper dup right ? if so, we need to update the release notes and
> instruct to manually remove those mount points from the file.

Yes, since the removal from fstab happens within code of yast2-storage it can only
do the removal if yast2-storage code is executed. Upgrades with "zypper dup" 
would therefore keep /etc/fstab untouched unless someone does teh removal
in an RPM postinstall script.
Comment 4 Bernhard Wiedemann 2013-06-11 04:00:42 UTC
This is an autogenerated message for OBS integration:
This bug (823903) was mentioned in
https://build.opensuse.org/request/show/178512 Factory / yast2-storage
Comment 5 Arvin Schnell 2013-10-09 11:26:17 UTC
*** Bug 844917 has been marked as a duplicate of this bug. ***