Re: dbus fails install on MacOS 12.6.3 (x86)

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.general
Organization Snaggled Works
Message-ID <[email protected]>
On 2/5/23 6:07 PM, Scott Hannahs via Fink-users wrote:
> I was trying to reinstall dbus and it fails
> Unpacking dbus (1.8.20-1) over (1.8.20-1) ...
> Setting up dbus (1.8.20-1) ...
> chown: messagebus: illegal user name
> dpkg: error processing package dbus (--install):
> 
> and helpfully suggests that I reinstall passwd-message bus.
> 
> However that fails in trying to modify the entry for user messagebus.
> 
> So, I deleted the user “messagebus” (sudo dscl . delete /Users/messagebus) and then reinstall passwd-mesagebus (sudo fink reinstall passwd-messagebus)
> 
> I figured the would fix the issue.
> 
> BUT it remains.  For some reason the user “messagebus” created by fink is not eligible to be used as an argument to chown.
> 
> NOT sure what system update caused this issue.  But I can not even manually use “chown messagebus” on a file.  Obviously there needs to be an additional property set?
> 
> The messagebus record looks Ok to me.  But something is wrong.
> % dscl . read /Users/messagebus
> dsAttrTypeNative:accountPolicyData:
>   <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> 	<key>creationTime</key>
> 	<real>1675639733.5092769</real>
> </dict>
> </plist>
> 
> dsAttrTypeNative:record_daemon_version: 8602000
> AppleMetaNodeLocation: /Local/Default
> GeneratedUID: 9332DA09-E597-476C-AE6F-95E392473D0C
> NFSHomeDirectory: /opt/sw/var/run/dbus
> Password: *
> PrimaryGroupID: 113
> RealName:
>   messagebus (dbus) daemon,,,
> RecordName: messagebus
> RecordType: dsRecTypeStandard:Users
> UniqueID: 613
> UserShell: /dev/null
> %
> 
> 
> I would also like to note that dbus1.3-shlibs is listed as version 1.8.20.  Which seems weird.

You need to reboot (or maybe just log out) on macOS 12 in order for a 
created user to be useable. Very annoying, but not sure there's anything 
we can do about it.

For the package name itself, the package numbering relates to the 
installed library, which in this case is /sw/lib/libdbus-1.3.dylib. The 
library version (SOVERSION) can often diverge from the package version. 
For example, ffmpeg-5.1 installs the following libraries:

libavcodec.59.dylib
libavdevice.59.dylib
libavfilter.8.dylib
libavformat.59.dylib
libavutil.57.dylib
libpostproc.56.dylib
libswresample.4.dylib
libswscale.6.dylib

Hanspeter

-- 
Eagles may soar, but weasels don't get sucked into jet engines



_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.