Posts: 1,028
SamK
Joined: 21 Aug 2011
#1
System Summary
The system is an old PC used for testing and evaluation
antiX-13-full (original non-beta ISO) installed to internal hard disk.

Drives

Code: Select all

cat /proc/partitions
   major minor  #blocks  name

   8        0   40146624 sda
   8        1    5120000 sda1
   8        2    5120000 sda2
  11        0    1048575 sr0
  11        1    1048575 sr1
   2        0          4 fd0

Code: Select all

blkid -o list
device     fs_type label    mount point    UUID
-------------------------------------------------------------------------------
/dev/sda1  ext4    SYSTEM   /              86bab6c0-738d-4a7f-8461-cb7c10053adf
/dev/sda2  ext4    HOME     /home          2f7d67c8-a67d-4468-9c41-7f97dc1dde41
Active Repos
wheezy main contrib non-free
wheezy/updates main contrib non-free
antiX/debs testing main


Yesterday, (June 12 2013) the system was updated/upgraded for the first time since installation.

Symptom 1
The following error messages are now obtained during the text phase of bootup

Code: Select all

...
[mntent]: line 10 in /etc/fstab is bad
[mntent]: line 11 in /etc/fstab is bad
...

Code: Select all

cat /etc/fstab
# Pluggable devices are handled by uDev, they are not in fstab
UUID=86bab6c0-738d-4a7f-8461-cb7c10053adf / auto defaults,noatime 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
UUID=2f7d67c8-a67d-4468-9c41-7f97dc1dde41 /home auto defaults,noatime 1 2
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/sr0 /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/cdrom1 /media/cdrom1 udf,iso9660 noauto,users,exec,ro 0 0
/dev/sr1 /media/cdrom1 udf,iso9660 noauto,users,exec,ro 0 0
0 0                                                                          
0 0                                                                          
# Added by antiX
/dev/sda1        /media/sda1      ext4       noauto,exec,relatime,users      0 0
# Added by antiX
/dev/sda2        /home            ext4       noauto,exec,relatime            0 0
# Added by antiX
/dev/cdrom       /media/cdrom     iso9660    noauto,exec,users,ro            0 0
# Added by antiX
/dev/cdrom1      /media/cdrom1    iso9660    noauto,exec,users,ro            0 0
# Added by antiX
/dev/dvd1        /media/dvd1      udf        noauto,exec,users,ro            0 0
# Added by antiX
/dev/sr0         /media/sr0       auto       noauto,exec,users,ro            0 0
# Added by antiX
/dev/sr1         /media/sr1       auto       noauto,exec,users,ro            0 0
# Added by antiX
/dev/cdrw        /media/cdrw      iso9660    noauto,exec,users,rw            0 0
# Added by antiX
/dev/fd0         /media/fd0       auto       noauto,exec,users,rw            0 0
All the above are now listed in /media

Code: Select all

ls -1 /media
cdrom
cdrom1
cdrw
dvd1
fd0
sda1
sda2
sr0
sr1
Symptom 2
USB sticks have reverted to mounting as the generic sdb1 rather than using the file system label (as reported in post29499.html?hilit=Scenario#p29499).

Code: Select all

blkid -o list
device     fs_type label    mount point    UUID
-------------------------------------------------------------------------------
/dev/sda1  ext4    SYSTEM   /              86bab6c0-738d-4a7f-8461-cb7c10053adf
/dev/sda2  ext4    HOME     /home          2f7d67c8-a67d-4468-9c41-7f97dc1dde41
/dev/sdb1  ext4    USB-RED  /media/sdb1    de1839f4-e552-478d-9039-87d8130c16dd
Symptom 3
In ROX-Filer
  • sda1 (/) is not shown as mounted (missing green dot)
  • sda2 (/home)has neither a grey or green dot
ROX-Filer Missing Mount Status Indicators
ROX-Filer Missing Mount Status Indicators
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#2
Remove the unwanted entries in /etc/fstab and also remove the /etc/fstab.hotplug file. Reboot and then remove unwanted folders in /media
Posts: 1,028
SamK
Joined: 21 Aug 2011
#3
anticapitalista wrote:Remove the unwanted entries in /etc/fstab and also remove the /etc/fstab.hotplug file. Reboot and then remove unwanted folders in /media
Completed these steps:

Having used the values in fstab.backup, fstab now reads

Code: Select all

cat /etc/fstab
# Pluggable devices are handled by uDev, they are not in fstab
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
UUID=86bab6c0-738d-4a7f-8461-cb7c10053adf / auto defaults,noatime 1 1
UUID=2f7d67c8-a67d-4468-9c41-7f97dc1dde41 /home auto defaults,noatime 1 2
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/sr0 /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/cdrom1 /media/cdrom1 udf,iso9660 noauto,users,exec,ro 0 0
/dev/sr1 /media/cdrom1 udf,iso9660 noauto,users,exec,ro 0 0
Symptom 1
Fixed
The error messages are no longer seen.

Symptom 2
Partly fixed.
A USB stick is now mounted using the file system label. After unmounting it the mountpoint is removed.

If the system is shutdown without explicitly unmounting the stick, it is unmounted during the shutdown process, however the mountpoint is not removed. If the stick is removed from the hardware before rebooting the system, the former mountpoint is still present in /media.

Symptom 3
Not fixed.
ROX-Filer lists /media/sda1 and /media/sda2 (/ and /home respectively). Both are now presented without a grey or green status indicator. Neither are able to be mounted via ROX-Filer and cannot be browsed using it.

Code: Select all

ls /media
cdrom  cdrom1  fd0  sda1  sda2
Both are actually mounted as shown below

Code: Select all

blkid -o list
device     fs_type label    mount point    UUID
-------------------------------------------------------------------------------
/dev/sda1  ext4    SYSTEM   /              86bab6c0-738d-4a7f-8461-cb7c10053adf
/dev/sda2  ext4    HOME     /home          2f7d67c8-a67d-4468-9c41-7f97dc1dde41
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#4
so what updated that caused the issue? I'm looking at my possible updates and nothing is leaping out at me.
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#5
The upgrade that causefs the issue is desktop-defaults.

At the moment it changes users apt sources.d files (it does make a backup of your existing sources.d folder)
and it adds these files to /etc/udev/rules.d/

90-fstab-automount.rules
90-usb-semiauto.rules

The mounting/fstab errors reported are due to the existence of 90-fstab-automount.rules on an installed system. It should be 90-fstab-automount.rules.live

I'll fix both.
Posts: 74
CGarces
Joined: 21 Apr 2013
#6
In my case the problem is that fstab is auto-updated

I need this

Code: Select all

# Pluggable devices are handled by uDev, they are not in fstab
UUID=419ad2c2-a347-4b58-ad65-eee0c6e57bbe / auto defaults,noatime 1 1
UUID=6451fe25-a469-4b67-b276-4eef6e1298fb swap swap sw,pri=1 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/sr0 /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
But antiX add this

Code: Select all

# Added by antiX
/dev/sda3        /media/sda3      ext4       noauto,exec,relatime,users      0 0
# Added by antiX
/dev/sda4        swap             swap       defaults                        0 0
# Added by antiX
/dev/sda1        /media/sda1      ntfs-3g    noauto,noexec,uid=1000,gid=users,dmask=002,fmask=113,users  0 0
# Added by antiX
/dev/sda5        /media/sda5      ntfs-3g    noauto,noexec,uid=1000,gid=users,dmask=002,fmask=113,users  0 0
# Added by antiX
/dev/cdrom       /media/cdrom     iso9660    noauto,exec,users,ro            0 0
# Added by antiX
/dev/dvd         /media/dvd       udf        noauto,exec,users,ro            0 0
# Added by antiX
/dev/dvdrw       /media/dvdrw     udf        noauto,exec,users,rw            0 0
# Added by antiX
/dev/sr0         /media/sr0       auto       noauto,exec,users,ro            0 0
# Added by antiX
/dev/cdrw        /media/cdrw      iso9660    noauto,exec,users,rw            0 0
The duplicated swap entry cause a warning during boot
Remove the lines not works it appears again.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#7
CGarces wrote:The duplicated swap entry cause a warning during boot
Remove the lines not works it appears again.
The solution should be the same:
anticapitalista wrote:Remove the unwanted entries in /etc/fstab and also remove the /etc/fstab.hotplug file. Reboot and then remove unwanted folders in /media
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#8
Future uploads to desktop-defaults package should not have this issue.
Posts: 1,028
SamK
Joined: 21 Aug 2011
#9
anticapitalista wrote:The upgrade that causefs the issue is desktop-defaults.
...
Future uploads to desktop-defaults package should not have this issue.
@ anticapitalista
It will be helpful if you announce when the fix is added to the repo together with what (if anything) needs to be done to affected antiX-13 systems.

The nature of this particular issue is probably beyond the understanding of users here. They tend to possess limited skills and liitle technical interest. In order that they gain a good initial impression, it may be prudent to delay installing antiX-13 until the matter is resolved.
Posts: 1,028
SamK
Joined: 21 Aug 2011
#10
SamK wrote:
anticapitalista wrote:Remove the unwanted entries in /etc/fstab and also remove the /etc/fstab.hotplug file. Reboot and then remove unwanted folders in /media
Completed these steps:

Symptom 3
Not fixed.
ROX-Filer lists /media/sda1 and /media/sda2 (/ and /home respectively). Both are now presented without a grey or green status indicator. Neither are able to be mounted via ROX-Filer and cannot be browsed using it.

Code: Select all

ls /media
cdrom  cdrom1  fd0  sda1  sda2
Both are actually mounted as shown below

Code: Select all

blkid -o list
device     fs_type label    mount point    UUID
-------------------------------------------------------------------------------
/dev/sda1  ext4    SYSTEM   /              86bab6c0-738d-4a7f-8461-cb7c10053adf
/dev/sda2  ext4    HOME     /home          2f7d67c8-a67d-4468-9c41-7f97dc1dde41
Has this been fixed in the update/upgrade from 13 to 13.1? The above symptom remains unchnged after the upgrade.
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#11
SamK what does /etc/fstab show?
Posts: 1,028
SamK
Joined: 21 Aug 2011
#12
anticapitalista wrote:SamK what does /etc/fstab show?
Following a reboot

Code: Select all

# Pluggable devices are handled by uDev, they are not in fstab
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
UUID=86bab6c0-738d-4a7f-8461-cb7c10053adf / auto defaults,noatime 1 1
UUID=2f7d67c8-a67d-4468-9c41-7f97dc1dde41 /home auto defaults,noatime 1 2
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/sr0 /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/cdrom1 /media/cdrom1 udf,iso9660 noauto,users,exec,ro 0 0
/dev/sr1 /media/cdrom1 udf,iso9660 noauto,users,exec,ro 0 0
###0 0                                                                          
###0 0                                                                          
# Added by antiX
###/dev/sda1        /media/sda1      ext4       noauto,exec,relatime,users      0 0
# Added by antiX
###/dev/sda2        /home            ext4       noauto,exec,relatime            0 0
# Added by antiX
###/dev/sdb1        /media/sdb1      ext4       noauto,exec,relatime,users      0 0
# Added by antiX
###/dev/cdrom       /media/cdrom     iso9660    noauto,exec,users,ro            0 0
# Added by antiX
###/dev/cdrom1      /media/cdrom1    iso9660    noauto,exec,users,ro            0 0
# Added by antiX
###/dev/dvd1        /media/dvd1      udf        noauto,exec,users,ro            0 0
# Added by antiX
###/dev/sr0         /media/sr0       auto       noauto,exec,users,ro            0 0
# Added by antiX
###/dev/sr1         /media/sr1       auto       noauto,exec,users,ro            0 0
# Added by antiX
###/dev/cdrw        /media/cdrw      iso9660    noauto,exec,users,rw            0 0
# Added by antiX
###/dev/fd0         /media/fd0       auto       noauto,exec,users,rw            0 0
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#13
You should only have the cdrom folder(s) in /media.

Remove sda1 and sda2.
SamK
Joined: 21 Aug 2011
#14
anticapitalista wrote:You should only have the cdrom folder(s) in /media.

Remove sda1 and sda2.
The issue remains as reported for the floppy drive in this system. /media/fd0 is no longer seen as a mountpoint in ROX-Filer, It does not have the grey (unmounted) or green (mounted) indicator. See screen-shot in opening post.
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#15
Remove all in media that does not appear in your fstab

# Pluggable devices are handled by uDev, they are not in fstab
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
UUID=86bab6c0-738d-4a7f-8461-cb7c10053adf / auto defaults,noatime 1 1
UUID=2f7d67c8-a67d-4468-9c41-7f97dc1dde41 /home auto defaults,noatime 1 2
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/sr0 /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/cdrom1 /media/cdrom1 udf,iso9660 noauto,users,exec,ro 0 0
/dev/sr1 /media/cdrom1 udf,iso9660 noauto,users,exec,ro 0 0