------- Comment From [email protected] 2017-11-24 06:23 EDT-------
(In reply to comment #43)
> Please restest with 16.04.3 and also consider the setup proposed in the
> comment #7

Tried giving permission to /etc/gss/mech.d and still issue got observed,
# ls -l /etc/gss/
total 4
drwxrwxrwx 2 root root 4096 Jul 19 17:07 mech.d

Tried giving permission to the save.file in /var/tmp/save.file and issue is 
observed
# ls -l /var/tmp/save.file
-rwxrwxrwx 1 root root 1595918108 Nov 23 10:46 /var/tmp/save.file

Tried disabling apparmor and could see the issue,
# service apparmor stop
# service apparmor status
? apparmor.service - LSB: AppArmor initialization
Loaded: loaded (/etc/init.d/apparmor; bad; vendor preset: enabled)
Active: inactive (dead) since Fri 2017-11-24 16:50:14 IST; 4s ago
Docs: man:systemd-sysv-generator(8)
Process: 13213 ExecStop=/etc/init.d/apparmor stop (code=exited, 
status=0/SUCCESS)
Process: 12081 ExecStart=/etc/init.d/apparmor start (code=exited, 
status=0/SUCCESS)

Nov 24 16:50:14 pkvmhab006 systemd[1]: Stopping LSB: AppArmor initialization...
Nov 24 16:50:14 pkvmhab006 apparmor[13213]:  * Clearing AppArmor profiles cache
Nov 24 16:50:14 pkvmhab006 apparmor[13213]:    ...done.
Nov 24 16:50:14 pkvmhab006 apparmor[13213]: All profile caches have been 
cleared, but no profiles have been unloaded.
Nov 24 16:50:14 pkvmhab006 apparmor[13213]: Unloading profiles will leave 
already running processes permanently
Nov 24 16:50:14 pkvmhab006 apparmor[13213]: unconfined, which can lead to 
unexpected situations.
Nov 24 16:50:14 pkvmhab006 apparmor[13213]: To set a process to complain mode, 
use the command line tool
Nov 24 16:50:14 pkvmhab006 apparmor[13213]: 'aa-complain'. To really tear down 
all profiles, run the init script
Nov 24 16:50:14 pkvmhab006 apparmor[13213]: with the 'teardown' option."
Nov 24 16:50:14 pkvmhab006 systemd[1]: Stopped LSB: AppArmor initialization.

# virsh restore /var/tmp/save.file
error: Failed to restore domain from /var/tmp/save.file
error: operation failed: job: unexpectedly failed

Attached: Sosreport

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1719579

Title:
  [Ubuntu 16.04.2] [libvirt] virsh restore fails from state file saved
  in /var/tmp folder using virsh save

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1719579/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to