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

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

    <bug>
          <bug_id>768</bug_id>
          
          <creation_ts>2002-03-30 15:57:59 +0300</creation_ts>
          <short_desc>скрипт из cron.daily/texpire содержит ошибку в вызове su</short_desc>
          <delta_ts>2003-08-25 15:18:29 +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>leafnode</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Lipatov">lav</reporter>
          <assigned_to name="Michael Shigorin">mike</assigned_to>
          <cc>mike</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>728</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2002-03-30 15:57:59 +0300</bug_when>
    <thetext>[&lt;a href=&quot;mailto:root@lav&quot; target=&quot;_new&quot;&gt;root@lav&lt;/a&gt; cron.daily]# ./texpire
su: could not identify appropriate shell
[&lt;a href=&quot;mailto:root@lav&quot; target=&quot;_new&quot;&gt;root@lav&lt;/a&gt; cron.daily]# rpm -qf texpire
leafnode-1.9.18-ipl2mdk
---

---
texpire fixed in 1.9.22
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3448</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2002-03-30 16:55:52 +0300</bug_when>
    <thetext>1) current version is 1.9.20-alt1 (not yet in Sisyphus -- look at &lt;a href=&quot;http://lic145.kiev.ua/~mike/ALTLinux/ALT-upload-queue/&quot;&gt;http://lic145.kiev.ua/~mike/ALTLinux/ALT-upload-queue/&lt;/a&gt;)

2) texpire from 1.9.18 _works_ as a cronjob (which is definitely _the_ destination of /etc/cron.daily/texpire) -- you could do \&amp;quot;su - news -s /bin/sh /usr/sbin/texpire\&amp;quot; to perform the operation manually.

PS: check \&amp;quot;news\&amp;quot; user shell in /etc/passwd -- as of Spring 2001 it was _empty_, now it\&apos;s plain /dev/null.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6813</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2002-03-30 16:55:52 +0300</bug_when>
    <thetext>1) current version is 1.9.20-alt1 (not yet in Sisyphus -- look at &lt;a href=&quot;http://lic145.kiev.ua/~mike/ALTLinux/ALT-upload-queue/&quot;&gt;http://lic145.kiev.ua/~mike/ALTLinux/ALT-upload-queue/&lt;/a&gt;)

2) texpire from 1.9.18 _works_ as a cronjob (which is definitely _the_ destination of /etc/cron.daily/texpire) -- you could do \&amp;quot;su - news -s /bin/sh /usr/sbin/texpire\&amp;quot; to perform the operation manually.

PS: check \&amp;quot;news\&amp;quot; user shell in /etc/passwd -- as of Spring 2001 it was _empty_, now it\&apos;s plain /dev/null.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3449</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2002-03-31 18:58:09 +0400</bug_when>
    <thetext>Я имел в виду что нужно 
исправить /etc/cron.daily/texpire
чтобы он содержал su - news -s /bin/sh /usr/sbin/texpire
то есть указание шелла.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6814</commentid>
    <comment_count>4</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2002-03-31 18:58:09 +0400</bug_when>
    <thetext>Я имел в виду что нужно 
исправить /etc/cron.daily/texpire
чтобы он содержал su - news -s /bin/sh /usr/sbin/texpire
то есть указание шелла.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3450</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2002-08-01 15:43:27 +0400</bug_when>
    <thetext>1.9.22-alt1 is reported to work (sssku)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6815</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2002-08-01 15:43:27 +0400</bug_when>
    <thetext>1.9.22-alt1 is reported to work (sssku)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>