Public bug reported:

$ lsb_release -rd
Description:    Ubuntu 8.04
Release:        8.04

$ sudo mount | grep root
/dev/mapper/vgzontar-root on / type ext3 (rw,relatime,errors=remount-ro)

The permissions appear to be incorrect:

$ sudo ls -ld /dev/vgzontar /dev/vgzontar/root /dev/mapper/vgzontar-root 
brw-rw---- 1 root disk 254, 2 2008-05-29 01:55 /dev/mapper/vgzontar-root
drwx------ 2 root root    100 2008-05-29 01:55 /dev/vgzontar
lrwxrwxrwx 1 root root     25 2008-05-29 01:55 /dev/vgzontar/root -> 
/dev/mapper/vgzontar-root

Question A) Shouldn't the symlinks be owned by root.disk?
Question B) Shouldn't the /dev/vgzontar directory be something other than 600 
root.root ?

I have installed a fresh copy of Ubuntu 8.04 Hardy LTS.

My Ubuntu install is an LVM + crypt configuration:

$ sudo fdisk -l /dev/sda

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf8000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          10       80293+  de  Dell Utility
/dev/sda2              11         272     2104515    b  W95 FAT32
/dev/sda3   *         273         296      192780   83  Linux   # GRUB boot 
partition
/dev/sda4             297       14593   114840652+  83  Linux   # <-- LUKS 
crypt partition containing LVM PV

$ ls -ld /dev/mapper/*
crw-rw---- 1 root root  10, 63 2008-05-29 01:55 /dev/mapper/control
brw-rw---- 1 root disk 254,  0 2008-05-29 01:55 /dev/mapper/sda4_crypt
brw-rw---- 1 root disk 254,  2 2008-05-29 01:55 /dev/mapper/vgzontar-root
brw-rw---- 1 root disk 254,  1 2008-05-29 01:55 /dev/mapper/vgzontar-swap
brw-rw---- 1 root disk 254,  3 2008-05-29 01:55 /dev/mapper/vgzontar-vtdisk

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
LVM crypt /dev/X/Y wrong permissions
https://bugs.launchpad.net/bugs/235689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to