Skip to content

foundryup confused by postfix's anvil #15166

Description

@mdengler

Component

Foundryup

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

1.7.1

What version of Foundryup are you on?

1.8.5

What command(s) is the bug in?

foundryup

Operating System

Linux

Describe the bug

postfix and dovecot have a process called anvil that confuses foundryup's "Is [my] anvil running?" check. Would you accept a patch to check that there is no anvil running as the current user? Or using pgrep --full $(which anvil)? Both are a little fragile, but so is the current situation.

$ foundryup
[...]
foundryup: checking if foundryup is up to date...
foundryup: foundryup is up to date.
foundryup: Error: 'anvil' is currently running. Please stop the process and try again.
$ ps axuwww | grep anvi[l]
postfix  2235236  0.0  0.0  50296  8412 ?        S    14:52   0:00 anvil -l -t unix -u
dovecot  2944386  0.0  0.0  10308  3508 ?        S    May03   0:23 dovecot/anvil

Metadata

Metadata

Assignees

Labels

Type

No fields configured for Bug.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions