Redhat 7.0, upgrade from 6.2,
RPM 4.0.2-7x.
When trying to recompile the openssh-2.5.2p2-1.7.2.src.rpm package from
updates.redhat.com, the system wide configuration is put to
/usr/etc/ssh, other than /etc/ssh.
In the openssh.spec, it is stated only for redhat 6.x, the configuration
files should be in /usr/etc/ssh. For 7.0, it should be in /etc/ssh.
In my ~/.rpmmacros, put or remove the following definition doesn't
change any thing.
%rh_release 7.0
Also, the related lines in openssh.spec is as following:
# Is this a build for 6.x or earlier?
%define build6x 0
%{?build_6x:%define build6x 1}
# If this is 6.x, the default configuration has sysconfdir in /usr/etc.
%if %{build6x}
%define _sysconfdir /etc
%endif
Not sure where is the build_6x defined. But, seems like it is never
defined.
Is this a bug or something wrong with my system?
Thanks.
Liguo (Leo)
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list