<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.rosa.ru/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://bugzilla.rosa.ru/"
          
          maintainer="d.postnikov@rosa.ru"
>

    <bug>
          <bug_id>10451</bug_id>
          
          <creation_ts>2020-02-09 13:28:11 +0300</creation_ts>
          <short_desc>systemd: fixed CVE-2020-1712, fixed /etc/pam.d/systemd-user, user() and group() provides generators</short_desc>
          <delta_ts>2020-02-26 18:30:23 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>ROSA-based products</classification>
          <product>ROSA Fresh</product>
          <component>System (kernel, glibc, systemd, bash, PAM...)</component>
          <version>All</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Normal</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mikhail Novosyolov">m.novosyolov</reporter>
          <assigned_to name="ROSA Linux Bugs">bugs</assigned_to>
          <cc>andrey.bondrov</cc>
    
    <cc>pastordidi</cc>
    
    <cc>v.potapov</cc>
          
          <cf_platform>---</cf_platform>
          <cf_security_code></cf_security_code>
          <cf_package></cf_package>
          

      

      

      <flag name="qa_verified"
          id="9727"
          type_id="1"
          status="+"
          setter="v.potapov"
    />
    <flag name="published"
          id="9745"
          type_id="3"
          status="+"
          setter="andrey.bondrov"
    />

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>56144</commentid>
    <comment_count>0</comment_count>
    <who name="Mikhail Novosyolov">m.novosyolov</who>
    <bug_when>2020-02-09 13:28:11 +0300</bug_when>
    <thetext>******* QA ADVISORY ********

systemd 243-24:
- backported fixes of CVE-2020-1712 (http://www.opennet.ru/opennews/art.shtml?num=52340)
- expose new API function sd_bus_enqueue_for_read()
- cherry-picked its description into mans

https://abf.io/build_lists/3202615
https://abf.io/build_lists/3202616</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56146</commentid>
    <comment_count>1</comment_count>
    <who name="Mikhail Novosyolov">m.novosyolov</who>
    <bug_when>2020-02-09 18:29:49 +0300</bug_when>
    <thetext>******* QA ADVISORY ********

systemd 243-24:
- backported fixes of CVE-2020-1712 (http://www.opennet.ru/opennews/art.shtml?num=52340)
- removed d_bus_enqeue_for_read() from public API because in previous version where d_bus_enqeue_for_read() was put under LIBSYSTEMD_243 binaries built on ROSA could not run on other distros, e.g. Ubuntu, where d_bus_enqeue_for_read() was under LIBSYSTEMD_245:

test program sd.c:

#include &lt;systemd/sd-bus.h&gt;
int main(){
  sd_bus_enqueue_for_read(NULL, NULL);
}

$ gcc -I/usr/include sd.c -lsystemd -o sd.bin
$ ./sd.bin - runs ok on ROSa, but on Ubuntu:
$ ./sd.bin
./sd.bin: symbol lookup error: ./sd.bin: undefined symbol: sd_bus_enqueue_for_read, version LIBSYSTEMD_243

So I just removed d_bus_enqeue_for_read() from public API

systemd-stable did the same:
https://github.com/systemd/systemd-stable/commit/83bfc0d8dd026814d23e3fdfa46806394f775526
&gt; zjs: patch modified to not make the function public

**********************************
https://abf.io/build_lists/3202697
https://abf.io/build_lists/3202698</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56147</commentid>
    <comment_count>2</comment_count>
    <who name="Mikhail Novosyolov">m.novosyolov</who>
    <bug_when>2020-02-09 20:03:17 +0300</bug_when>
    <thetext>Fixed mistake: function was not removed from a public header and was not really hidden, removed it

https://abf.io/build_lists/3202726
https://abf.io/build_lists/3202727</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56163</commentid>
    <comment_count>3</comment_count>
    <who name="Mikhail Novosyolov">m.novosyolov</who>
    <bug_when>2020-02-13 02:02:58 +0300</bug_when>
    <thetext>More other fixes

******** QA ADVISORY ********
- (previous) Ported fix of CVE-2020-1712, no new public API is introduced
- (new) Fixed /etc/pam.d/systemd-user: restored inclusion of /etc/pam.d/systemd-auth in /etc/pam.d/systemd-user (it was lost when updating from 230 to 243)
- (new) Added user() and group() RPM provides generators from Fedora which parse sysusersd configs

https://abf.io/build_lists/3204870
https://abf.io/build_lists/3204871</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56179</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry Postnikov">pastordidi</who>
    <bug_when>2020-02-17 10:20:37 +0300</bug_when>
    <thetext>The update is sent to expanded testing
***************************************</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56252</commentid>
    <comment_count>5</comment_count>
    <who name="Vladimir Potapov">v.potapov</who>
    <bug_when>2020-02-26 12:44:20 +0300</bug_when>
    <thetext>systemd-243-32
https://abf.io/build_lists/3204870
https://abf.io/build_lists/3204871
**************************** Advisory ****************************
- (previous) Ported fix of CVE-2020-1712, no new public API is introduced
- (new) Fixed /etc/pam.d/systemd-user: restored inclusion of /etc/pam.d/systemd-auth in /etc/pam.d/systemd-user (it was lost when updating from 230 to 243)
- (new) Added user() and group() RPM provides generators from Fedora which parse sysusersd configs
******************************************************************
QA Verified</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>