Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63803

jenkins not successfully installed on opensuse 15.x or opensuse tumbleweed

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • packaging
    • weekly

      Hi Jenkins Team,

       

      I tried to install native jenkins on the OpenSUSE operating system, but I couldn't make it work properly.

      Native operating system does not have /sbin/chkconfig, this file appears in SUSE Enterprise zones.

      Steps for reproduced:

      1. Go to https://www.jenkins.io/download/ and https://pkg.jenkins.io/opensuse/
      2. sudo zypper addrepo -f https://pkg.jenkins.io/opensuse/ jenkins
      3. sudo zypper refresh
      4. sudo zypper install default-jdk default-jre
      5. sudo zypper install jenkins

       

      /sbin/chkconfig not found

       

      Thanks.

       

          [JENKINS-63803] jenkins not successfully installed on opensuse 15.x or opensuse tumbleweed

          Tim Jacomb added a comment -

          Tim Jacomb added a comment - fyi markewaite

          Mark Waite added a comment -

          Thanks timja.

          Mark Waite added a comment - Thanks timja .

          Nechita Ionut added a comment -

          Hi,

          Has this issue been resolved?

          I haven't tested it before, but I think something has been done in this regard.

          I wanted to know a resolution on this ticket.

           

          Thanks.

           

          Nechita Ionut added a comment - Hi, Has this issue been resolved? I haven't tested it before, but I think something has been done in this regard. I wanted to know a resolution on this ticket.   Thanks.  

          Graham added a comment -

          This is resolved by installing the following package to server the difference between SystemD and SysVinit
           
          #zypper in insserv-compat
           
          you can then user systemctl enable 

          Graham added a comment - This is resolved by installing the following package to server the difference between SystemD and SysVinit   #zypper in insserv-compat   you can then user systemctl enable 

          Basil Crow added a comment -

          The automated tests in jenkinsci/packaging are using openSUSE Leap 15.3, so as far as I know this should be working. sander44 darkrabbit can you please test with 2.339 and/or 2.332.1 and confirm that the issue has been resolved? Thanks!

          Basil Crow added a comment - The automated tests in jenkinsci/packaging are using openSUSE Leap 15.3, so as far as I know this should be working. sander44 darkrabbit can you please test with 2.339 and/or 2.332.1 and confirm that the issue has been resolved? Thanks!

          Mark Waite added a comment -

          Closed as resolved based on the test automation that is running.

          Mark Waite added a comment - Closed as resolved based on the test automation that is running.

          Nechita Ionut added a comment -

          Hi Mark Waite,

           

          I tested today with new Jenkins version.

          And working on openSUSE Tumbleweed.

           

          rpm -qa | grep jenkins
          jenkins
          -2.340-1.2.noarch

           

          cat /etc/os-release  
          NAME="openSUSE Tumbleweed"
          # VERSION="20220324"
          ID="opensuse-tumbleweed"
          ID_LIKE="opensuse suse"
          VERSION_ID="20220324"
          PRETTY_NAME="openSUSE Tumbleweed"
          ANSI_COLOR="0;32"
          CPE_NAME="cpe:/o:opensuse:tumbleweed:20220324"
          BUG_REPORT_URL="https://bugs.opensuse.org"
          HOME_URL="https://www.opensuse.org/"
          DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed"
          LOGO="distributor-logo-Tumbleweed"

           

          systemctl status jenkins -l
          jenkins.service - Jenkins Continuous Integration Server
              Loaded: loaded (/usr/lib/systemd/system/jenkins.service; disabled; vendor preset: disabled)
              Active: active (running) since Mon 2022-03-28 09:06:12 EEST; 5min ago
            Main PID: 4406 (java)
               Tasks: 49 (limit: 4645)
                 CPU: 1min 2.666s
              CGroup: /system.slice/jenkins.service
                      └─4406 /usr/bin/java -Djava.awt.headless=true -jar /usr/share/java/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080

          Mar 28 09:10:46 demo-host jenkins[4406]: 2022-03-28 06:10:46.700+0000 [id=279]        INFO        jenkins.InitReactorRunner$1#onAttained: Listed all plugins
          Mar 28 09:10:46 demo-host jenkins[4406]: 2022-03-28 06:10:46.700+0000 [id=279]        INFO        jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
          Mar 28 09:10:46 demo-host jenkins[4406]: 2022-03-28 06:10:46.735+0000 [id=279]        INFO        jenkins.InitReactorRunner$1#onAttained: Started all plugins
          Mar 28 09:10:46 demo-host jenkins[4406]: 2022-03-28 06:10:46.753+0000 [id=279]        INFO        jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
          Mar 28 09:10:46 demo-host jenkins[4406]: 2022-03-28 06:10:46.756+0000 [id=276]        INFO        jenkins.InitReactorRunner$1#onAttained: System config loaded
          Mar 28 09:10:46 demo-host jenkins[4406]: 2022-03-28 06:10:46.756+0000 [id=276]        INFO        jenkins.InitReactorRunner$1#onAttained: System config adapted
          Mar 28 09:10:46 demo-host jenkins[4406]: 2022-03-28 06:10:46.772+0000 [id=278]        INFO        jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
          Mar 28 09:10:46 demo-host jenkins[4406]: 2022-03-28 06:10:46.777+0000 [id=279]        INFO        jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
          Mar 28 09:10:47 demo-host jenkins[4406]: 2022-03-28 06:10:47.037+0000 [id=277]        INFO        jenkins.InitReactorRunner$1#onAttained: Completed initialization
          Mar 28 09:10:47 demo-host jenkins[4406]: 2022-03-28 06:10:47.038+0000 [id=78]        INFO        h.m.UpdateCenter$CompleteBatchJob#run: Completed installation of 85 plugins in 3 min 42 sec


           

          Thank you for support.

           

           

           

          Nechita Ionut added a comment - Hi Mark Waite,   I tested today with new Jenkins version. And working on openSUSE Tumbleweed.   rpm -qa | grep jenkins jenkins -2.340-1.2.noarch   cat /etc/os-release   NAME="openSUSE Tumbleweed" # VERSION="20220324" ID="opensuse-tumbleweed" ID_LIKE="opensuse suse" VERSION_ID="20220324" PRETTY_NAME="openSUSE Tumbleweed" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:tumbleweed:20220324" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed" LOGO="distributor-logo-Tumbleweed"   systemctl status jenkins -l ● jenkins.service - Jenkins Continuous Integration Server     Loaded: loaded (/usr/lib/systemd/system/jenkins.service; disabled; vendor preset: disabled)     Active: active (running) since Mon 2022-03-28 09:06:12 EEST; 5min ago   Main PID: 4406 (java)      Tasks: 49 (limit: 4645)        CPU: 1min 2.666s     CGroup: /system.slice/jenkins.service             └─4406 /usr/bin/java -Djava.awt.headless=true -jar /usr/share/java/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080 Mar 28 09:10:46 demo-host jenkins [4406] : 2022-03-28 06:10:46.700+0000 [id=279]        INFO        jenkins.InitReactorRunner$1#onAttained: Listed all plugins Mar 28 09:10:46 demo-host jenkins [4406] : 2022-03-28 06:10:46.700+0000 [id=279]        INFO        jenkins.InitReactorRunner$1#onAttained: Prepared all plugins Mar 28 09:10:46 demo-host jenkins [4406] : 2022-03-28 06:10:46.735+0000 [id=279]        INFO        jenkins.InitReactorRunner$1#onAttained: Started all plugins Mar 28 09:10:46 demo-host jenkins [4406] : 2022-03-28 06:10:46.753+0000 [id=279]        INFO        jenkins.InitReactorRunner$1#onAttained: Augmented all extensions Mar 28 09:10:46 demo-host jenkins [4406] : 2022-03-28 06:10:46.756+0000 [id=276]        INFO        jenkins.InitReactorRunner$1#onAttained: System config loaded Mar 28 09:10:46 demo-host jenkins [4406] : 2022-03-28 06:10:46.756+0000 [id=276]        INFO        jenkins.InitReactorRunner$1#onAttained: System config adapted Mar 28 09:10:46 demo-host jenkins [4406] : 2022-03-28 06:10:46.772+0000 [id=278]        INFO        jenkins.InitReactorRunner$1#onAttained: Loaded all jobs Mar 28 09:10:46 demo-host jenkins [4406] : 2022-03-28 06:10:46.777+0000 [id=279]        INFO        jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated Mar 28 09:10:47 demo-host jenkins [4406] : 2022-03-28 06:10:47.037+0000 [id=277]        INFO        jenkins.InitReactorRunner$1#onAttained: Completed initialization Mar 28 09:10:47 demo-host jenkins [4406] : 2022-03-28 06:10:47.038+0000 [id=78]        INFO        h.m.UpdateCenter$CompleteBatchJob#run: Completed installation of 85 plugins in 3 min 42 sec   Thank you for support.      

            Unassigned Unassigned
            sander44 Nechita Ionut
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: