Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-4630

osbuild-composer should own /etc/osbuild-composer/ to ensure the permissions are correct

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • None
    • Important
    • rhel-sst-image-builder
    • ssg_front_door
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None
    • 57,005

      When /etc/osbuild-composer/ is created with permissions less than 755, the service fails to start.

      The service is trying to see if /etc/osbuild-composer/osbuild-composer.toml is present which it's not 99% of the time. If it can't access /etc/osbuild-composer, then we fail.

      ~~
      osbuild-composer[366376]: time="2023-02-13T11:51:48-05:00" level=fatal msg="Error loading configuration: open /etc/osbuild-composer/osbuild-composer.toml: permission denied"
      ~~

      Nothing own's /etc/osbuild-composer, its user created. If a user has a strict umask, this will automatically create the failure.

      This directory should be owned by osbuild-composer to ensure its created with the right permissions.

              osbuilders Osbuilders Bot Account
              rhn-support-jcastran John Castranio
              Osbuilders Bot Account Osbuilders Bot Account
              RH Bugzilla Integration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: