[katello-devel] why we have /usr/share/katello/script ?

Bryan Kearney bkearney at redhat.com
Wed Jul 18 11:57:21 UTC 2012


On 07/18/2012 07:52 AM, Miroslav Suchý wrote:
> Is there some history behind having:
>   /usr/share/katello/script
> and having symlinks from /usr/bin to files in that directory?
>
> I'm asking because:
> # ls -l /usr/bin/katello-debug
> lrwxrwxrwx. 1 root root 39 Jul 17 16:01 /usr/bin/katello-debug ->
> /usr/share/katello/script/katello-debug
> # ls -lZ /usr/share/katello/script/katello-debug
> -rwxr-xr-x. root root system_u:object_r:usr_t:s0
> /usr/share/katello/script/katello-debug
>
> And I would have expect that this script would have bin_t instead of usr_t.
> And I could not imagine what is the advantage of having
> /usr/share/katello/script/ instead of putting thos file directly into
> /usr/bin/?

Only reason I can think of is that is where the rails comand is? But, I 
dont know off hand.

-- bk






More information about the katello-devel mailing list