Re: Mock package is installed, but 'mock' group is missing; what pkg creates the group?

2020-07-13 Thread PGNet Dev
On 7/13/20 3:20 PM, Jerry James wrote:
> On Mon, Jul 13, 2020 at 4:15 PM PGNet Dev  wrote:
>> i can easily manually create the group, but ... this suggests something's 
>> missing/broken in my install; I'd like to find/fix it.
>>
>> if not 'mock' what pkg (re)install creates the mock group?
> 
> The mock-core-configs package is supposed to do that:
> 
> $ rpm -q --scripts mock-core-configs
> preinstall scriptlet (using /bin/sh):
> # check for existence of mock group, create it if not found
> getent group mock > /dev/null || groupadd -f -g 135 -r mock
> exit 0
> ...

a *re*install of *that* pkg does the trick,

 rpm -qa mock-core-configs
  mock-core-configs-32.6-1.fc32.noarch

 getent group mock
  (empty)

 dnf reinstall mock-core-configs

 getent group mock
  mock:x:135:

so, thx! for that!

> Do you have any logs from the F32 install?

the installs have been on a VM -- and i've been cleaning house repeatedly as I 
make progress.

all I've still got is this:

2020-07-13T19:18:53Z SUBDEBUG Reinstall: fedora-packager-0.6.0.4-1.fc32.noarch
2020-07-13T19:18:53Z SUBDEBUG Reinstalled: fedora-packager-0.6.0.4-1.fc32.noarch
2020-07-13T19:18:53Z SUBDEBUG Reinstalled: mock-2.3-1.fc32.noarch
2020-07-13T19:29:13Z INFO --- logging initialized ---
2020-07-13T19:31:45Z INFO --- logging initialized ---
2020-07-13T19:32:11Z INFO --- logging initialized ---
2020-07-13T19:32:23Z SUBDEBUG Reinstall: mock-2.3-1.fc32.noarch
2020-07-13T19:32:23Z INFO warning: group mock does not exist - using root
warning: group mock does not exist - using root
warning: group mock does not exist - using root
warning: group mock does not exist - using root
warning: group mock does not exist - using root

2020-07-13T19:32:23Z SUBDEBUG Reinstalled: mock-2.3-1.fc32.noarch
2020-07-13T19:43:12Z INFO --- logging initialized ---
2020-07-13T19:45:04Z INFO --- logging initialized ---
2020-07-13T20:37:00Z INFO --- logging initialized ---
2020-07-13T20:37:54Z INFO --- logging initialized ---
2020-07-13T20:38:01Z INFO --- logging initialized ---
2020-07-13T20:46:04Z INFO --- logging initialized ---
2020-07-13T20:48:04Z INFO --- logging initialized ---
2020-07-13T20:48:14Z SUBDEBUG Reinstall: mock-2.3-1.fc32.noarch
2020-07-13T20:48:14Z INFO warning: group mock does not exist - using root
warning: group mock does not exist - using root
warning: group mock does not exist - using root
warning: group mock does not exist - using root
warning: group mock does not exist - using root

2020-07-13T20:48:14Z SUBDEBUG Reinstalled: mock-2.3-1.fc32.noarch
2020-07-13T20:48:41Z INFO --- logging initialized ---
2020-07-13T20:48:51Z SUBDEBUG Reinstall: mock-2.3-1.fc32.noarch
2020-07-13T20:48:51Z INFO warning: group mock does not exist - using root
warning: group mock does not exist - using root
warning: group mock does not exist - using root
warning: group mock does not exist - using root
warning: group mock does not exist - using root

2020-07-13T20:48:51Z SUBDEBUG Reinstalled: mock-2.3-1.fc32.noarch
2020-07-13T20:49:05Z INFO --- logging initialized ---
2020-07-13T20:49:45Z INFO --- logging initialized ---
2020-07-13T20:49:53Z SUBDEBUG Reinstall: mock-2.3-1.fc32.noarch
2020-07-13T20:49:53Z INFO warning: group mock does not exist - using root
warning: group mock does not exist - using root
warning: group mock does not exist - using root
warning: group mock does not exist - using root
warning: group mock does not exist - using root

2020-07-13T20:49:53Z SUBDEBUG Reinstalled: mock-2.3-1.fc32.noarch
2020-07-13T21:21:38Z INFO --- logging initialized ---
2020-07-13T21:22:35Z INFO --- logging initialized ---
2020-07-13T21:22:56Z SUBDEBUG Installed: freetype-2.10.1-2.fc32.x86_64
2020-07-13T21:22:57Z SUBDEBUG Installed: boost-system-1.69.0-18.fc32.x86_64
2020-07-13T21:22:57Z SUBDEBUG Installed: 
urw-base35-fonts-common-20170801-14.fc32.noarch
2020-07-13T21:22:57Z SUBDEBUG Installed: nspr-4.25.0-1.fc32.x86_64
2020-07-13T21:22:57Z SUBDEBUG Installed: boost-thread-1.69.0-18.fc32.x86_64
2020-07-13T21:22:57Z SUBDEBUG Installed: boost-chrono-1.69.0-18.fc32.x86_64
2020-07-13T21:22:57Z SUBDEBUG Installed: nss-util-3.53.0-2.fc32.x86_64
2020-07-13T21:22:57Z SUBDEBUG Installed: libjpeg-turbo-2.0.4-3.fc32.x86_64
2020-07-13T21:22:57Z SUBDEBUG Installed: boost-filesystem-1.69.0-18.fc32.x86_64
2020-07-13T21:22:57Z SUBDEBUG Installed: libicu-65.1-2.fc32.x86_64
2020-07-13T21:22:57Z SUBDEBUG Installed: polkit-libs-0.116-7.fc32.x86_64
2020-07-13T21:22:57Z SUBDEBUG Installed: libtalloc-2.3.1-2.fc32.x86_64
2020-07-13T21:22:57Z SUBDEBUG Installed: libX11-xcb-1.6.9-3.fc32.x86_64
2020-07-13T21:22:57Z SUBDEBUG Installed: libICE-1.0.10-3.fc32.x86_64
2020-07-13T21:22:57Z SUBDEBUG Installed: 
device-mapper-event-libs-1.02.171-1.fc32.x86_64
2020-07-13T21:22:57Z SUBDEBUG Installed: apr-1.7.0-3.fc32.x86_64
2020-07-13T21:22:57Z SUBDEBUG Installed: apr-util-bdb-1.6.1-12.fc32.x86_64
2020-07-13T21:22:57Z SUBDEBUG Installed: apr-util-openssl-1.6.1-12.fc32.x86_64
2020-07-13T21:22:57Z SUBDEBUG Installed: 

Re: Mock package is installed, but 'mock' group is missing; what pkg creates the group?

2020-07-13 Thread Jerry James
On Mon, Jul 13, 2020 at 4:15 PM PGNet Dev  wrote:
> i can easily manually create the group, but ... this suggests something's 
> missing/broken in my install; I'd like to find/fix it.
>
> if not 'mock' what pkg (re)install creates the mock group?

The mock-core-configs package is supposed to do that:

$ rpm -q --scripts mock-core-configs
preinstall scriptlet (using /bin/sh):
# check for existence of mock group, create it if not found
getent group mock > /dev/null || groupadd -f -g 135 -r mock
exit 0
...

Do you have any logs from the F32 install?
-- 
Jerry James
http://www.jamezone.org/
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Mock package is installed, but 'mock' group is missing; what pkg creates the group?

2020-07-13 Thread PGNet Dev
i've installed a minimal F32 instance


building up the rpmbuild env, 'mock' pkg is installed

rpm -qa | grep mock
mock-core-configs-32.6-1.fc32.noarch
mock-2.3-1.fc32.noarch

there's _no_ expected 'mock' group installed

getent group mock
(empty)

reinstalling 'mock' warns the group doesn't exist, and fails to create it,

dnf reinstall mock
Last metadata expiration check: 1:04:38 ago on Mon 13 Jul 2020 
12:45:07 PM PDT.
Dependencies resolved.


 PackageArchitecture Version
 Repository Size


Reinstalling:
 mock   noarch   2.3-1.fc32 
 updates   180 k

Transaction Summary



Total download size: 180 k
Installed size: 555 k
Is this ok [y/N]: y
Downloading Packages:
mock-2.3-1.fc32.noarch.rpm6.8 MB/s | 180 kB 
00:00

-
Total  516 kB/s | 180 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing:   1/1
  Reinstalling : mock-2.3-1.fc32.noarch 
  1/2
warning: group mock does not exist - using root
warning: group mock does not exist - using root
warning: group mock does not exist - using root
warning: group mock does not exist - using root
warning: group mock does not exist - using root

  Cleanup  : mock-2.3-1.fc32.noarch 
  2/2
  Running scriptlet: mock-2.3-1.fc32.noarch 
  2/2
  Verifying: mock-2.3-1.fc32.noarch 
  1/2
  Verifying: mock-2.3-1.fc32.noarch 
  2/2

Reinstalled:
  mock-2.3-1.fc32.noarch

Complete!


getent group mock
(empty)

i can easily manually create the group, but ... this suggests something's 
missing/broken in my install; I'd like to find/fix it.

if not 'mock' what pkg (re)install creates the mock group?
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org