|
Bugzilla – Full Text Bug Listing |
| Summary: | YaST > Partitioner removes Bind entries from /etc/fstab | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Distribution | Reporter: | Henk van Velden <henk.vanvelden> |
| Component: | YaST2 | Assignee: | YaST Team <yast-internal> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Major | ||
| Priority: | P2 - High | CC: | aschnell, henk.vanvelden, jlopez, jreidinger, shundhammer |
| Version: | Leap 15.1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| URL: | https://trello.com/c/BhPYesPV | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Henk van Velden
2019-12-19 14:16:50 UTC
So this is the line in /etc/fstab that you added manually: /home/wij /home/henk/wij none bind Right? I think it should work well if you also specify both numeric fields, the dump pass no. and the fsck pass no: /home/wij /home/henk/wij none bind 0 0 Please try that. I think the parser might consider it a syntax error / bad format if you omit those fields, so that entry (together with the empty line before it which would qualify as a comment line) rejects it upon reading, so it is not written back upon writing. I tried as you suggested and you are right. The entry now stays: UUID=7dc53b12-93a9-4e97-b0ae-ab165a8bd688 / ext4 acl,user_xattr 1 1 UUID=212ea772-7bec-4bee-85b5-786f7a810356 swap swap defaults 0 0 UUID=A626-CF2D /boot/efi vfat umask=0002,utf8=true 0 0 UUID=8c561c1d-e51f-4eb9-a28a-92b3a98df5be /home ext4 defaults 1 2 tmpfs /tmp tmpfs size=25%,uid=root,gid=root,mode=1777 0 0 /home/wij /home/henk/wij none bind 0 0 UUID=f47d31b5-ff94-42d4-bd93-1d80fc6b602d /mnt ext4 defaults 0 2 Even the empty line is still there. I will go back to the OP of the forums thread to check what he has. It is a bit against my ideas about what YaST should do. Should it really "repair" entries that it does not like without any comment made? Even the mount command did not protest. In any case, this case may be closed as a correct entry will result in no problem at all. Thanks for the quick reaction. I keep it open and add it to our queue for fix as it is 1. data loss 2. 5th and 6th entry is optional and according to man page defaults to 0 if not specified. I agree and support your follow up. Thanks. Optional fs_dump and fs_passno columns are supported now (included in versions 4.1.106 (SP1) and 4.2.48 (factory) of libstorage-ng). * https://github.com/openSUSE/libstorage-ng/pull/693 * SP1: https://build.suse.de/request/show/208969 * Factory: https://build.suse.de/request/show/208997 |