[Bug 1896311] Re: Missing module pvp_kvm.ko in linux-modules-*-kvm

2021-10-18 Thread Andreas Florath
** Summary changed:

- Missing module prp_kvm.ko in linux-modules-*-kvm
+ Missing module pvp_kvm.ko in linux-modules-*-kvm

** Summary changed:

- Missing module pvp_kvm.ko in linux-modules-*-kvm
+ Missing module ptp_kvm.ko in linux-modules-*-kvm

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

Title:
  Missing module ptp_kvm.ko in linux-modules-*-kvm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-kvm/+bug/1896311/+subscriptions


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

[Bug 1896311] [NEW] Missing module prp_kvm.ko in linux-modules-*-kvm

2020-09-19 Thread Andreas Florath
Public bug reported:

The kernel module ptp_kvm.po is for syncing the time between VM and host in a 
KVM environment.
BUT: this module is missing in the -kvm kernel or module flavored packages.

It *IS* inside these packages:

/lib/modules/5.4.0-1009-aws/kernel/drivers/ptp/ptp_kvm.ko   
linux-modules-extra-5.4.0-1009-aws
/lib/modules/5.4.0-1009-gcp/kernel/drivers/ptp/ptp_kvm.ko   
linux-modules-extra-5.4.0-1009-gcp
/lib/modules/5.4.0-1009-oracle/kernel/drivers/ptp/ptp_kvm.ko
linux-modules-extra-5.4.0-1009-oracle
/lib/modules/5.4.0-1010-azure/kernel/drivers/ptp/ptp_kvm.ko 
linux-modules-extra-5.4.0-1010-azure
/lib/modules/5.4.0-26-generic/kernel/drivers/ptp/ptp_kvm.ko 
linux-modules-extra-5.4.0-26-generic
/lib/modules/5.4.0-26-lowlatency/kernel/drivers/ptp/ptp_kvm.ko  
linux-modules-5.4.0-26-lowlatency
/lib/modules/5.6.0-1007-oem/kernel/drivers/ptp/ptp_kvm.ko   
linux-modules-5.6.0-1007-oem

For me it looks that the module should also in the linux-modules-*-kvm
package which would make a lot sense.

** Affects: linux-kvm (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  Missing module prp_kvm.ko in linux-modules-*-kvm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-kvm/+bug/1896311/+subscriptions

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

[Bug 1865334] Re: Missing correct dependency to python3-gitlab

2020-03-01 Thread Andreas Florath
The incompatibility between ansible gitlab_runner module and python-
gitlab was already fixed in ansible:

https://github.com/ansible/ansible/pull/64989

but will not be included in ansible 2.9.


As you can read here:

https://github.com/ansible/ansible/pull/65049

that this 'limitation' will be removed in ansible 2.10.

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

Title:
  Missing correct dependency to python3-gitlab

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ansible/+bug/1865334/+subscriptions

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

[Bug 1865334] [NEW] Missing correct dependency to python3-gitlab

2020-03-01 Thread Andreas Florath
Public bug reported:

Since version 2.8 ansible ships with a module 'gitlab_runner':
https://docs.ansible.com/ansible/latest/modules/gitlab_runner_module.html

Ansible as included in Ubuntu Focal is missing the dependency to python3-gitlab:
https://packages.ubuntu.com/focal/ansible

Using the ansible module results in an error message like:

"msg": "Failed to import the required Python library (python-gitlab)
on glr01-gitlab-runner-vcf3hnijiq2b's Python /usr/bin/python. Please
read module documentation and install in the appropriate location. If
the required library is installed, but Ansible is using the wrong Python
interpreter, please consult the documentation on
ansible_python_interpreter"

The dependencies of the ansible gitlab_runner module can be found here:
https://docs.ansible.com/ansible/latest/modules/gitlab_runner_module.html#requirements


Using the package python3-gitlab does not solve the problem, because it has the 
wrong version.
The version in Ubuntu Focal is 2.0.1 while the required version is <1.12.1.

Trying to use version 2.0.1 results in:

  File 
"/tmp/ansible_gitlab_runner_payload_anefkglx/ansible_gitlab_runner_payload.zip/ansible/modules/source_control/gitlab_runner.py",
 line 392, in 
  File 
"/tmp/ansible_gitlab_runner_payload_anefkglx/ansible_gitlab_runner_payload.zip/ansible/modules/source_control/gitlab_runner.py",
 line 356, in main
TypeError: __init__() got an unexpected keyword argument 'email'

** Affects: ansible (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  Missing correct dependency to python3-gitlab

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ansible/+bug/1865334/+subscriptions

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

[Bug 1769301] Re: resetting /proc/thread-self/attr/fscreate results in 'Invalid Argument'

2019-07-29 Thread Andreas Florath
I'm sorry but I have no access to the system any longer, therefore I
cannot the command.

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

Title:
  resetting /proc/thread-self/attr/fscreate results in 'Invalid
  Argument'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libselinux/+bug/1769301/+subscriptions

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

[Bug 1769301] Re: useradd fails when selinux is set to permissive

2018-05-05 Thread Andreas Florath
In libselinux the setfscreatecon() function is implemented - which might
be the root cause of the problem.

** Package changed: shadow (Ubuntu) => libselinux (Ubuntu)

** Summary changed:

- useradd fails when selinux is set to permissive
+ resetting /proc/thread-self/attr/fscreate results in 'Invalid Argument'

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

Title:
  resetting /proc/thread-self/attr/fscreate results in 'Invalid
  Argument'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libselinux/+bug/1769301/+subscriptions

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

[Bug 1769301] Re: useradd fails when selinux is set to permissive

2018-05-05 Thread Andreas Florath
It looks that the root cause affects multiple packages.

Observations: programs like lvchange have a similar problem:

# lvresize -L +1M /dev/mapper/vg-home
  SELinux context reset: setfscreatecon failed: Invalid argument
  SELinux context reset: setfscreatecon failed: Invalid argument
...

It looks that the problem might be in the libselinux (procattr.c
setprocattrcon_raw):

ret = write(fd, NULL, 0);   /* clear */

This always returns 'Invalid argument'.

I was not able to reproduce this with standard system tools (echo, cat, tee, 
...).
Therefore I wrote some lines of C (attached):

root@ubuntu:~# strace -f ./w2 
...
openat(AT_FDCWD, "/proc/thread-self/attr/fscreate", O_RDWR|O_CLOEXEC) = 3
write(3, NULL, 0)   = -1 EINVAL (Invalid argument)
dup(2)  = 4
fcntl(4, F_GETFL)   = 0x2 (flags O_RDWR)
brk(NULL)   = 0x55af7b32a000
brk(0x55af7b34b000) = 0x55af7b34b000
fstat(4, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
write(4, "write: Invalid argument\n", 24write: Invalid argument
) = 24
close(4)= 0
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
getpid()= 10408
gettid()= 10408
tgkill(10408, 10408, SIGABRT)   = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=10408, si_uid=0} ---
+++ killed by SIGABRT +++
Aborted

I have no idea if this write(fd, NULL, 0) should work to reset the
attribute (then it might be a kernel /proc problem) or if the library
needs to use another mechanism to reset the content.


** Attachment added: "w2.c"
   
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1769301/+attachment/5134236/+files/w2.c

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

Title:
  resetting /proc/thread-self/attr/fscreate results in 'Invalid
  Argument'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libselinux/+bug/1769301/+subscriptions

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

[Bug 1769301] [NEW] useradd fails when selinux is set to permissive

2018-05-05 Thread Andreas Florath
Public bug reported:

root@ubuntu:~# useradd -g 100 tst003
useradd: failure while writing changes to /etc/passwd

root@ubuntu:~# sestatus 
SELinux status: enabled
SELinuxfs mount:/sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: default
Current mode:   permissive
Mode from config file:  permissive
Policy MLS status:  enabled
Policy deny_unknown status: allowed
Memory protection checking: requested (insecure)
Max kernel policy version:  31


The problem does not occur when SELinux is complete disabled.

Please note that a very similar problem occurs using groupadd:

root@ubuntu:~# groupadd tstgrp001
groupadd: failure while writing changes to /etc/group


= journal = 
(Please note that there is *no* AVC!)

May 05 05:11:44 ubuntu useradd[756]: new user: name=tst003, UID=1004, GID=100, 
home=/home/tst003, shell=/bin/sh
May 05 05:11:44 ubuntu audit[756]: ADD_USER pid=756 uid=0 auid=1002 ses=1 
subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=adding user 
id=1004 exe="/usr/sbin/useradd" hostname=ubuntu addr=? terminal=pts/0 
res=success'
May 05 05:11:44 ubuntu useradd[756]: failure while writing changes to 
/etc/passwd
May 05 05:11:44 ubuntu audit[756]: ADD_USER pid=756 uid=0 auid=1002 ses=1 
subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=adding user 
acct="tst003" exe="/usr/sbin/useradd" hostname=ubuntu addr=? terminal=pts/0 
res=failed'
May 05 05:11:44 ubuntu useradd[756]: failed adding user 'tst003', data deleted

= ltrace =

[pid 1074] SYS_write(12, "root:x:"..., 1360) = 1360
[pid 1074] <... fflush resumed> )= 0
[pid 1074] fileno(0x5595b21c6200)= 12
[pid 1074] fsync(12, 0x5595b21c62e0, 0, 0x7ff933d5c154 
[pid 1074] SYS_fsync(12) = 0
[pid 1074] <... fsync resumed> ) = 0
[pid 1074] fclose(0x5595b21c6200 
[pid 1074] SYS_close(12) = 0
[pid 1074] <... fclose resumed> )= 0
[pid 1074] utime(0x7ffee34207e0, 0x7ffee34206b0, 0x5595b21af010, 1 
[pid 1074] SYS_utime("/etc/passwd-", 0x7ffee34206b0) = 0
[pid 1074] <... utime resumed> ) = 0
[pid 1074] fclose(0x5595b21af2a0 
[pid 1074] SYS_close(5)  = 0
[pid 1074] <... fclose resumed> )= 0
[pid 1074] setfscreatecon(0, 0x5595b21af118, 1, 2 
[pid 1074] SYS_openat(0xff9c, 0x5595b21cebc0, 0x80002, 0) = 5
[pid 1074] SYS_write(5, nil, 0)  = -22
[pid 1074] SYS_close(5)  = 0
[pid 1074] <... setfscreatecon resumed> )= 0x
[pid 1074] free(0x5595b21b9dc0)  = 
[pid 1074] free(0x5595b21b8a00)  = 
[pid 1074] strlen("x")   = 1
[pid 1074] memset(0x5595b21b7560, '\0', 1)   = 0x5595b21b7560
[pid 1074] free(0x5595b21b7560)  = 
[pid 1074] free(0x5595b21b94e0)  = 
[pid 1074] free(0x5595b21b9000)  = 
[pid 1074] free(0x5595b21b8fc0)  = 

= strace =

write(12, "root:x:"..., 1360) = 1360
fsync(12)   = 0
close(12)   = 0
utime("/etc/passwd-", {actime=1525497034 /* 2018-05-05T05:10:34+ */, 
modtime=1525496803 /* 2018-05-05T05:06:43+ */}) = 0
close(5)= 0
openat(AT_FDCWD, "/proc/thread-self/attr/fscreate", O_RDWR|O_CLOEXEC) = 5
write(5, NULL, 0)   = -1 EINVAL (Invalid argument)
close(5)= 0

= Version Information =
root@ubuntu:~# lsb_release -rd
Description:Ubuntu 18.04 LTS
Release:18.04

root@ubuntu:~# dpkg -l | grep passwd | grep -v base-pa
ii  passwd1:4.5-1ubuntu1
amd64change and administer password and group data

root@ubuntu:~# dpkg -l | grep selinux
ii  libselinux1:amd64 2.7-2build2   
amd64SELinux runtime shared libraries
ii  python3-selinux   2.7-2build2   
amd64Python3 bindings to SELinux shared libraries
ii  selinux-basics0.5.6 all 
 SELinux basic support
ii  selinux-policy-default2:2.20180114-1all 
 Strict and Targeted variants of the SELinux policy
ii  selinux-policy-dev2:2.20180114-1all 
 Headers from the SELinux reference policy for building modules
ii  selinux-utils 2.7-2build2   
amd64SELinux utility programs

root@ubuntu:~# uname -a
Linux ubuntu 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 
x86_64 x86_64 x86_64 GNU/Linux

** Affects: shadow (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a 

[Bug 1726947] [NEW] artful: zypper links against wrong libzypp.so

2017-10-24 Thread Andreas Florath
Public bug reported:

The current artful zypper is linked against the wrong libzypp.so:

root@c965fd40e35d:/# ldd /usr/bin/zypper
linux-vdso.so.1 =>  (0x7fffae1e)
libzypp.so.1503 => not found
[...]

root@c965fd40e35d:/# dpkg -L libzypp
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libzypp.so.1600.4.3
/usr/share
/usr/share/doc
/usr/share/doc/libzypp
/usr/share/doc/libzypp/changelog.Debian.gz
/usr/share/doc/libzypp/copyright
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/libzypp
/usr/lib/x86_64-linux-gnu/libzypp.so.1600

root@c965fd40e35d:/# dpkg -l | grep zyp
ii  libzypp:amd64   16.4.3-1  amd64 
   openSUSE/SLES package management system (library)
ii  zypper  1.12.4-1build1amd64 
   command line software manager using libzypp
ii  zypper-common   1.12.4-1build1all   
   command line software manager using libzypp (common files)

root@c965fd40e35d:/# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 17.10
Release:17.10
Codename:   artful

** Affects: zypper (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  artful: zypper links against wrong libzypp.so

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zypper/+bug/1726947/+subscriptions

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

[Bug 1717459] [NEW] Ubuntu Xenial: Job local-fs.target/start deleted to break ordering cycle starting with networking.service/start

2017-09-15 Thread Andreas Florath
Public bug reported:

It looks that there is a cyclic dependency in some of the systemd
services: see log.

The VM was created some hours ago using the latest packages.

I'm not really sure if this is a problem with systemd - if not maybe
somebody can point me to the buggy package.


=== Version Info ===

root@ubuntuvm:~# uname -a
Linux ubuntuvm 4.4.0-93-generic #116-Ubuntu SMP Fri Aug 11 21:17:51 UTC 2017 
x86_64 x86_64 x86_64 GNU/Linux
root@ubuntuvm:~# dpkg -l | grep systemd
ii  libsystemd0:amd64  229-4ubuntu19  
amd64systemd utility library
ii  systemd229-4ubuntu19  
amd64system and service manager
ii  systemd-sysv   229-4ubuntu19  
amd64system and service manager - SysV links
root@ubuntuvm:~# dpkg -l | grep cloud-init
ii  cloud-init 0.7.9-233-ge586fe35-0ubuntu1~16.04.1   
all  Init scripts for cloud instances
root@ubuntuvm:~# dpkg -l | grep lvm2
ii  liblvm2app2.2:amd642.02.133-1ubuntu10 
amd64LVM2 application library
ii  liblvm2cmd2.02:amd64   2.02.133-1ubuntu10 
amd64LVM2 command library
ii  lvm2   2.02.133-1ubuntu10 
amd64Linux Logical Volume Manager

=== LOG ===

Please note that 'opt' is one of the LVs. Depending on the boot this is
replaced e.g. with 'home'.

Sep 15 09:41:11 ubuntuvm systemd[1]: networking.service: Found ordering cycle 
on networking.service/start
Sep 15 09:41:11 ubuntuvm systemd[1]: networking.service: Found dependency on 
local-fs.target/start
Sep 15 09:41:11 ubuntuvm systemd[1]: networking.service: Found dependency on 
opt.mount/start
Sep 15 09:41:11 ubuntuvm systemd[1]: networking.service: Found dependency on 
systemd-fsck@dev-mapper-sysvg\x2dopt_vol.service/start
Sep 15 09:41:11 ubuntuvm systemd[1]: networking.service: Found dependency on 
cloud-init.service/start
Sep 15 09:41:11 ubuntuvm systemd[1]: networking.service: Found dependency on 
networking.service/start
Sep 15 09:41:11 ubuntuvm systemd[1]: networking.service: Breaking ordering 
cycle by deleting job local-fs.target/start
Sep 15 09:41:11 ubuntuvm systemd[1]: local-fs.target: Job local-fs.target/start 
deleted to break ordering cycle starting with networking.service/start
Sep 15 09:41:11 ubuntuvm systemd[1]: cloud-init-local.service: Found ordering 
cycle on cloud-init-local.service/start
Sep 15 09:41:11 ubuntuvm systemd[1]: cloud-init-local.service: Found dependency 
on var.mount/start
Sep 15 09:41:11 ubuntuvm systemd[1]: cloud-init-local.service: Found dependency 
on systemd-fsck@dev-mapper-sysvg\x2dvar_vol.service/start
Sep 15 09:41:11 ubuntuvm systemd[1]: cloud-init-local.service: Found dependency 
on cloud-init.service/start
Sep 15 09:41:11 ubuntuvm systemd[1]: cloud-init-local.service: Found dependency 
on networking.service/start
Sep 15 09:41:11 ubuntuvm systemd[1]: cloud-init-local.service: Found dependency 
on network-pre.target/start
Sep 15 09:41:11 ubuntuvm systemd[1]: cloud-init-local.service: Found dependency 
on cloud-init-local.service/start
Sep 15 09:41:11 ubuntuvm systemd[1]: cloud-init-local.service: Breaking 
ordering cycle by deleting job cloud-init.service/start
Sep 15 09:41:11 ubuntuvm systemd[1]: cloud-init.service: Job 
cloud-init.service/start deleted to break ordering cycle starting with 
cloud-init-local.service/start

** Affects: systemd (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  Ubuntu Xenial: Job local-fs.target/start deleted to break ordering
  cycle starting with networking.service/start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1717459/+subscriptions

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

[Bug 1563354] Re: systemd-tmpfiles-setup.service fails after switching SELinux to enforcing

2016-03-31 Thread Andreas Florath
> We don't support SELinux in Ubuntu (only AppArmor),

That sounds more than strange:
There are many hints, that Ubuntu (also) supports SELinux [1] [2].

I'm not sure how you work together with the people of AppArmor or SELinux:
typically the application developers / maintainers should discuss the MAC rules 
with the maintainers of the appropriate MAC implementation (because those are 
the people who should know what the application should be allowed to). 
Therefore my idea was, that you tell those people: my application needs those 
rules , please implement them.

One thing I could imagine (after reading your answer) is, that this bug
might be related to the selinux-policy-default package?

I'm somewhat convinced, that the problem is Ubuntu-related: the appropriate 
policy packages were especially created for Debian / Ubuntu - this has nothing 
to do with the upstream systemd (therefore I see no sense in reporting this 
there).
(I have a running Debian Jessie using systemd with SELinux set to enforcing for 
a year now - without these problems.)

Would it be possible that you discuss this with the SELinux-Ubuntu
people, how to handle such kind of problem?


[1] https://wiki.ubuntu.com/Security/Features
[2] 
http://packages.ubuntu.com/search?keywords=selinux=names=xenial=all

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

Title:
  systemd-tmpfiles-setup.service fails after switching SELinux to
  enforcing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1563354/+subscriptions

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


[Bug 1563354] [NEW] systemd-tmpfiles-setup.service fails after switching SELinux to enforcing

2016-03-29 Thread Andreas Florath
Public bug reported:

After switching SELinux to enforcing, the systemd-tmpfiles-setup.service
failed:

Mar 29 16:12:42  systemd-tmpfiles[546]: [/usr/lib/tmpfiles.d/var.conf:14] 
Duplicate line for path "/var/log", ignoring.
Mar 29 16:12:42  systemd-tmpfiles[546]: Unable to fix SELinux security context 
of /var: Permission denied
Mar 29 16:12:42  systemd-tmpfiles[546]: Unable to fix SELinux security context 
of /var/log: Permission denied
Mar 29 16:12:42  systemd-tmpfiles[546]: Unable to fix SELinux security context 
of /var/lib: Permission denied
Mar 29 16:12:42  systemd-tmpfiles[546]: Unable to fix SELinux security context 
of /home: Permission denied
Mar 29 16:12:42  systemd-tmpfiles[546]: Unable to fix SELinux security context 
of /srv: Permission denied
Mar 29 16:12:42  systemd-tmpfiles[546]: Unable to fix SELinux security context 
of /var/lib/systemd: Permission denied
Mar 29 16:12:42  systemd-tmpfiles[546]: Unable to fix SELinux security context 
of /var/lib/systemd/coredump: Permission denied
Mar 29 16:12:43  systemd-tmpfiles[546]: Unable to fix SELinux security context 
of /var/cache: Permission denied
Mar 29 16:12:43  systemd[1]: systemd-tmpfiles-setup.service: Main process 
exited, code=exited, status=1/FAILURE
Mar 29 16:12:43  systemd[1]: Failed to start Create Volatile Files and 
Directories.
Mar 29 16:12:43  systemd[1]: systemd-tmpfiles-setup.service: Unit entered 
failed state.
Mar 29 16:12:43  systemd[1]: systemd-tmpfiles-setup.service: Failed with result 
'exit-code'.

No further AVC or audit.log is logged. When manually setting 'setenforce
0' and starting this service, it obviously works fine.

My environment:

# lsb_release -rd
Description:Ubuntu Xenial Xerus (development branch)
Release:16.04

(Build  / packages from last night)

# apt-cache policy systemd
systemd:
  Installed: 229-3ubuntu1
  Candidate: 229-3ubuntu1

If you need more infos, please drop a short note.

** Affects: systemd (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  systemd-tmpfiles-setup.service fails after switching SELinux to
  enforcing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1563354/+subscriptions

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


[Bug 541512] Re: open-iscsi shutdown failure due to missing dir

2010-06-30 Thread Andreas Florath
Same problem with
Ubuntu 10.04
open-iscsi 2.0.871-0ubuntu4

-- 
open-iscsi shutdown failure due to missing dir
https://bugs.launchpad.net/bugs/541512
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


[Bug 594179] Re: Missing -f option for 'qemu-img snapshot'

2010-06-25 Thread Andreas Florath
Exactly - git version of qemu from last week does not have this problem.

-- 
Missing -f option for 'qemu-img snapshot'
https://bugs.launchpad.net/bugs/594179
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 595591] Re: 'delvm' does not work with QMP

2010-06-25 Thread Andreas Florath
Hello Serge,

tried last week to get this patch running against the lastest git
version - but failed, because currently the new implementation of QMP
has to settle down for a while before it will work again ;-)

Will try next week again.

BTW: when I send this patch to upstream - it will make (possible) into
Ubuntu 11.04?  Is there a way to get this into Ubuntu 10.04 - maybe in
backports?

-- 
'delvm' does not work with QMP
https://bugs.launchpad.net/bugs/595591
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 594614] Re: Add 'snapshot_create' as monitor command

2010-06-25 Thread Andreas Florath
Hello Serge,

comment from Bug #595591 applies also here.


** Changed in: qemu-kvm (Ubuntu)
   Status: Incomplete = New

-- 
Add 'snapshot_create' as monitor command
https://bugs.launchpad.net/bugs/594614
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 594179] Re: Missing -f option for 'qemu-img snapshot'

2010-06-25 Thread Andreas Florath
Exactly - git version of qemu from last week does not have this problem.

-- 
Missing -f option for 'qemu-img snapshot'
https://bugs.launchpad.net/bugs/594179
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


[Bug 595591] Re: 'delvm' does not work with QMP

2010-06-25 Thread Andreas Florath
Hello Serge,

tried last week to get this patch running against the lastest git
version - but failed, because currently the new implementation of QMP
has to settle down for a while before it will work again ;-)

