On Sunday 25 February 2001 14:53, Pixel wrote:

> ok, here is the pb:
>
> [root@leia pixel]# chkconfig --list portmap
> portmap         0:off   1:off   2:off   3:on    4:on    5:on    6:off
> [root@leia pixel]# SECURE_LEVEL=4 rpm -U /RPMS/portmap-4.0-13mdk.i586.rpm
> execution of portmap-4.0-13mdk script failed, exit status 1
> [root@leia pixel]# chkconfig --list portmap
> portmap         0:off   1:off   2:off   3:off   4:off   5:off   6:off
> [root@leia pixel]# SECURE_LEVEL=2 chkconfig --add portmap
> [root@leia pixel]# chkconfig --list portmap
> portmap         0:off   1:off   2:off   3:on    4:on    5:on    6:off
> [root@leia pixel]# SECURE_LEVEL=4 chkconfig --add portmap ; echo $?
> 1
> [root@leia pixel]# chkconfig --list portmap
> portmap         0:off   1:off   2:off   3:off   4:off   5:off   6:off
>
> calling chkconfig --add when portmap is already "on" fails and turn it
> "off". It should return succeed and don't do anything.

I reported this to Redhat who told me it could be a Mandrake issue - their 
test case shows that it works just fine.

Here's the snippet from their e-mail:
--start cut--
Works fine for me here.

[root@wierzbowski /root]# chkconfig --level 2345 ntpd on
[root@wierzbowski /root]# chkconfig --list ntpd
ntpd             0:off   1:off   2:on    3:on    4:on    5:on    6:off
[root@wierzbowski /root]# chkconfig --add ntpd
[root@wierzbowski /root]# echo $?
0
[root@wierzbowski /root]# chkconfig --list ntpd
ntpd             0:off   1:off   2:on    3:on    4:on    5:on    6:off

It might be a problem with a Mandrake-specific customization.

--end cut--

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]

Reply via email to