<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>17716</bug_id>
          
          <creation_ts>2008-10-29 00:31:58 +0300</creation_ts>
          <short_desc>shouldn&apos;t start if not enough rights to reconnect</short_desc>
          <delta_ts>2014-11-05 20:41:06 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch 4.1</product>
          <component>klogd</component>
          <version>unspecified</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>17250</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          
          
          <qa_contact name="qa-4.1@altlinux.org">qa-4.1</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>80388</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-10-29 00:31:58 +0300</bug_when>
    <thetext>klogd-1.4.1-alt28

As https://bugzilla.altlinux.org/show_bug.cgi?id=17250 has shown, on start, klogd first connects to the socket, and then drops priviledges. Even if it would have not enough rights to (re-)connect to the socket in the normal state (without the priveledges).

This leads to errors in configuration not being easily discovered: externally, everything looks fine, but after a syslogd restart, klogd is running can&apos;t post the messages anymore. (I have been living with such an error for many years.)

I suggest that the necessary permissions are checked on klogd as strictly as they will be checked on re-connect. So that any problem will be discovered on startup.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80391</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-10-29 00:40:55 +0300</bug_when>
    <thetext>A related suggestion: https://bugzilla.altlinux.org/show_bug.cgi?id=17716 .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>148567</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2014-11-05 20:41:06 +0300</bug_when>
    <thetext>В 4.1/branch исправления не будут вноситься уже технически (заглушена очередь на сборку), поэтому прошу ошибки, актуальные для sisyphus/p7/t7, перевесить на текущие ветки или сизиф.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>