UsrMove, /etc/shells, and rpm interpreter requires
Harald Hoyer
harald.hoyer at gmail.com
Tue Jul 10 16:12:45 UTC 2012
Am 10.07.2012 17:18, schrieb Orion Poplawski:
> I just got the following:
>
> grib_api has broken dependencies in the rawhide tree:
> On x86_64:
> grib_api-1.9.16-3.fc18.x86_64 requires /usr/bin/ksh
> On i386:
> grib_api-1.9.16-3.fc18.i686 requires /usr/bin/ksh
> Please resolve this as soon as possible.
>
> after I decided to stop changing the path of /usr/bin/ksh to /bin/ksh in
> grib_api since I figured with UsrMove, /usr/bin/ksh should be the proper location.
>
> But then I see that ksh still installs in /bin. Before I file a bug against ksh
> I wanted to make sure that we do indeed want to move to /usr/bin. I see that
> bash is in /usr/bin, so I guess that's a yes. My other concern though is
> /etc/shells:
>
> # cat /etc/shells
> /bin/sh
> /bin/bash
> /sbin/nologin
> /bin/tcsh
> /bin/csh
> /bin/ksh
> /bin/zsh
>
> Shouldn't that be /usr/ as well. Will it cause problems if it doesn't match
> with the /etc/passwd entry?
>
>
yes, /etc/shells might be a problem... I would suggest:
install the $shell in /usr/bin/$shell, Provide: /bin/$shell in the spec file and
add both paths in /etc/shell
or we patch "chsh" and the like?
Thoughts?
More information about the devel
mailing list