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

dnsconfd config, traceback

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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • rhel-10.0.beta
    • dnsconfd
    • No
    • None
    • rhel-net-perf
    • ssg_core_services
    • 15
    • 5
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

      What were you trying to do that didn't work?

       

      [root@vm-10-0-184-59 ~]# dnsconfd config
      usage: dnsconfd [-h] [--dbus-name DBUS_NAME] [--log-level LOG_LEVEL] [--resolv-conf-path RESOLV_CONF_PATH] [--listen-address LISTEN_ADDRESS]
                      [--prioritize-wire PRIORITIZE_WIRE] [--resolver-options RESOLVER_OPTIONS] [--dnssec-enabled DNSSEC_ENABLED] [--config-file CONFIG_FILE]
                      {status,reload,config} ...

      local DNS cache network_objects daemon

      positional arguments:
        {status,reload,config}
                              Subcommands
          status              Print status if there is a running instance
          reload              Reload running cache service
          config              Change configuration of service or host

      options:
        -h, --help            show this help message and exit
        --dbus-name DBUS_NAME
                              DBUS name that dnsconfd should use, default com.redhat.dnsconfd
        --log-level LOG_LEVEL
                              Log level of dnsconfd, default DEBUG
        --resolv-conf-path RESOLV_CONF_PATH
                              Path to resolv.conf that the dnsconfd should manage, default /etc/resolv.conf
        --listen-address LISTEN_ADDRESS
                              Address on which local resolver listens, default 127.0.0.1
        --prioritize-wire PRIORITIZE_WIRE
                              If set to yes then wireless interfaces will have lower priority, default yes
        --resolver-options RESOLVER_OPTIONS
                              Options to be used in resolv.conf for alteration of resolver behavior, default 'edns0 trust-ad'
        --dnssec-enabled DNSSEC_ENABLED
                              Enable dnssec record validation, default no
        --config-file CONFIG_FILE
                              Path where config file is located, default /etc/dnsconfd.conf
      Traceback (most recent call last):
        File "/usr/sbin/dnsconfd", line 31, in <module>
          input_module = ResolveDbusInterface(ctx, vars(args))
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/dnsconfd/input_modules/resolve_dbus_interface.py", line 14, in _init_
          bus_name=BusName(config["dbus_name"],
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/service.py", line 134, in _new_
          retval = bus.request_name(name, name_flags)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/bus.py", line 299, in request_name
          return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/connection.py", line 634, in call_blocking
          reply_message = self.send_message_with_reply_and_block(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Request to own name refused by policy
      [root@vm-10-0-184-59 ~]# dnsconfd
      Traceback (most recent call last):
        File "/usr/sbin/dnsconfd", line 31, in <module>
          input_module = ResolveDbusInterface(ctx, vars(args))
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/dnsconfd/input_modules/resolve_dbus_interface.py", line 14, in _init_
          bus_name=BusName(config["dbus_name"],
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/service.py", line 134, in _new_
          retval = bus.request_name(name, name_flags)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/bus.py", line 299, in request_name
          return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/connection.py", line 634, in call_blocking
          reply_message = self.send_message_with_reply_and_block(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Request to own name refused by policy

      Please provide the package NVR for which bug is seen:

      dnsconfd-1.0.2-2.el10.noarch

      Steps to reproduce

      1. dnsconfd or dnsconfd config
      2.  
      3.  

      Expected results

      Actual results

      traceback

              tkorbar@redhat.com Tomáš Korbař
              psklenar Petr Sklenar
              Tomáš Korbař Tomáš Korbař
              Petr Sklenar Petr Sklenar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: