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

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

    <bug>
          <bug_id>3925</bug_id>
          
          <creation_ts>2004-04-05 16:50:44 +0400</creation_ts>
          <short_desc>stmpclean removes listening unix domain sockets</short_desc>
          <delta_ts>2005-07-13 15:45:59 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>stmpclean</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="drF_ckoff">dfo</reporter>
          <assigned_to name="Dmitry V. Levin">ldv</assigned_to>
          <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>voins</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12669</commentid>
    <comment_count>0</comment_count>
    <who name="drF_ckoff">dfo</who>
    <bug_when>2004-04-05 16:50:45 +0400</bug_when>
    <thetext>stmpclean removes /tmp/.X11-unix/XNUMBER sockets (from Xvnc at least). also it
does not remove temporary directores created in /tmp by kdm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12679</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-04-06 13:32:10 +0400</bug_when>
    <thetext>Why should it keep these sockets? 
Why should it remove these directories? 
 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12681</commentid>
    <comment_count>2</comment_count>
    <who name="drF_ckoff">dfo</who>
    <bug_when>2004-04-06 13:37:22 +0400</bug_when>
    <thetext>It should not remove that socket because Xvnc still running and accepts
connections on it.
It should remove that directories because kdm creates new random dir every time
he starts and dont use previous dirs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12803</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-04-14 16:34:42 +0400</bug_when>
    <thetext>1. stmpclean removes old sockets only.  Unless /tmp is mounted with &quot;noatime&quot; option, access 
time of the socket is updated each time new client is connected. 
 
2. According to stmpclean(8), 
&quot;The stmpclean utility never removes files or directories owned by root. 
It is a feature, not a bug.&quot; 
 
I think that kdm should create its tmp directories in more appropriate place, so they could be 
removed by /etc/rc.d/scripts/cleanup. 
 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12805</commentid>
    <comment_count>4</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2004-04-14 17:27:07 +0400</bug_when>
    <thetext>&gt; I think that kdm should create its tmp directories 
&gt; in more appropriate place, so they could be  
&gt;  removed by /etc/rc.d/scripts/cleanup. 
Ok. 
/tmp/kde-kdm-XXXXXX </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15013</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Voinov">voins</who>
    <bug_when>2004-06-10 15:27:24 +0400</bug_when>
    <thetext>$ mkdir /tmp/a
$ mksock /tmp/a/uuu
$ touch /tmp/a/ggg
$ sleep 10
$ stmpclean -v -t 0s
stmpclean[7823]: removed file /tmp/a/ggg
$ ls -la /tmp/a
итого 8
drwxr-xr-x  2 voins voins 4096 Июн 10 15:21 .
drwxrwxrwt  7 root  root  4096 Июн 10 15:20 ..
srwxr-xr-x  1 voins voins    0 Июн 10 15:20 uuu

отсюда вывод: stmpclean не удаляет сокеты, что подтверждается чтением
исходников.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>