Will try next week again.

BTW: when I send this patch to upstream - it will make (possible) into
Ubuntu 11.04?  Is there a way to get this into Ubuntu 10.04 - maybe in
backports?

-- 
'delvm' does not work with QMP
https://bugs.launchpad.net/bugs/595591
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


[Bug 594614] Re: Add 'snapshot_create' as monitor command

2010-06-25 Thread Andreas Florath
Hello Serge,

comment from Bug #595591 applies also here.


** Changed in: qemu-kvm (Ubuntu)
   Status: Incomplete = New

-- 
Add 'snapshot_create' as monitor command
https://bugs.launchpad.net/bugs/594614
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


[Bug 595591] Re: 'delvm' does not work with QMP

2010-06-21 Thread Andreas Florath
Version qemu-kvm 0.12.3+noroms-0ubuntu9 from Ubuntu 10.04.


** Changed in: qemu-kvm (Ubuntu)
   Status: Incomplete = New

-- 
'delvm' does not work with QMP
https://bugs.launchpad.net/bugs/595591
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 595591] Re: 'delvm' does not work with QMP

2010-06-21 Thread Andreas Florath
Version qemu-kvm 0.12.3+noroms-0ubuntu9 from Ubuntu 10.04.


** Changed in: qemu-kvm (Ubuntu)
   Status: Incomplete = New

-- 
'delvm' does not work with QMP
https://bugs.launchpad.net/bugs/595591
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


[Bug 594179] Re: Missing -f option for 'qemu-img snapshot'

2010-06-20 Thread Andreas Florath
(Had a mail exchange with Dustin: result is that I should set the Status
back to new.)

** Changed in: qemu-kvm (Ubuntu)
   Status: Invalid = New

-- 
Missing -f option for 'qemu-img snapshot'
https://bugs.launchpad.net/bugs/594179
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 594179] Re: Missing -f option for 'qemu-img snapshot'

2010-06-20 Thread Andreas Florath
(Had a mail exchange with Dustin: result is that I should set the Status
back to new.)

** Changed in: qemu-kvm (Ubuntu)
   Status: Invalid = New

-- 
Missing -f option for 'qemu-img snapshot'
https://bugs.launchpad.net/bugs/594179
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


[Bug 595591] [NEW] 'delvm' does not work with QMP

2010-06-17 Thread Andreas Florath
Public bug reported:

Binary package hint: qemu-kvm

Currently it is impossible to use the 'delvm' command via the QMP
interface.

The attached patch fixed this.

** Affects: qemu-kvm (Ubuntu)
 Importance: Undecided
 Status: New

-- 
'delvm' does not work with QMP
https://bugs.launchpad.net/bugs/595591
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 595591] Re: 'delvm' does not work with QMP

2010-06-17 Thread Andreas Florath

** Attachment added: delvm_qmp.patch
   http://launchpadlibrarian.net/50499848/delvm_qmp.patch

-- 
'delvm' does not work with QMP
https://bugs.launchpad.net/bugs/595591
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 595591] [NEW] 'delvm' does not work with QMP

2010-06-17 Thread Andreas Florath
Public bug reported:

Binary package hint: qemu-kvm

Currently it is impossible to use the 'delvm' command via the QMP
interface.

The attached patch fixed this.

** Affects: qemu-kvm (Ubuntu)
 Importance: Undecided
 Status: New

-- 
'delvm' does not work with QMP
https://bugs.launchpad.net/bugs/595591
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


[Bug 595591] Re: 'delvm' does not work with QMP

2010-06-17 Thread Andreas Florath

** Attachment added: delvm_qmp.patch
   http://launchpadlibrarian.net/50499848/delvm_qmp.patch

-- 
'delvm' does not work with QMP
https://bugs.launchpad.net/bugs/595591
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


[Bug 594179] Re: Missing -f option for 'qemu-img snapshot'

2010-06-16 Thread Andreas Florath
Checked this with the latest git master from qemu.
The git-qemu-img version works fine: it detects the qcow2 image inside the LVM2 
logical volume - without the need to specify the format.  The checked qemu 
version is 0.12.50.

