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

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

    <bug>
          <bug_id>16009</bug_id>
          
          <creation_ts>2008-06-13 21:07:28 +0400</creation_ts>
          <short_desc>/usr/bin/skipstone-bin shouldn&apos;t be in the PATH</short_desc>
          <delta_ts>2009-05-10 09:33:50 +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>skipstone</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>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Michael Shigorin">mike</assigned_to>
          <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>72297</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-06-13 21:07:28 +0400</bug_when>
    <thetext>skipstone-1.0.0-alt2

There is no use in /usr/bin/skipstone-bin being in $PATH, since it mustn&apos;t be run directly:

$ skipstone-bin
skipstone-bin: error while loading shared libraries: libgtkembedmoz.so: cannot open shared object file: No such file or directory
$ 

I suggest to hide it somewhere under /usr/lib/.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72329</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2008-06-14 12:19:09 +0400</bug_when>
    <thetext>&gt; There is no use in /usr/bin/skipstone-bin being in $PATH
Well, upstream doesn&apos;t think so:

--- src/skipstone.in
if [ -f ./skipstone-bin ]; then
        exec ./skipstone-bin $@
else
        exec skipstone-bin $@
fi
---

but I&apos;ll do it for you :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72374</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2008-06-14 23:25:48 +0400</bug_when>
    <thetext>Fixed in 1.0.0-alt3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72730</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-06-19 03:11:35 +0400</bug_when>
    <thetext>(In reply to comment #2)
&gt; Fixed in 1.0.0-alt3

Thanks!

Of course you could have decided that it&apos;s not a bug. If there are reasonable reasons...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72734</commentid>
    <comment_count>4</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-06-19 03:35:25 +0400</bug_when>
    <thetext>(In reply to comment #1)
&gt; &gt; There is no use in /usr/bin/skipstone-bin being in $PATH
&gt; Well, upstream doesn&apos;t think so:

BTW, the thing you quoted must be terrible! For the security. 

&gt; --- src/skipstone.in
&gt; if [ -f ./skipstone-bin ]; then
&gt;         exec ./skipstone-bin $@
&gt; else

Welcome, virus! (or just a thoughtless error)

$ cat &gt; skipstone-bin
echo Hi i am a virus
$ chmod a+x skipstone-bin
$ skipstone 
Hi i am a virus
$ rpm -qf $(which skipstone)
skipstone-1.0.0-alt3
$ 
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>