Alex, There are some initial install/use problems/mis-understandings with the new passwd stuff.
When I updated, everything failed because it could not find /sw/etc/passwd.conf. It appears it was passwd-core that was looking for it to write into couldn't find it. /sw/bin/dpkg-lockwait -r fink-buildlock-passwd-core-20130103-1 (Reading database ... 276012 files and directories currently installed.) Removing fink-buildlock-passwd-core-20130103-1 ... Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/base/passwd-avahi_20130103-1_darwin-x86_64.deb /sw/fink/dists/stable/main/binary-darwin-x86_64/base/passwd-core_20130103-1_darwin-x86_64.deb /sw/fink/dists/stable/main/binary-darwin-x86_64/base/passwd-games_20130103-1_darwin-x86_64.deb /sw/fink/dists/stable/main/binary-darwin-x86_64/base/passwd-messagebus_20130103-1_darwin-x86_64.deb (Reading database ... 276011 files and directories currently installed.) Preparing to replace passwd-avahi 20100305-5 (using .../passwd-avahi_20130103-1_darwin-x86_64.deb) ... Unpacking replacement passwd-avahi ... Preparing to replace passwd-core 20100305-5 (using .../passwd-core_20130103-1_darwin-x86_64.deb) ... Unpacking replacement passwd-core ... Preparing to replace passwd-games 20100305-5 (using .../passwd-games_20130103-1_darwin-x86_64.deb) ... Unpacking replacement passwd-games ... Preparing to replace passwd-messagebus 20100305-5 (using .../passwd-messagebus_20130103-1_darwin-x86_64.deb) ... Unpacking replacement passwd-messagebus ... Setting up passwd-core (20130103-1) ... We recommend allocating UIDs and GIDs automatically, unless you have specific requirements for UIDs and GIDs. Set UIDs/GIDs automatically? [Y/n] n OK. You will be prompted to enter ID numbers for each passwd-* user. cp: /sw/share/passwd-core/passwd.conf: No such file or directory /sw/bin/dpkg: error processing passwd-core (--install): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of passwd-games: passwd-games depends on passwd-core (>= 20130103-1); however: Package passwd-core is not configured yet. /sw/bin/dpkg: error processing passwd-games (--install): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of passwd-messagebus: passwd-messagebus depends on passwd-core (>= 20130103-1); however: Package passwd-core is not configured yet. /sw/bin/dpkg: error processing passwd-messagebus (--install): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of passwd-avahi: passwd-avahi depends on passwd-core (>= 20130103-1); however: Package passwd-core is not configured yet. /sw/bin/dpkg: error processing passwd-avahi (--install): dependency problems - leaving unconfigured Errors were encountered while processing: passwd-core passwd-games passwd-messagebus passwd-avahi ### execution of /sw/bin/dpkg-lockwait failed, exit code 1 I found touching the file initially to create it, then installing passwd-core seems to have done the job. However..... I wanted to pick my UIDs/GIDs since I need all my systems to have the same mapping to user/group name, so I picked 'n' when asked the question and that leads to the following: The following package will be installed or updated: passwd-core Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/base/passwd-core_20130103-1_darwin-x86_64.deb (Reading database ... 276018 files and directories currently installed.) Preparing to replace passwd-core 20130103-1 (using .../passwd-core_20130103-1_darwin-x86_64.deb) ... Unpacking replacement passwd-core ... Setting up passwd-core (20130103-1) ... We recommend allocating UIDs and GIDs automatically, unless you have specific requirements for UIDs and GIDs. Set UIDs/GIDs automatically? [Y/n] n OK. You will be prompted to enter ID numbers for each passwd-* user. [HexaMacPro:~] merle% Not what I was expecting since it said it was going to prompt. That message should be updated to indicate that each individual passwd-* package (but no passwd-core) will prompt. So, I started with passwd-messagebus and that worked fine as it already existed. However, where does fink keep that information? With the old system, it was possible to just rerun the post-install script to create the identical UID/GID map to username/groupname on a different clean system. Is that still possible? Or do we now have to do all this hand-holding every single time we bring in a new or rebuild a system? Thanks! Just trying to understand what extra work is now on the user verses fink keeping track of it. Merle On Jan 8, 2013, at 1:53 PM, Alexander Hansen <alexanderk.han...@gmail.com> wrote: > On 1/3/13 8:23 PM, Alexander Hansen wrote: >> On 1/3/13 6:20 PM, Alexander Hansen wrote: >>> On 1/3/13 6:17 PM, Alexander Hansen wrote: >>>> https://raw.github.com/akhansen/Fink-experimental/master/passwd/passwd-core.info >>>> >>>> Feedback is appreciated. >>>> >>> >>> Oops, I should have noted that this has only been tested for 10.7/10.8/ >>> >> >> I did some testing on 10.6. The upgrade path is kind of involved--we'd >> need to update (as in increase revision) all of the packages with >> dependencies on passwd* to have versioned dependencies on the relevant >> passwd-* splitoffs. >> > > I went ahead and did this: > > https://github.com/akhansen/Fink-experimental/tree/10.4/passwd > > Basically the upgrade path is: > > New Revision of <package> brings in updated version of passwd-<package>, > which brings passwd-core, which Replaces the old passwd (but doesn't > Conflict with it) and overwrites the "update-passwd" script with the new > format. The new passwd-<package> contains the data which the new > "update-passwd" needs to create users. However, it also is set up to > make no user database changes if the user/group already exists, and > passwd-<package> will be installed. > > I also updated the dovecot package (not to a new version): on 10.6 and > later there's a '_dovecot' user, and so I figured that the dovecot > package should use that, and passwd-dovecot becomes a dummy placeholder. > On 10.5 there's no such user, and so 10.5 needs to retain a real > passwd-dovecot package. > > https://github.com/akhansen/Fink-experimental/tree/10.7/passwd contains > the 10.7|10.8 package description. > > -- > Alexander Hansen, Ph.D. > Fink User Liaison > My package updates: http://finkakh.wordpress.com/ > > ------------------------------------------------------------------------------ > Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS > and more. Get SQL Server skills now (including 2012) with LearnDevNow - > 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. > SALE $99.99 this month only - learn more at: > http://p.sf.net/sfu/learnmore_122512 > _______________________________________________ > Fink-devel mailing list > Fink-devel@lists.sourceforge.net > List archive: > http://news.gmane.org/gmane.os.apple.fink.devel > Subscription management: > https://lists.sourceforge.net/lists/listinfo/fink-devel ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel