Bug 35302

Summary: Пользовательская прога (e4crypt) заинсталена в /sbin
Product: Sisyphus Reporter: Vitaly Chikunov <vt>
Component: e2fsprogsAssignee: Gleb F-Malinovskiy <glebfm>
Status: NEW --- QA Contact: qa-sisyphus
Severity: minor    
Priority: P3 CC: glebfm, ldv
Version: unstable   
Hardware: all   
OS: Linux   

Description Vitaly Chikunov 2018-08-29 04:02:49 MSK
e4crypt заинсталена в /sbin, хотя может использоваться из под юзера.

  depo:~$ rpm -q e2fsprogs -l | grep bin/e4crypt
  /sbin/e4crypt

  depo:~$ /sbin/e4crypt add_key
  Enter passphrase (echo disabled):
  Added key with descriptor [51b28406f857c1cb]

  depo:~$ keyctl show
  Session Keyring
     8692647 --alswrv      0     0  keyring: _ses
    98625205 ----s-rv      0     0   \_ user: invocation_id
   510621636 --alsw-v    500   500   \_ logon: ext4:51b28406f857c1cb

  depo:~$ /sbin/e4crypt set_policy 51b28406f857c1cb t
  Key with descriptor [51b28406f857c1cb] applied to t.