Bug 52762 - control: grep: warning: * at start of expression
Summary: control: grep: warning: * at start of expression
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: corectrl (show other bugs)
Version: unstable
Hardware: x86 Linux
: P5 normal
Assignee: Konstantin A Lepikhov (L.A. Kostis)
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-20 12:12 MSK by Vitaly Chikunov
Modified: 2025-01-20 12:12 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Chikunov 2025-01-20 12:12:15 MSK
Сообщение на stderr при нормальной операции

  # control corectrl
  grep: warning: * at start of expression
  corectrlonly

Видимо дело в этом правиле

        new_subst "$1" \
                "*subject\.isInGroup\(\"$3\"\)\)[[:space:]]{\$" \
                "s/subject\.isInGroup(\".*\$/subject.isInGroup(\"$3\")) {/"

Превращающемся в

  ++ grep -Eq '*subject\.isInGroup\("corectrl"\)\)[[:space:]]{$' /etc/polkit-1/rules.d/90-corectrl.rules
  grep: warning: * at start of expression