Tiger and Panther: sysctl requirements just not working?
Tiger and Panther: sysctl requirements just not working?
- Subject: Tiger and Panther: sysctl requirements just not working?
- From: Stéphane Sudre <email@hidden>
- Date: Sat, 9 Jul 2005 17:22:56 +0200
Given the following IFRequirement:
<key>IFRequirementDicts</key>
<array>
<dict>
<key>LabelKey</key>
<string>kern.osrevision equal</string>
<key>Level</key>
<string>requires</string>
<key>MessageKey</key>
<string>messagekey0</string>
<key>SpecArgument</key>
<string>kern.osrevision</string>
<key>SpecType</key>
<string>sysctl</string>
<key>TestObject</key>
<string>199507</string>
<key>TestOperator</key>
<string>==</string>
<key>TitleKey</key>
<string>titlekey0</string>
</dict>
</array>
Bug #1:
On 10.4.1: The installation is allowed.
On 10.3.9: The installation is forbidden.
In both cases, the 199507 value is not the correct one, 199506 is. So
the installation shall be forbidden.
Looks like a critical bug: the behavior shall be the same.
Bug #2:
If we consider that 199507 shall be defined as a integer instead of a
string and that the value shall be set to 199506:
On 10.3.9: The installation is forbidden.
Requirements: requires "kern.osrevision equal" FAIL for root={none},
domain = 0
Ok, we go back to a string with 199506:
On 10.3.9: The installation is forbidden.
Requirements: requires "kern.osrevision equal" FAIL for root={none},
domain = 0
---
My current conclusion is that sysctl is not working correctly on
10.3.9, that the behavior is not the same on Mac OS X 10.4.1 and
10.3.9: this is a regression.
I will file a bug report as soon as the Bug Reporter data base is not
broken anymore.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden