Bug 227952 - ports-mgmt/portmaster fails when other pkg process lock database
Summary: ports-mgmt/portmaster fails when other pkg process lock database
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Stefan Esser
URL:
Keywords: feature, needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2018-05-03 16:05 UTC by mikhail.rokhin
Modified: 2019-08-31 06:02 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (se)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mikhail.rokhin 2018-05-03 16:05:59 UTC
My case:
Compiling via portmaster (PM further) more 500 ports of KDE4. Background `pkg check` tasks begun suddenly and led to PM failure during next port installation.

My suggestion:
Make PM checking whether another process of pkg is running and locking database, and give user choice to kill all pkg processes or to wait till they exit themselves, and not quit such huge compil. like KDE4 or GNOME3 meta-ports.

ports tree , kernel & world latest.

Thank you for development.
Comment 1 Tatsuki Makino 2018-06-04 22:53:08 UTC
(In reply to mikhail.rokhin from comment #0)
> Background `pkg check` tasks begun suddenly

pkg check -qsa is run by /usr/local/etc/periodic/security/460.pkg-checksum if security_status_pkgchecksum_enable=NO is not written to /etc/periodic.conf.
Comment 2 Walter Schwarzenfeld freebsd_triage 2018-11-14 19:55:35 UTC
See also: bug # 232350.