ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved Very Slow Sudo

    IT Discussion
    9
    30
    1.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • black3dynamiteB
      black3dynamite @IRJ
      last edited by

      @IRJ said in Very Slow Sudo:

      @DustinB3403 said in Very Slow Sudo:

      Maybe this?

      Another option would be update to current and see if the issue persists.

      No effect.

      I already had 127.0.0.1 localhost I tried 127.0.0.1 systemname and it made no difference.

      Shouldn't it be 127.0.0.1 localhost and 127.0.1.1 systemname

      IRJI 2 Replies Last reply Reply Quote 0
      • IRJI
        IRJ @DustinB3403
        last edited by

        @DustinB3403 said in Very Slow Sudo:

        Everything I'm seeing for this is related to the hostname either not being in /etc/hosts or that file simply being misconfigured.

        I do have some shit in my host file, so I copied it and then made a new one with just one line 127.0.0.1 hostname still no joy

        1 Reply Last reply Reply Quote 0
        • IRJI
          IRJ @black3dynamite
          last edited by

          @black3dynamite said in Very Slow Sudo:

          @IRJ said in Very Slow Sudo:

          @DustinB3403 said in Very Slow Sudo:

          Maybe this?

          Another option would be update to current and see if the issue persists.

          No effect.

          I already had 127.0.0.1 localhost I tried 127.0.0.1 systemname and it made no difference.

          Shouldn't it be 127.0.0.1 localhost and 127.0.1.1 systemname

          As far as I know, all 127.* is the same loopback address.

          ObsolesceO 1 Reply Last reply Reply Quote 1
          • black3dynamiteB
            black3dynamite
            last edited by

            I'll would compare hostnamectl, /etc/hosts and /etc/hostname

            IRJI 1 Reply Last reply Reply Quote 0
            • DustinB3403D
              DustinB3403
              last edited by

              I can't find anything else besides the /etc/hosts being screwy. This guy wrote a blog post on it just last year.

              1 Reply Last reply Reply Quote 0
              • black3dynamiteB
                black3dynamite
                last edited by

                If you were running the sudo command from root, is still slow too?

                1 Reply Last reply Reply Quote 0
                • DustinB3403D
                  DustinB3403
                  last edited by

                  Maybe the sudoers file is messed up?

                  1 Reply Last reply Reply Quote 0
                  • 1
                    1337
                    last edited by 1337

                    Check /etc/resolve.conf

                    Is the DNS server valid and can the machine access it and do hostname lookups?

                    1 Reply Last reply Reply Quote 0
                    • ObsolesceO
                      Obsolesce @IRJ
                      last edited by

                      @IRJ said in Very Slow Sudo:

                      @black3dynamite said in Very Slow Sudo:

                      @IRJ said in Very Slow Sudo:

                      @DustinB3403 said in Very Slow Sudo:

                      Maybe this?

                      Another option would be update to current and see if the issue persists.

                      No effect.

                      I already had 127.0.0.1 localhost I tried 127.0.0.1 systemname and it made no difference.

                      Shouldn't it be 127.0.0.1 localhost and 127.0.1.1 systemname

                      As far as I know, all 127.* is the same loopback address.

                      Ya it's the whole /8

                      1 Reply Last reply Reply Quote 0
                      • IRJI
                        IRJ @black3dynamite
                        last edited by

                        @black3dynamite said in Very Slow Sudo:

                        I'll would compare hostnamectl, /etc/hosts and /etc/hostname

                        All have the same hostname configured.

                        DustinB3403D 1 Reply Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403 @IRJ
                          last edited by

                          @IRJ Did you check the sudoers file in /etc/suoders

                          1 Reply Last reply Reply Quote 0
                          • IRJI
                            IRJ @black3dynamite
                            last edited by

                            @black3dynamite said in Very Slow Sudo:

                            @IRJ said in Very Slow Sudo:

                            @DustinB3403 said in Very Slow Sudo:

                            Maybe this?

                            Another option would be update to current and see if the issue persists.

                            No effect.

                            I already had 127.0.0.1 localhost I tried 127.0.0.1 systemname and it made no difference.

                            Shouldn't it be 127.0.0.1 localhost and 127.0.1.1 systemname

                            So when originally troubleshooting I removed localhost and changed it to systemname I needed both.

                            1 Reply Last reply Reply Quote 0
                            • DashrenderD
                              Dashrender
                              last edited by

                              how long has systemname been a thing?

                              IRJI wrx7mW black3dynamiteB 3 Replies Last reply Reply Quote 1
                              • IRJI
                                IRJ @Dashrender
                                last edited by

                                @Dashrender said in Very Slow Sudo:

                                how long has systemname been a thing?

                                I changed my system name like 2 months ago and thats around the time I had this issue. So yes it appears to be 100% related.

                                DashrenderD 1 Reply Last reply Reply Quote 0
                                • DashrenderD
                                  Dashrender @IRJ
                                  last edited by

                                  @IRJ said in Very Slow Sudo:

                                  @Dashrender said in Very Slow Sudo:

                                  how long has systemname been a thing?

                                  I changed my system name like 2 months ago and thats around the time I had this issue. So yes it appears to be 100% related.

                                  yeah - sorry,

                                  My question was off topic -

                                  I know about Localhost - I've never seen systemname before...

                                  ObsolesceO Florida_manF 2 Replies Last reply Reply Quote 1
                                  • ObsolesceO
                                    Obsolesce @Dashrender
                                    last edited by

                                    @Dashrender said in Very Slow Sudo:

                                    @IRJ said in Very Slow Sudo:

                                    @Dashrender said in Very Slow Sudo:

                                    how long has systemname been a thing?

                                    I changed my system name like 2 months ago and thats around the time I had this issue. So yes it appears to be 100% related.

                                    yeah - sorry,

                                    My question was off topic -

                                    I know about Localhost - I've never seen systemname before...

                                    I'm sure there's a good reason for both systemname and localhost assignments, or it woudlnt' be like that.

                                    1 Reply Last reply Reply Quote 0
                                    • Florida_manF
                                      Florida_man @Dashrender
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • NicN
                                        Nic
                                        last edited by

                                        suuuuuuuuuuu.......doooooooooooooooooo

                                        1 Reply Last reply Reply Quote 1
                                        • wrx7mW
                                          wrx7m @Dashrender
                                          last edited by

                                          @Dashrender said in Very Slow Sudo:

                                          how long has systemname been a thing?

                                          This^

                                          1 Reply Last reply Reply Quote 0
                                          • black3dynamiteB
                                            black3dynamite @Dashrender
                                            last edited by

                                            @Dashrender said in Very Slow Sudo:

                                            how long has systemname been a thing?

                                            Seems to only appear in Debian/Ubuntu systems.

                                            https://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_hostname_resolution

                                            6c6f5d62-6bfe-41ba-8b32-3b528463af7c-image.png

                                            DashrenderD 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post