[Freeipa-devel] [PATCH] 0019 Use reboot from /sbin

Martin Kosek mkosek at redhat.com
Fri Mar 2 15:54:13 UTC 2012


On Fri, 2012-03-02 at 14:59 +0100, Jakub Hrozek wrote:
> On Fri, Mar 02, 2012 at 02:08:38PM +0100, Petr Viktorin wrote:
> > On 03/02/2012 01:42 PM, Jakub Hrozek wrote:
> > >On Fri, Mar 02, 2012 at 01:28:56PM +0100, Petr Viktorin wrote:
> > >>Commit message says it all. So does the ticket.
> > >>
> > >>https://fedorahosted.org/freeipa/ticket/2480
> > >>
> > >>--
> > >>Petr³
> > >
> > >Does it matter? It the UsrMoved world, both are just symlinks to
> > >systemctl..
> > >
> > >[root at vm-146 ~]# ll /sbin/reboot
> > >lrwxrwxrwx. 1 root root 16 Feb 29 16:25 /sbin/reboot ->  ../bin/systemctl
> > >[root at vm-146 ~]# ll /usr/sbin/reboot
> > >lrwxrwxrwx. 1 root root 16 Feb 29 16:25 /usr/sbin/reboot ->
> > >../bin/systemctl
> > >[root at vm-146 ~]# cat /etc/redhat-release
> > >Fedora release 18 (Rawhide)
> > >
> > >_______________________________________________
> > >Freeipa-devel mailing list
> > >Freeipa-devel at redhat.com
> > >https://www.redhat.com/mailman/listinfo/freeipa-devel
> > 
> > Things are different on Fedora 16:
> > 
> > vm-084:~# ls -l /sbin/reboot
> > lrwxrwxrwx. 1 root root 16 Mar  2 04:43 /sbin/reboot -> ../bin/systemctl
> > vm-084:~# ls -l /usr/bin/reboot
> > ls: cannot access /usr/bin/reboot: No such file or directory
> > vm-084:~# cat /etc/redhat-release
> > Fedora release 16 (Verne)
> > vm-084:~#
> > vm-084:~# yum whatprovides /usr/bin/reboot
> > Loaded plugins: product-id, subscription-manager
> > Updating certificate-based repositories.
> > usermode-1.108-1.fc16.x86_64 : Tools for certain user account
> > management tasks
> > Repo        : Fedora-16-x86_64-Everything
> > Matched from:
> > Filename    : /usr/bin/reboot
> > 
> > 
> > 
> > usermode-1.108-1.fc16.x86_64 : Tools for certain user account
> > management tasks
> > Repo        : fedora
> > Matched from:
> > Filename    : /usr/bin/reboot
> > 
> > 
> 
> I see.
> 
> Ack
> 
> > Also, I expect other distros will follow FHS rather than UsrMove.
> > 
> 

Pushed to master, ipa-2-2.

Martin




More information about the Freeipa-devel mailing list