Questions tagged [sles]
SUSE Linux Enterprise Server is the enterprise version of openSUSE.
218
questions
0
votes
0
answers
238
views
Zypper: System management is locked
I am having trouble updating a SLES 12.5 server. Zypper is not working supposedly due to another zypper process already running:
# zypper lu
System management is locked by the application with pid ...
0
votes
1
answer
990
views
How to fix "PAM unable to dlopen(/lib64/security/pam_ldap.so)" in SLES 15 SP4?
Somehow I ended up in SLES 15 with error messages like this:
(systemd)[6729]: PAM unable to dlopen(/lib64/security/pam_ldap.so): /lib64/security/pam_ldap.so: cannot open shared object file: No such ...
7
votes
1
answer
1k
views
Has grep --quiet a bug with its exit status?
I have some SLES 12 SP5 machines with grep version 2.16 and on a single machine I'm heavily using scripts which contained the following grep --quiet condition:
# $pid_list contains the result of ...
1
vote
0
answers
65
views
Splitting long lines in sssd.conf
I have an MS-AD domain joined SLES server, using sssd to control access.
Is there a way to break long lines in /etc/sssd/sssd.conf file for readability purposes?
From this:
ldap_group_search_base = ou=...
0
votes
0
answers
104
views
Specify a latest patch date for zypper
My requirement with zypper would be to have all systems running the same patch levels, even if patched on various days and not simultaneously.
Let's assume I want to apply all patches up to the 1 of ...
0
votes
2
answers
221
views
How to increase the disk space for /root from /home on SLES SP4?
Currently I am unable to run or install anything on SLES SP4 system because insufficient space in /root. Could you please suggest a way to increase the disk space for /root from /home on SLES SP4?
...
0
votes
1
answer
226
views
Can I auto-mount all users in /home (using `*` key) except one?
Starting on a server where /home had just one user, I thought "adding" the home directories of the other users via NFS using automount's * and &.
Also the NFS has a home directory (but ...
0
votes
1
answer
449
views
SLES15 SP4 | Does "wheel" group not exists anymore?
I have an old .spec file which I want to support for SLES15-SP4. The code tries to add a user in supplement group (-G) which is wheel. This line of code is not working for SLES15-SP4 and the useradd ...
0
votes
0
answers
108
views
Whitelisting USB devices with udev SLES 12.5
I have placed a file called 01-usb.rules in the /etc/udev/rules.d directory.
The contents of the files are as follows:
# Enable only known devices
# skip non USB devices
SUBSYSTEM!="usb", ...
0
votes
1
answer
239
views
SLES15 SP4 | Installation of a rpm package fails when %post scriplet fails with "/usr/lib/1sb/install _initd: No such file or directory"
I have a .spec file to install a rpm. I have the following snippet in post install (%post scriplet)
%post -n %{package_name}
# Enable the service at boot time
%if %{?suse_version:1}0
/usr/lib/lsb/...
1
vote
1
answer
187
views
Zypper | Quietly install Solution 1 for glib2-devel package
I want to install the package glib2-devel inside a sles15 SP4 docker container via some setup script.
The script is failing due to zypper install -y glib2-devel is not getting installed quietly. Here ...
1
vote
0
answers
48
views
Issue in building SLES15 Image with KIWI + OpenSUSE13.2
I am new to Kiwi and Linux. I am trying to build a SLES 15 SP4 image from openSUSE13.2 machine through Docker 1.91
Docker base is SLES15SP4 with Kiwi 9.24.
openSUSE machine does not have internet and ...
1
vote
0
answers
99
views
Configure SuSEfirewall2 in SLES12 SP5 to allow multicast via `sit`
I'm experimenting with multicasts in our Intranet, but it seems the Intranet does not support multicast routing.
Anyway, I set up an IP-IP tunnel (sit1) between two machines in different subnets, and ...
0
votes
0
answers
159
views
SUSE 15 SP3 - After modifying ens33 external interface name to eth0 SSH is not working with sshd service restart
OS - SLES
Version - 15-SP3
I am successfully updating the external network interface name from ens33 to eth0. On reboot, the ifconfig is giving output with eth0 as a device and SSH is also turned on.
...
1
vote
0
answers
520
views
How to investigate "ghost usage" of BTRFS?
It looks like I have about ~31 GByte free space, but when I try to copy a 2 GByte sized /usr dir to a "testing" directory it failed due to no space left on device:
node02:~ # cd /usr
node02:/...
0
votes
0
answers
225
views
SUSE OS 15 Service Pack 3 - How to update the name of network adapter from ens33 to eth0 with DHCP configuration
The ifconfig output shows network adapter as ens33 currently.
I want to configure the system to DHCP with network adapter name as eth0.
Please help.
[UPDATED]
I am able to update the network name by ...
1
vote
1
answer
487
views
Where can I get the current source code for SUSE SLES products?
I'm having a critical support issue with SLES that doesn't make any measurable progress (for months now).
So I wanted to have a look at the source code myself; maybe I can spot the issue.
(It seems a ...
1
vote
1
answer
3k
views
How to create curlrc file for system-wide usage?
I'm trying to setup proxy on my SUSE VM. Following this official guide, I have setup the proxy values in /etc/sysconfig/proxy file.
Now in the same article it says to use credentials with proxy, I ...
1
vote
1
answer
411
views
update initramfs every time rpm is installed or updated
i am working on rpm which contains kernel modules to be installed in to /lib/modules/<uname -r>/updates folder. Since the module is part of initramfs. when ever i install rpm i have to manually ...
1
vote
1
answer
247
views
remake user home directory
I can't seem to (re)make a home directory. A script partially removed the account but it's not quite dead yet. I should probably just finish killing the account and remake it but in the meantime I'd ...
0
votes
1
answer
328
views
NFS Mount keeps coming back after deleted
I have an NFS mount that keeps coming back after I have deleted it from /etc/fstab and from YAST (SLES15 SP2). I don't see any auto.fs or auto mounts and I don't know where this is coming from. ...
2
votes
0
answers
679
views
SLES release (/etc/os-release) does not match kernel version?
I have a system that was supposed to be SLES 15 SP2.
lsb-release -a and /etc/os-release all confirm.
However uname -a is reporting kernel 4.12.14-94.41-default (Which is SLES 12 SP4 according to ...
1
vote
2
answers
313
views
How close are Leap 15.3 and SLE 15 SP3? Can I use one's rpms with the other?
Apologies if this is a stoopid question.
With some effort I have managed to install openSUSE Leap 15.3 on my laptop. As you may know 15.3 is rather different to earlier releases in that it apparently &...
-1
votes
1
answer
144
views
SLES deployment failing with Input/output error [closed]
I am getting the following error when i am trying to install and configure SLE 15 SP3 using autoyast file.
Caller: /mounts/mp_0001/usr/share/YaST2/lib/y2packager/repomd_downloader.rb:86:in 'read'
...
-1
votes
1
answer
209
views
erroe while configuring SLES 15 using autoinst.xml
Environment: SLES 15 SP3
Question:
I got this error while installing and configuring SLES 15 SP3 using autoinst.xml file(autoyast)
Internal error. Please report a bug report with logs.
Run ...
0
votes
0
answers
312
views
Size of SLES iso is more than OpenSUSE. Why?
I can't wrap my head around the fact that the size of SLES (SUSE Linux enterprise server) 15 SP2 is more than the size of OpenSuse Leap.
Here the size for Intel or AMD 64-bit desktops, laptops, and ...
5
votes
2
answers
1k
views
Color-coded git diff -> less doesn't properly show color
I'm working remotely on a SLES11 machine (woe is me). On this machine, I'm using git, and specifically, git diff, which passes its results to less with some of colorization. Now, for some reason, ...
1
vote
1
answer
206
views
Relay access denied only for one machine?
So i have a postfix relay that works for my first machine (SLE12 SP5) but not for my second one (SLE12 SP4).
Both machines are in the same domain, they are also in the same local network and same ...
12
votes
1
answer
21k
views
How can I disable (and later re-enable) one of my NVIDIA GPUs?
I'm working on a system with multiple NVIDIA GPUs. I would like disable / make-disappear one of my GPUs, but not the others; without rebooting; and so that I can later re-enable it.
Is this possible?
...
0
votes
2
answers
4k
views
SLES 12.5 installing Python 3.9 from source
I've tried with
wget https://www.python.org/ftp/python/3.9.4/Python-3.9.4.tgz
tar xvzf Python-3.9.4.tgz
moved into the source directory
./configure
make
Then, after many lines, I receive an error
...
0
votes
1
answer
2k
views
How to install git on SLES 12?
This is similar to the question about http not supported, but I was not able to apply the solutions suggested there to my situation.
I've done
zypper addrepo https://download.opensuse.org/repositories/...
0
votes
1
answer
230
views
ORA-01017 from sqldeveloper but ok from sqlplus
I've logged into Oracle 19c via sqldeveloper as sys and created a new user
-- USER SQL
CREATE USER data_owner IDENTIFIED BY "password!"
DEFAULT TABLESPACE "USERS"
TEMPORARY ...
1
vote
1
answer
1k
views
Unable to run `zypper refresh` on SLES 12.5
I am trying to install docker on SLES 12.5. I tried to follow the instructions on this SO answer.
Initial Attempt
# zypper addrepo https://download.opensuse.org/repositories/Virtualization:containers/...
1
vote
0
answers
35
views
Creating iptables rules based on traffic?
Is there a solution (besides doing "-j LOG" and manually geting the rules) for iptables where I can start a "recoding" for the traffic on a Linux server and based on that a script/...
4
votes
3
answers
2k
views
How do I build PKGCONF and LIBFFI and subsequently Python3.9 with ctypes support without sudo and write access to /usr/local?
How do I properly configure pkgconf and libffi to allow the python3 build process to correctly use my libffi version at every step of the build process, in order to import the _ctypes module correctly?...
7
votes
1
answer
9k
views
Import PGP Keys with no user id into gpg
My company used Authora Edge to create / manage pgp keys. The company unexpectedly closed, and we are in the process of migrating the existing keys into gpg.
When trying to import the public keys, I ...
0
votes
0
answers
971
views
Why is "sudo su" slow without ALL=(root) in /etc/sudoers?
I have had this weird issue on a SLES 12 Server.
Info:
We have lots of application users like for example applusr01, applusr02, ...
We have a special user which has sudoers rights to run commands as ...
0
votes
1
answer
1k
views
XFS space full and also inode got full too? How could this happen?
# df . -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/vgFOO-lv_bar 53136 52857 279 100% /bar
# df . -h
Filesystem Size Used Avail Use% Mounted on
/...
1
vote
1
answer
53
views
Reaching /proc LACP bond infos as normal user?
As a normal user I cannot see the
"details actor lacp pdu"
infos what are in:
/proc/net/bonding/bond0
Looks like only root can see that.
But how could a regular user see these LACP infos? Or ...
0
votes
2
answers
754
views
Linux Pacemaker: Resource showing as "unrunnable start (blocked)" has been created
We are using SLES 12 SP4
We have observed few things from the today testing. Following are the steps:
Step 1: When we create kernel panic (on Node01) with the command “echo 'b' > /proc/sysrq-...
0
votes
1
answer
202
views
How to query openLDAP servers cert?
From the "service sssd status" we can see:
Could not start TLS encryption. TLS: hostname does not match CN in
peer certificate
But how could we query the cert to know, that it is really some ...
0
votes
1
answer
370
views
Inspect (rpm -qp) multiple RPM files, each bundled in different TAR files
I was wondering the possible best time case solutions to extract each RPM files from a list of TAR bundle and get the package information from those files.
So, I have a list of tar bundles in a ...
0
votes
1
answer
506
views
What is consuming the memory on SLES?
SERVER:~ # free -h
total used free shared buffers cached
Mem: 31G 26G 4.5G 98M 0B 1.0G
-/+ buffers/cache: 25G ...
0
votes
1
answer
1k
views
if fstab ending is 0 0 - then there will be never any fsck?
If I can see in /etc/fstab on a SLES12 machine:
/dev/vg/lvtmp /tmp xfs defaults,nodev,nosuid 0 0
that means the "/tmp" will never get fsck'ed?
3
votes
1
answer
10k
views
How do I disable zypper's certificate check?
I'm using SLES 2015 behind a firewall. All of my outgoing communications go over a proxy; specifically, zypper tries to use the proxy when I write, say,
zypper search-packages foo
but the proxy ...
0
votes
1
answer
359
views
Making wheel group membership sufficient for su on SLES 2015
I'm using SLES 2015. I want to make membership in the wheel group sufficient for root-privilege access via su.
From Debian distributions, I'm used to uncommenting the command:
auth sufficient ...
0
votes
1
answer
680
views
Controlling the X display manager service - on SLES 15
I'm not a fan of systemd, and have so far worked with systems which used SysVInit scripts (like Devuan); and upstart on older Ubuntu versions.
Now I'm "stuck" with a SLES 15 machine. I'm trying to ...
0
votes
1
answer
623
views
SSL validation fails, after applying SUSE-SLE-Module-Public-Cloud-12-2020-251
Post applying the following OS patch SUSE-SLE-Module-Public-Cloud-12-2020-251 (Security Update for aws-cli) for the month of Feb 2020, AWS CLI was throwing the error SSL validation failed. The command ...
-1
votes
2
answers
57
views
Trouble compiling ncurses 5 on SLES 2011
To my chagrin, I am working as a non-root user on an SLES (SUSE Linux Enterprise) 11. I'm not root and cannot have packages installed.
I'm trying to build ncurses-5.9. The build configures and make ...
0
votes
1
answer
1k
views
How to switch to another user on the terminal in SLES 12?
I created a user (useradd -d /home/newuser -c "My new user" -s /bin/true newuser), set a password (su newuser), and want to work under this username. But I cannot switch to this user. No error ...