FogBugz (Case [Issue]19861) Pharo VM - CONFIG can't write the config

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FogBugz (Case [Issue]19861) Pharo VM - CONFIG can't write the config

Pharo Issue Tracker
FogBugz Notification
avatar
Alistair Grant opened Case 19861: CONFIG can't write the config and assigned it to Everyone:
Bug in Project:  Pharo VM: 2. External  •  You are subscribed to this case
The CONFIG file delivered with the Pharo 6.0 threaded VM fails to write the config due to insufficient privilege:

sudo cat >/etc/security/limits.d/pharo.conf <<END
* hard rtprio 2
* soft rtprio 2
END

The problem is that file redirection is done as the original user, not as su. The usual workaround is:

#!/bin/bash
cat <<END | sudo tee /etc/security/limits.d/pharo.conf
* hard rtprio 2
* soft rtprio 2
END

This obviously has a high impact as the vm immediately exits due to being unable to set thread priorities appropriately.

Thanks,
Alistair
Priority Priority: 3 – Must Fix Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Pharo6.0

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want FogBugz notifications anymore? Update your preferences.

FogBugz

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker