Your message dated Thu, 07 Jul 2016 13:32:49 +0000
with message-id <[email protected]>
and subject line Bug#830144: fixed in systemd 230-6
has caused the Debian Bug report #830144,
regarding systemd-container: machinectl segfaults trying to enable a new 
container
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
830144: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830144
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: systemd-container
Version: 230-5
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

I created a new chroot at /var/lib/machines called localrepo using my
home grown script ¹

 bootstrap_debian --arch=i386 sid localrepo \
     http://localhost:3142/deb.debian.org/debian

After creating I ran machinectl to enable the container

machinectl enable localrepo

And I got a segfault.

¹ https://github.com/copyninja/bin/blob/master/bootstrap_debian

   * What outcome did you expect instead?

It should create a symlink [email protected] and do a
normal exit. In my case symbolic link is created but then there is a
segfault.

I got the -dbgsym package from unstable-debug and ran with gdb to get
backtrace. which is as follows

(gdb) bt
#0  0xf7e55ccb in bus_deserialize_and_dump_unit_file_changes (m=0x5656a7d0, 
quiet=false, changes=0x0, n_changes=0x0)
    at ../src/shared/bus-unit-util.c:893
#1  0x5655ced9 in enable_machine.lto_priv.20 (argc=2, argv=0xffffd788, 
userdata=0x56568850) at ../src/machine/machinectl.c:1665
#2  0xf7ec3db9 in dispatch_verb (argc=3, argv=0xffffd784, verbs=0x56566840 
<verbs>, userdata=0x56568850) at ../src/basic/verbs.c:92
#3  0x56557975 in machinectl_main () at ../src/machine/machinectl.c:2742
#4  main (argc=3, argv=0xffffd784) at ../src/machine/machinectl.c:2765

Looks like there is a NULL pointer dereference for changes and
n_changes in line 893 of bus-unit-util.c which is

        unit_file_dump_changes(0, NULL, *changes, *n_changes, false);

If any more information is needed please let me know.


Cheers,

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 4.6.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd-container depends on:
ii  libacl1          2.2.52-3
ii  libblkid1        2.28-5
ii  libbz2-1.0       1.0.6-8
ii  libc6            2.22-11
ii  libcurl3-gnutls  7.47.0-1
ii  libgcc1          1:6.1.1-6
ii  libgcrypt20      1.7.0-2
ii  liblzma5         5.1.1alpha+20120614-2.1
ii  libseccomp2      2.3.1-2
ii  libselinux1      2.5-3
ii  systemd          230-5
ii  zlib1g           1:1.2.8.dfsg-2+b1

Versions of packages systemd-container recommends:
ii  btrfs-progs        4.5.2-1
ii  btrfs-tools        4.5.2-1
pn  libnss-mymachines  <none>

systemd-container suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: systemd
Source-Version: 230-6

We believe that the bug you reported is fixed in the latest version of
systemd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Biebl <[email protected]> (supplier of updated systemd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 07 Jul 2016 15:22:16 +0200
Source: systemd
Binary: systemd systemd-sysv systemd-container systemd-journal-remote 
systemd-coredump libpam-systemd libnss-myhostname libnss-mymachines 
libnss-resolve libsystemd0 libsystemd-dev udev libudev1 libudev-dev udev-udeb 
libudev1-udeb
Architecture: source
Version: 230-6
Distribution: unstable
Urgency: medium
Maintainer: Debian systemd Maintainers 
<[email protected]>
Changed-By: Michael Biebl <[email protected]>
Description:
 libnss-myhostname - nss module providing fallback resolution for the current 
hostname
 libnss-mymachines - nss module to resolve hostnames for local container 
instances
 libnss-resolve - nss module to resolve names via systemd-resolved
 libpam-systemd - system and service manager - PAM module
 libsystemd-dev - systemd utility library - development files
 libsystemd0 - systemd utility library
 libudev-dev - libudev development files
 libudev1   - libudev shared library
 libudev1-udeb - libudev shared library (udeb)
 systemd    - system and service manager
 systemd-container - systemd container/nspawn tools
 systemd-coredump - tools for storing and retrieving coredumps
 systemd-journal-remote - tools for sending and receiving remote journal logs
 systemd-sysv - system and service manager - SysV links
 udev       - /dev/ and hotplug management daemon
 udev-udeb  - /dev/ and hotplug management daemon (udeb)
Closes: 830144
Changes:
 systemd (230-6) unstable; urgency=medium
 .
   [ Martin Pitt ]
   * debian/tests/boot-smoke: Stop running in containers again, too unreliable
     on Ubuntu s390x right now.
 .
   [ Michael Biebl ]
   * Bump Build-Depends on debhelper to (>= 9.20160114), required for
     --dbgsym-migration support.
   * Install test-udev binary into $libdir/udev/ not $libdir. Only libraries
     should be installed directly into $libdir.
   * Exclude libsystemd-shared from dh_makeshlibs.
 .
   [ Felipe Sateler ]
   * Do not install libsystemd-shared.so symlink
   * {machine,system}ctl: always pass &changes and &n_changes (Closes: #830144)
 .
   [ Michael Prokop ]
   * debian/tests/logind: Ensure correct version of logind is running.
Checksums-Sha1:
 16b9877bfdb4e56b9d120218643386ee5f3edd30 4413 systemd_230-6.dsc
 dc33cbad40cff81d8159f9871c08d0eb0ae68360 166088 systemd_230-6.debian.tar.xz
Checksums-Sha256:
 de0e417d438a069428bc4f6839d1269c9eca4ad26a974cce35474118903a8c3a 4413 
systemd_230-6.dsc
 d48d9c55a87e96c1c79d3ca5bbce93e66c33eb4fd9d19f826a0301a84da8f4ba 166088 
systemd_230-6.debian.tar.xz
Files:
 08316a28376369c31bd65c5711e1789c 4413 admin optional systemd_230-6.dsc
 2fada3e5bd0eaec7be637ade098f2cf0 166088 admin optional 
systemd_230-6.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXflfLAAoJEGrh3w1gjyLcRgYP/iYK3xGqP/0fOY+XYKJT4sMS
W9h2zQ9XUT4N4LJqshqG+yK4vfoz1tpmgqSJtxrcOVX+xj+PktONoTao7XpA3UH6
WLxp2GE0xcgFvZqbRw7YE2YEiduS6LwkYSvY8DubUxowFL32sq+7RNeIEOoLcWs7
vG8Ak2Gv1MdB7mVP/O//HsDXsxexgggdcysq/iuVnFfOrAU0k2fdBRlzH7CWjlYW
WW3stD68GUZ7jOuNNkaFwmLMRMJkK5K0PayP3Objd3ub9W0KpFWxh6n1K42kScQS
SkoKL/Bg+02USPbdAB9XBrhJBflZsRoMtJDuM2CNHezc0iFMBw8kpXK/vNMyG/iv
55x+7JTCmklEx+otI+j4FgFZ/XxP7gMewP6ND+HhXIlraKdepUqsIQdq2TZgwXcc
48rButjrnn4aJY7eMgKwvWM8LVqvc/7QvzuEv9aNA6FYG60Xqre9BDKpWA/1jp/J
SMsCCPjUKvKlqyHDhdhPcLnDd6ToW7D26glm7A7/WEXvecR9Luv1d1mUSDZ8My0b
ifXEQhtkyEUoIb12kemCxaLwOTsAMgYheleZqhWLcAeUnkZ2PX+BzRE2fPLRu/mt
tVUqCYBn9X/NqaQpUFggRz2XUHRK3XU8TjExFj/0AHcs9mNCew/aXsUnQHrkKqPH
ph0DUaFOyIhdn9ZvMM+w
=UjQh
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-systemd-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to