This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 201822 - Nightly installer generates huge numbers of system log messages and tries to violate privileges.
Summary: Nightly installer generates huge numbers of system log messages and tries to ...
Status: RESOLVED INVALID
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Yulia Novozhilova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-08 14:06 UTC by theosib
Modified: 2011-09-13 12:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
installation log (57.04 KB, application/x-bzip2)
2011-09-12 18:53 UTC, theosib
Details

Note You need to log in before you can comment on or make changes to this bug.
Description theosib 2011-09-08 14:06:14 UTC
I checked the system logs while the Netbeans installer was running, and I'm seeing huge numbers of these:

9/8/11 9:59:36.775 AM installd: *** process 4202 exceeded 500 log message per second limit  -  remaining messages this second discarded ***

These occur between:
9/8/11 9:58:35.371 AM installd: PackageKit: ----- Begin install -----

and
9/8/11 9:59:50.972 AM installd: Installed "NetBeans Development Version 201109070600" ()
9/8/11 9:59:51.074 AM installd: PackageKit: ----- End install -----


Process 4202 was the installer:
    0  4202     1   0  9:58AM ??         0:10.66 /System/Library/PrivateFrameworks/PackageKit.framework/Resources/installd

Additionally, the installer is trying to get out of its sandbox:


9/8/11 9:58:35.323 AM authorizationhost: SFBuiltinEntitled: Installer.app is not entitled for system.install.apple-software
9/8/11 9:58:35.346 AM authorizationhost: SFBuiltinEntitled: Installer.app is not entitled for system.install.app-store-software
9/8/11 9:58:35.368 AM authorizationhost: SFBuiltinEntitled: Installer.app is not entitled for system.install.app-store-software
9/8/11 9:58:35.369 AM com.apple.SecurityServer: Failed to authorize right 'system.install.app-store-software' by client '/System/Library/PrivateFrameworks/PackageKit.framework/Versions/A/Resources/installd' [4202] for authorization created by '/System/Library/CoreServices/Installer.app' [4193]
Comment 1 Yulia Novozhilova 2011-09-12 17:44:22 UTC
Looks like your system is misconfigured. Do you experience the same problem while installing another software (using native Mac installer software)?
Comment 2 theosib 2011-09-12 17:49:36 UTC
I've never before seen anything like this.  The NetBeans nightly installer is the only thing I've ever seen do this.  I'm simply taking it at face value that the NetBeans installer is generating huge numbers of messages.  Maybe it's detailing every little thing it's doing?  I could see that as actually being helpful for debugging purposes, but wouldn't it be better to put this into a separate log file, rather than just dumping everything into the main system log?
Comment 3 Yulia Novozhilova 2011-09-12 18:21:27 UTC
This is definitely not NetBeans debug info, this looks like a system info(
actually NetBeans uses native MacOS X installer tool)
Sounds like something is wrong with authorization/permissions. Please attach the file /var/log/install.log here. Also please check if the file /private/var/log/secure.log contains this messages.
Comment 4 theosib 2011-09-12 18:52:29 UTC
None of the secure.log files contain anything related to the NetBeans installer.  I'm attaching the system log from when I installed the nightly.

I see lots of this kind of stuff in the log:


Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + for x in '`find . -name \*.jar.pack`'
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: ++ echo ./ide/modules/ext/isorelax20041111.jar.pack
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: ++ sed s/jar.pack/jar/
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + jar=./ide/modules/ext/isorelax20041111.jar
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + '[' -f ./ide/modules/ext/isorelax20041111.jar ']'
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/unpack200 ./ide/modules/ext/isorelax20041111.jar.pack ./ide/modules/ext/isorelax20041111.jar
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: ++ stat -f %Lp ./ide/modules/ext/isorelax20041111.jar.pack
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + chmod 644 ./ide/modules/ext/isorelax20041111.jar
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + touch -r ./ide/modules/ext/isorelax20041111.jar.pack ./ide/modules/ext/isorelax20041111.jar
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + chown 502:admin ./ide/modules/ext/isorelax20041111.jar
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + rm ./ide/modules/ext/isorelax20041111.jar.pack
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + for x in '`find . -name \*.jar.pack`'
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: ++ echo ./ide/modules/ext/jaxb/activation.jar.pack
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: ++ sed s/jar.pack/jar/
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + jar=./ide/modules/ext/jaxb/activation.jar
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + '[' -f ./ide/modules/ext/jaxb/activation.jar ']'
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/unpack200 ./ide/modules/ext/jaxb/activation.jar.pack ./ide/modules/ext/jaxb/activation.jar
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: ++ stat -f %Lp ./ide/modules/ext/jaxb/activation.jar.pack
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + chmod 644 ./ide/modules/ext/jaxb/activation.jar
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + touch -r ./ide/modules/ext/jaxb/activation.jar.pack ./ide/modules/ext/jaxb/activation.jar
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + chown 502:admin ./ide/modules/ext/jaxb/activation.jar
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + rm ./ide/modules/ext/jaxb/activation.jar.pack
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + for x in '`find . -name \*.jar.pack`'
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: ++ echo ./ide/modules/ext/jaxb/api/jaxb-api.jar.pack
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: ++ sed s/jar.pack/jar/
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + jar=./ide/modules/ext/jaxb/api/jaxb-api.jar
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + '[' -f ./ide/modules/ext/jaxb/api/jaxb-api.jar ']'
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/unpack200 ./ide/modules/ext/jaxb/api/jaxb-api.jar.pack ./ide/modules/ext/jaxb/api/jaxb-api.jar
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: ++ stat -f %Lp ./ide/modules/ext/jaxb/api/jaxb-api.jar.pack
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + chmod 644 ./ide/modules/ext/jaxb/api/jaxb-api.jar
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + touch -r ./ide/modules/ext/jaxb/api/jaxb-api.jar.pack ./ide/modules/ext/jaxb/api/jaxb-api.jar
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + chown 502:admin ./ide/modules/ext/jaxb/api/jaxb-api.jar
Sep  8 09:58:54 tomahawk installd[4202]: ./postflight: + rm ./ide/modules/ext/jaxb/api/jaxb-api.jar.pack
Comment 5 theosib 2011-09-12 18:53:08 UTC
Created attachment 110676 [details]
installation log
Comment 6 Yulia Novozhilova 2011-09-13 11:57:50 UTC
secure.log file shouldn't contain anything related NetBeans installer. It may contain the following message (or similar):

SFBuiltinEntitled: Installer.app is
not entitled for system.install.app-store-software
9/8/11 9:58:35.369 AM com.apple.SecurityServer: Failed to authorize right
'system.install.app-store-software' by client
'/System/Library/PrivateFrameworks/PackageKit.framework/Versions/A/Resources/installd'
[4202] for authorization created by
'/System/Library/CoreServices/Installer.app' [4193]

NetBeans log you attached is normal and says NetBeans was successfully installed. Nothing wrong is with NetBeans installer.
Comment 7 Yulia Novozhilova 2011-09-13 12:52:47 UTC
Closing as invalid. Please feel free to reopen if you disagree.