lynis: "Possible incorrect mount options used for swap parition"
I am using CentOS 6.5 and have run lynis version 1.6.0. Lynis gives the following warning
Code:
Possible incorrect mount options used for swap parition (UUID=bdfe2d90-d3c5-44b7-926a-ee5bd1fb1858) [FILE-6336] Code:
Suggestion: Check your /etc/fstab file. Swap parition usually have 'sw' in the options field (4th). [FILE-6336] Code:
UUID=bdfe2d90-d3c5-44b7-926a-ee5bd1fb1858 swap swap defaults 0 0 Code:
sudo fdisk -l Code:
Partition 1 does not end on cylinder boundary. At any rate, is this a warning that can be ignored? |
Quote:
Anyway, it's weird this happened, but it couldn't really happen out of nowhere so any hint to what you have done involving partitions would be great.. In the meantime, could you show us the full output of the following two commands? Code:
blkid |
Thank you for your reply.
Quote:
Code:
sudo pvcreate /dev/sda5 Quote:
Code:
sudo blkid Code:
sudo fdisk -l Code:
sudo df -h |
Quote:
|
Quote:
|
The solution has already been provided. The issue has been resolved in the code as well and committed to GitHub: https://github.com/CISOfy/Lynis
And a +1 for unSpawn: see the GitHub readme text to contact us directly if you discover a (possible) bug. |
All times are GMT -5. The time now is 09:04 AM. |