News for hackers. Stuff that matters.
Re:A smarter SmartOS? (2016) by cryptonector on Wednesday April 18, 2018 @03:16PM (#16870166)
If you don't need interaction, why do you care if the install scripts run some time later via SMF or what have you? Is there there a desire for the pkg installation command to be synchronous? Certainly it could be made to be, when running on the running OS that is being modified, and I wouldn't object. But I do object to running pkg scripts from the pkg program itself, for all the reasons given earlier.
Re:A smarter SmartOS? (2016) by Annatar on Thursday April 19, 2018 @01:08AM (#16873463)
If you don't need interaction, why do you care if the install scripts run some time later via SMF or what have you?

Because implementing and debugging the asynchronous execution of postinstall scripts is extremely difficult, and preinstall / preremove / postremove nigh impossible. IPS was an extremely bad idea by people who have never done large scale configuration management with OS packaging.