-- 
Missing -f option for 'qemu-img snapshot'
https://bugs.launchpad.net/bugs/594179
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 594179] Re: Missing -f option for 'qemu-img snapshot'

2010-06-16 Thread Andreas Florath
Checked this with the latest git master from qemu.
The git-qemu-img version works fine: it detects the qcow2 image inside the LVM2 
logical volume - without the need to specify the format.  The checked qemu 
version is 0.12.50.

-- 
Missing -f option for 'qemu-img snapshot'
https://bugs.launchpad.net/bugs/594179
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


[Bug 594614] [NEW] Add 'snapshot_create' as monitor command

2010-06-15 Thread Andreas Florath
Public bug reported:

Binary package hint: qemu-kvm

This is a feature request.

Currently there is the possibility to create snapshots of a whole VM
(memory, state and all disks) by using the monitor command 'savevm'.
But it is impossible to create just snapshots from (dedicated) disk drives.  
Also the VM must not be stopped when creating  snapshots from the disk.
Idea for backup: switch database into backup mode, create snapshot, switch 
database back into 'normal' mode, create a backup using qemu-img convert.
Therefore a new monitor command was implemented (see attached patch).
The command 'snapshot_create' takes two optional parameters:
o tag / id: same as for savevm
o device: the name of the device which should be snapshotted.  If empty all 
devices are snapshotted.
This command can also be used with the QMP interface.

Signed-off-by: Andreas Florath gnu4u at flonatel dot org

** Affects: qemu-kvm (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Add 'snapshot_create' as monitor command
https://bugs.launchpad.net/bugs/594614
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 594614] Re: Add 'snapshot_create' as monitor command

2010-06-15 Thread Andreas Florath

** Patch added: snapshot_create-add.patch
   http://launchpadlibrarian.net/50376091/snapshot_create-add.patch

-- 
Add 'snapshot_create' as monitor command
https://bugs.launchpad.net/bugs/594614
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 594179] Re: Missing -f option for 'qemu-img snapshot'

2010-06-15 Thread Andreas Florath
Nope - this is not true: This version of qemu-img does *not* detect qcow2 
images which life inside a LVM2 logical volume.
Without the patch, qemu-img detects a 'host_device' in this case, e.g. 
'qemu-img snapshot -l ...' does not print anything.
With the patch applied 'qemu-img snapshot -f qcow2 -l ...' works fine.

-- 
Missing -f option for 'qemu-img snapshot'
https://bugs.launchpad.net/bugs/594179
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 594614] [NEW] Add 'snapshot_create' as monitor command

2010-06-15 Thread Andreas Florath
Public bug reported:

Binary package hint: qemu-kvm

This is a feature request.

Currently there is the possibility to create snapshots of a whole VM
(memory, state and all disks) by using the monitor command 'savevm'.
But it is impossible to create just snapshots from (dedicated) disk drives.  
Also the VM must not be stopped when creating  snapshots from the disk.
Idea for backup: switch database into backup mode, create snapshot, switch 
database back into 'normal' mode, create a backup using qemu-img convert.
Therefore a new monitor command was implemented (see attached patch).
The command 'snapshot_create' takes two optional parameters:
o tag / id: same as for savevm
o device: the name of the device which should be snapshotted.  If empty all 
devices are snapshotted.
This command can also be used with the QMP interface.

