search for: os_release

Displaying 15 results from an estimated 15 matches for "os_release".

Did you mean: xs_release
2016 Aug 31
8
[PATCH 0/2] supermin: use /etc/os-release
...as primary source instead of the various release files in /etc; apparently distros (e.g. openSUSE) are starting removing them. Thanks, Pino Toscano (2): Add simple handling of /etc/os-release Use os-release to detect the distro src/Makefile.am | 3 +++ src/dpkg.ml | 3 ++- src/os_release.ml | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/os_release.mli | 26 ++++++++++++++++++ src/pacman.ml | 5 ++-- src/rpm.ml | 15 ++++++----- 6 files changed, 121 insertions(+), 9 deletions(-) create mode 100644 src/os_release.ml create mode 100644 src/os_release...
2017 Sep 01
0
[supermin][PATCH] os-release: use ID_LIKE as a fallback for SUSE detection
SUSE distros all have in common suse in ID_LIKE field. The ID field could be varying and is even set to 'Dummy' when building the packages. If the usual values for openSUSE/SLE can't be found in ID, try with ID_LIKE. --- src/os_release.ml | 10 +++++++++- src/os_release.mli | 7 +++++++ src/ph_rpm.ml | 1 + 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/os_release.ml b/src/os_release.ml index b2de259..daa8b07 100644 --- a/src/os_release.ml +++ b/src/os_release.ml @@ -29,6 +29,7 @@ let split sep str =...
2017 Sep 01
0
[supermin][PATCH v2] os-release: use ID_LIKE as a fallback for SUSE detection
...ommon suse in ID_LIKE field. The ID field could be varying and is even set to 'Dummy' when building the packages. If the usual values for openSUSE/SLE can't be found in ID, try with ID_LIKE. --- Diff with v1: * Use Utils.string_split rather than too recent String.split_on_char src/os_release.ml | 10 +++++++++- src/os_release.mli | 7 +++++++ src/ph_rpm.ml | 1 + 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/os_release.ml b/src/os_release.ml index b2de259..abf2bea 100644 --- a/src/os_release.ml +++ b/src/os_release.ml @@ -29,6 +29,7 @@ let split sep str =...
2018 Oct 02
1
[supermin PATCH] rpm: generalize openSUSE support
...c/ph_rpm.ml +++ b/src/ph_rpm.ml @@ -40,7 +40,8 @@ let fedora_detect () = let opensuse_detect () = Config.rpm <> "no" && Config.rpm2cpio <> "no" && rpm_is_available () && Config.zypper <> "no" && - (List.mem (Os_release.get_id ()) [ "opensuse-leap"; "opensuse"; "sled"; "sles" ] || + (List.mem (Os_release.get_id ()) [ "sled"; "sles" ] || + string_prefix "opensuse" (Os_release.get_id ()) || try (stat "/etc/SuSE-release").st_...
2016 Aug 31
0
[PATCH 2/2] Use os-release to detect the distro
...dpkg_detect () = Config.dpkg_query <> "no" && Config.dpkg_divert <> "no" && Config.apt_get <> "no" && - try (stat "/etc/debian_version").st_kind = S_REG with Unix_error _ -> false + (List.mem (Os_release.get_id ()) [ "debian"; "ubuntu" ] || + try (stat "/etc/debian_version").st_kind = S_REG with Unix_error _ -> false) let dpkg_primary_arch = ref "" let settings = ref no_settings diff --git a/src/pacman.ml b/src/pacman.ml index 3340fa6..c35668a 1006...
2018 Oct 01
2
[supermin PATCH] rpm: support openSUSE Leap 15
...c/ph_rpm.ml +++ b/src/ph_rpm.ml @@ -40,7 +40,7 @@ let fedora_detect () = let opensuse_detect () = Config.rpm <> "no" && Config.rpm2cpio <> "no" && rpm_is_available () && Config.zypper <> "no" && - (List.mem (Os_release.get_id ()) [ "opensuse"; "sled"; "sles" ] || + (List.mem (Os_release.get_id ()) [ "opensuse-leap"; "opensuse"; "sled"; "sles" ] || try (stat "/etc/SuSE-release").st_kind = S_REG with Unix_error _ -> false)...
2017 Jan 10
2
CentOS 7: BUG: unable to handle kernel NULL pointer dereference
...just started seeing this. Anyone else? reason: BUG: unable to handle kernel NULL pointer dereference at 00000000000000b8 component: kernel count: 1 analyzer: vmcore architecture: x86_64 event_log: kernel: 3.10.0-327.18.2.el7.x86_64 last_occurrence: 1484067452 os_release: CentOS Linux release 7.3.1611 (Core) runlevel: N 3 time: Tue 10 Jan 2017 11:57:32 AM EST type: vmcore uid: 0 username: root mark
2018 Oct 01
0
Re: [supermin PATCH] rpm: support openSUSE Leap 15
...rpm.ml > @@ -40,7 +40,7 @@ let fedora_detect () = > let opensuse_detect () = > Config.rpm <> "no" && Config.rpm2cpio <> "no" && rpm_is_available () && > Config.zypper <> "no" && > - (List.mem (Os_release.get_id ()) [ "opensuse"; "sled"; "sles" ] || > + (List.mem (Os_release.get_id ()) [ "opensuse-leap"; "opensuse"; "sled"; "sles" ] || > try (stat "/etc/SuSE-release").st_kind = S_REG with Unix_error _ -&gt...
2012 Jan 17
1
Errors in /var/spool/mail/root
...root rd_NO_LUKS LANG=en_US.UTF-8 rd_MD_UUID=435d8e67:5dceefb3:85c46cf3:9f6cb0df rd_LVM_LV=VolGroup00/swap SYSFONT=latarcyrheb-sun16 rhgb crashkernel=129M at 0M quiet rd_LVM_LV=VolGroup00/root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM kernel_tainted_short ----- ---------W analyzer ----- Kerneloops os_release ----- CentOS release 6.2 (Final)
2016 Oct 31
0
[PATCH 4/4] rpm: mageia: prefer dnf over urpmi
...p;& rpm_is_available () && - Config.urpmi <> "no" && - Config.fakeroot <> "no" && + ((Config.urpmi <> "no" && Config.fakeroot <> "no") || Config.dnf <> "no") && (Os_release.get_id () = "mageia" || try (stat "/etc/mageia-release").st_kind = S_REG with Unix_error _ -> false) @@ -389,7 +388,10 @@ and opensuse_download_all_packages pkgs dir = and mageia_download_all_packages pkgs dir = let tdir = !settings.tmpdir // string_random8 () in...
2017 Jan 10
0
CentOS 7: BUG: unable to handle kernel NULL pointer dereference
...on: BUG: unable to handle kernel NULL pointer dereference at > 00000000000000b8 > component: kernel > count: 1 > analyzer: vmcore > architecture: x86_64 > event_log: > kernel: 3.10.0-327.18.2.el7.x86_64 > last_occurrence: 1484067452 > os_release: CentOS Linux release 7.3.1611 (Core) Why running the deprecated kernel on the CentOS 7.3? Current is 3.10.0-514.2.2.el7.x86_64 > runlevel: N 3 > time: Tue 10 Jan 2017 11:57:32 AM EST > type: vmcore > uid: 0 > username: root > >...
2016 Oct 31
5
[PATCH 0/4] supermin: use dnf on Mageia
Hi, as pointed out by Neal Gompa, Mageia recently introduced dnf in the distribution (currently only in Cauldron, which is the future Mageia 6), and most probably it will replace urpmi in the future. As such, on Mageia make supermin prefer dnf over urpmi when found, using the same code already used for Fedora. Related change: make test-harder.sh work explicitly also on Mageia
2012 Mar 19
1
ABRT interpretation / guidance needed
...ER_REALROOT=/usr/libexec/webmin PWD=/usr/libexec/webmin/webmincron WEBMIN_CRON=1 SERVER_ADMIN= LANG= SERVER_ROOT=/usr/libexec/webmin WEBMIN_CONFIG=/etc/webmin PERLLIB=/usr/libexec/webmin SHLVL=1 HOME=/root LANGUAGE= MINISERV_PID=1657 SERVER_SOFTWARE=MiniServ/1.580 WEBMIN_VAR=/var/webmin _=/bin/rpm os_release ----- CentOS release 6.2 (Final) Jeff Boyce Meridian Environmental www.meridianenv.com
2012 Jan 13
1
what to do about [abrt] full crash report kernel taint?
...r/vg_iprctmp9-lv_root rd_LVM_LV=vg_iprctmp9/lv_root rd_LVM_LV=vg_iprctmp9/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=128M rhgb quiet kernel_tainted_short ----- ---------W analyzer ----- Kerneloops time ----- 1326399400 os_release ----- CentOS release 6.2 (Final) -- Q: Why should this email be 5 sentences or less? A: http://five.sentenc.es IPRC-help FAQ: http://auana1.soest.hawaii.edu/wiki/index.php/Faq -- Q: Why should this email be 5 sentences or less? A: http://five.sentenc.es IPRC-help FAQ: http://auana1.soest.hawai...
2016 Dec 07
5
[PATCH 0/3] Miscellaneous improvements to supermin.
Document what each module does, using *.mli files. Remove the --dtb option, it's obsolete. Rename modules according to their purpose. Rich.