https://bugs.kde.org/show_bug.cgi?id=393397

--- Comment #25 from Teddy <report...@mailna.biz> ---
(In reply to Andrius Štikonas from comment #24)
> (In reply to Teddy from comment #23)
> > (In reply to Andrius Štikonas from comment #21)
> > > (In reply to Teddy from comment #20)
> > > > (In reply to Andrius Štikonas from comment #18)
> > > > > (In reply to Teddy from comment #14)
> > > > > 
> > > > > Hmm, but Volume groups shouldn't be activated by just unlocking LUKS 
> > > > > volume?
> > > > > It only runs "crypsetup open", so I don't understand why your Volume 
> > > > > group
> > > > > is active?
> > > > > 
> > > > > Maybe I'll have to test to see if I can reproduce failure to lock.
> > > > 
> > > > In any case there's no option to "reactivate" the volume groups, even 
> > > > if I
> > > > click deactivate still shows deactivate, and if I refresh before 
> > > > locking the
> > > > luks I have to deactivate again otherwise fails like in last attachment.
> > > 
> > > This behaviour is expected. If you refresh devices before locking, KPM
> > > performs full rescan and reactivates all volume groups, so LUKS partition
> > > becomes busy.
> > 
> > I did the test without refreshing, yet looks like the volume groups are
> > mounted anyway. If you can check it better.
> 
> Maybe you can check if plasma automounter is running? I think this is the
> main culprint. Without automounting the current behaviour is not as bad.

I'm running from the beta-2 kubuntu iso, and automount is disabled by default.

-----------------------
With locked luks:
root@kubuntu:~# ls /dev/mapper/
control
root@kubuntu:~# ls /dev/ubu
ls: cannot access '/dev/ubu': No such file or directory
root@kubuntu:~# lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0         7:0    0   1.8G  0 loop /cdrom
loop1         7:1    0   1.7G  1 loop /rofs
sdb           8:16   1 119.2G  0 disk 
└─sdb1        8:17   1 119.2G  0 part /isodevice
sdc           8:32   0 238.5G  0 disk 
├─sdc1        8:33   0   512M  0 part 
└─sdc2        8:34   0   238G  0 part 
root@kubuntu:~# vgscan
  Reading volume groups from cache.

-----------------------
Just after Decrypt and NO refresh. swap and root are not mounted at least
"mount" does not display them:
control  luks-xxxxxxxxx  ubu-root  ubu-swap
root@kubuntu:~# ls /dev/ubu
root  swap
root@kubuntu:~# lsblk
NAME                                          MAJ:MIN RM   SIZE RO TYPE 
MOUNTPOINT
loop0                                           7:0    0   1.8G  0 loop  /cdrom
loop1                                           7:1    0   1.7G  1 loop  /rofs
sdb                                             8:16   1 119.2G  0 disk  
└─sdb1                                          8:17   1 119.2G  0 part 
/isodevice
sdc                                             8:32   0 238.5G  0 disk  
├─sdc1                                          8:33   0   512M  0 part  
└─sdc2                                          8:34   0   238G  0 part  
  └─luks-xxxxxxxxxxxxxxxxxxxxxxxxxx 253:0    0 237.9G  0 crypt 
    ├─ubu-swap                                253:1    0     6G  0 lvm   
    └─ubu-root                                253:2    0 231.9G  0 lvm  
root@kubuntu:~# vgscan
  Reading volume groups from cache.
  Found volume group "ubu" using metadata type lvm2

NOTE: If I choose on KPM "Deactivate Volume Group" and I refresh the volume is
re-activated. This shouldn't happen because I didn't choose to Activate Volume
Group. Even more, there is no such option for that.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to