Signed-off-by: Andreas Florath gnu4u at flonatel dot org

** Affects: qemu-kvm (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Add 'snapshot_create' as monitor command
https://bugs.launchpad.net/bugs/594614
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


[Bug 594614] Re: Add 'snapshot_create' as monitor command

2010-06-15 Thread Andreas Florath

** Patch added: snapshot_create-add.patch
   http://launchpadlibrarian.net/50376091/snapshot_create-add.patch

-- 
Add 'snapshot_create' as monitor command
https://bugs.launchpad.net/bugs/594614
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


[Bug 594179] Re: Missing -f option for 'qemu-img snapshot'

2010-06-15 Thread Andreas Florath
Nope - this is not true: This version of qemu-img does *not* detect qcow2 
images which life inside a LVM2 logical volume.
Without the patch, qemu-img detects a 'host_device' in this case, e.g. 
'qemu-img snapshot -l ...' does not print anything.
With the patch applied 'qemu-img snapshot -f qcow2 -l ...' works fine.

-- 
Missing -f option for 'qemu-img snapshot'
https://bugs.launchpad.net/bugs/594179
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


[Bug 594179] Re: Missing -f option for 'qemu-img snapshot'

2010-06-14 Thread Andreas Florath
** Description changed:

  Binary package hint: qemu-kvm
  
  In the qemu-img 'snapshot' command the '-f' option is missing (which I 
need...); It's only available for all other commands:
-   check [-f fmt] filename
-   create [-f fmt] [-o options] filename [size]
-   commit [-f fmt] filename
-   convert [-c] [-f fmt] [-O output_fmt] [-o options] filename [filename2 
[...]] output_filename
-   info [-f fmt] filename
-   snapshot [-l | -a snapshot | -c snapshot | -d snapshot] filename
+   check [-f fmt] filename
+   create [-f fmt] [-o options] filename [size]
+   commit [-f fmt] filename
+   convert [-c] [-f fmt] [-O output_fmt] [-o options] filename [filename2 
[...]] output_filename
+   info [-f fmt] filename
+   snapshot [-l | -a snapshot | -c snapshot | -d snapshot] filename
  
- The applied patch adds the -f option also to the snapshot command.
+ The attached patch adds the -f option also to the snapshot command.
  
  Environment:
  Ubuntu 10.04 LTS
  qemu-kvm_0.12.3+noroms-0ubuntu9_amd64.deb

-- 
Missing -f option for 'qemu-img snapshot'
https://bugs.launchpad.net/bugs/594179
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 594179] Re: Missing -f option for 'qemu-img snapshot'

2010-06-14 Thread Andreas Florath
** Description changed:

  Binary package hint: qemu-kvm
  
  In the qemu-img 'snapshot' command the '-f' option is missing (which I 
need...); It's only available for all other commands:
-   check [-f fmt] filename
-   create [-f fmt] [-o options] filename [size]
-   commit [-f fmt] filename
-   convert [-c] [-f fmt] [-O output_fmt] [-o options] filename [filename2 
[...]] output_filename
-   info [-f fmt] filename
-   snapshot [-l | -a snapshot | -c snapshot | -d snapshot] filename
+   check [-f fmt] filename
+   create [-f fmt] [-o options] filename [size]
+   commit [-f fmt] filename
+   convert [-c] [-f fmt] [-O output_fmt] [-o options] filename [filename2 
[...]] output_filename
+   info [-f fmt] filename
+   snapshot [-l | -a snapshot | -c snapshot | -d snapshot] filename
  
- The applied patch adds the -f option also to the snapshot command.
+ The attached patch adds the -f option also to the snapshot command.
  
  Environment:
  Ubuntu 10.04 LTS
  qemu-kvm_0.12.3+noroms-0ubuntu9_amd64.deb

-- 
Missing -f option for 'qemu-img snapshot'
https://bugs.launchpad.net/bugs/594179
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