Bug 10350

Summary: Diskdrake removes tmpfs lines in fstab when adding nfs shares
Product: Mageia Reporter: Morgan Leijström <fri>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal    
Version: 3   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: diskdrake; drakxtools 15.54-1.mga3 CVE:
Status comment:

Description Morgan Leijström 2013-05-29 21:10:56 CEST
Configured NFS using MCC
Wise of the history it had on mangling fstab, i checked and found a new variant:

__Fstab before: (I have earlier added the tempfs lines manually, and edited parameters for SSD optimisation
)
/dev/vg-mga/root / ext4 acl,noatime,nodiratime,discard 1 1
# Entry for /dev/sda1 :
UUID=a9732e58-794e-45af-9740-bbb714ed23ca /boot ext4 acl,noatime,nodiratime,discard,errors=remount-ro 1 2
/dev/vg-mga/home /home ext4 acl,relatime,errors=remount-ro 1 2
/dev/vg-mga/morgan /home/morgan ext4 acl,relatime,errors=remount-ro 1 2
none /proc proc defaults 0 0
/dev/vg-mga/var /var ext4 acl,noatime,nodiratime,discard,errors=remount-ro 1 2
/dev/vg-mga/swap swap swap defaults 0 0
tmpfs   /tmp       tmpfs   defaults,noatime,mode=1777   0  0
tmpfs   /var/spool tmpfs   defaults,noatime,mode=1777   0  0
tmpfs   /var/tmp   tmpfs   defaults,noatime,mode=1777   0  0
tmpfs   /home/morgan/tmp  tmpfs   defaults,noatime,mode=1777   0  0


__Fstab after: drakx-net added NFS shares OK, but deleted some tmpfs lines:
/dev/vg-mga/root / ext4 acl,noatime,nodiratime,discard 1 1
# Entry for /dev/sda1 :
UUID=a9732e58-794e-45af-9740-bbb714ed23ca /boot ext4 acl,noatime,nodiratime,discard,errors=remount-ro 1 2
/dev/vg-mga/home /home ext4 acl,relatime,errors=remount-ro 1 2
/dev/vg-mga/morgan /home/morgan ext4 acl,relatime,errors=remount-ro 1 2
192.168.0.12:/mnt2/FlashArkiv/metallmorgan/Arkiv-Bak /mnt/Arkiv-Bak nfs rsize=8192,wsize=8192,nosuid,soft 0 0
192.168.0.12:/mnt/snabb/Delningsburken /mnt/Delningsburken nfs rsize=8192,wsize=8192,nosuid,soft 0 0
192.168.0.12:/mnt2/gamlaA /mnt/gamlaA nfs rsize=8192,wsize=8192,nosuid,soft 0 0
none /proc proc defaults 0 0
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
/dev/vg-mga/var /var ext4 acl,noatime,nodiratime,discard,errors=remount-ro 1 2
/dev/vg-mga/swap swap swap defaults 0 0


Reproducible: 

Steps to Reproduce:
Comment 1 Morgan Leijström 2013-05-30 00:27:11 CEST
Reproduced, same system.
I restored the deleted lines, reboot, go to MCC->NetworkSharing->Access NFS etc, remove a mount point, Done, yes to save fstab, see the same three tmpfs lines removed again.

Hint to reproduce:
You can probably reproduce easily by adding such lines to fstab then run MCC->NetworkSharing->Access NFS, add or remove a NFS mount Done, yes to save fstab.
Comment 2 Marja Van Waes 2015-03-31 16:05:12 CEST
Mageia 3 changed to end-of-life (EOL) status 4 months ago.
http://blog.mageia.org/en/2014/11/26/lets-say-goodbye-to-mageia-3/ 

Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

Status: NEW => RESOLVED
Resolution: (none) => OLD