ITP: inetsim
GengYu Rao
zouyoo at outlook.com
Fri Feb 9 05:53:57 UTC 2018
Hi lukas
On Friday, February 09, 2018 05:20 AM, Lukas Schwaighofer wrote:
Because that is what we are doing with the logic of your postinst script
New samples in updated versions ofthe inetsim package will *not* be automatically installed
I added the
if [ "$1" = upgrade ]; then
cp -a -u /usr/share/inetsim/data/* /var/lib/inetsim/ 2> /dev/null
So it will be copied to the right place now.
(the binary is already loaded into memory and won't notice that the underlying file
changes).
Sorry, i don't know much about the Perl language,
some said Perl will only read the source file once, and
won't read again. But some also said, the source file
can be re-load if there are some certain code[1]
I found there is "eval" in the code, but i know nothing about Perl
Since we don't know if the next version will replace any code
I think it is better to stop the Perl script.
And also, the script maybe using sample files as a simulation,
so it is not good to replace the sample while running.
[1] https://stackoverflow.com/a/3619045
Regards,
GengYu Rao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-security-team/attachments/20180209/9c95d7de/attachment.html>
More information about the Pkg-security-team
mailing list