Project

General

Profile

Actions

action #47057

closed

[tw][functional][y] Apply workaround for bsc#1124481

Added by coolo about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Target version:
SUSE QA - Milestone 25
Start date:
2019-02-02
Due date:
2019-04-23
% Done:

0%

Estimated time:
3.00 h
Difficulty:

Description

Jve_8
/tmp/scriptJve_8.sh: line 1: syntax error near unexpected token `('
SCRIPT_FINISHEDJve_8-2- at /usr/lib/os-autoinst/testapi.pm line 1001.

Now we got same issue for other validation tests ybonatakis has implemented for lvm tests, so we should apply workaround to catch issues on TW as seems there is not much going on in the bug.

Thing to try:

  • We need to check if apparmor is running as can be a culprit of this behavior
  • Apply different permissions to /root/.bash_history
  • Suppress lvm warnings as proposed by Martin
  • Soft-failure should still reference https://bugzilla.opensuse.org/show_bug.cgi?id=1124481 as it's a workaround

Observation

openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-lvm_thin_provisioning@64bit fails in
lvm_thin_check

Test suite description

Complete OS deployment with unencrypted LVM drive management. Test creates 2 LVM and BIOS boot partitions. Thin pool and thin lv resides on the second LVM partition, where /home (XFS) is being mounted.
Maintainer: mloviska, poo#39023

Reproducible

Fails since (at least) Build 20190129

Expected result

Last good: 20190126 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by mloviska about 5 years ago

  • Subject changed from [tw] Syntax error in lvm_thin_check to [tw][fast][y] Syntax error in lvm_thin_check
  • Due date set to 2019-02-12
  • Status changed from New to In Progress
Actions #2

Updated by mloviska about 5 years ago

lvm(8)
On  invocation, lvm requires that only the standard file descriptors stdin, stdout and stderr are available.  If others are found, they get closed and messages are issued warning about the leak.  This warning can be suppressed by setting the environment variable LVM_SUPPRESS_FD_WARNINGS.

https://openqa.opensuse.org/tests/844577#step/grub_set_bootargs/10

Hm...I guess something funny happened during installation.

Actions #3

Updated by mloviska about 5 years ago


2019-02-02 10:45:10 <1> linux-0gs7(3341) [Ruby] bootloader/kexec.rb:108 Command for copy: /bin/cp -L /mnt/boot/vmlinuz /mnt/boot/initrd /var/lib/YaST2 and result {"exit"=>0, "stderr"=>"", "stdout"=>""}
2019-02-02 10:45:10 <1> linux-0gs7(3341) [Ruby] lib/cheetah.rb:158 Executing "/sbin/mkinitrd".
2019-02-02 10:45:10 <1> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Standard output: Creating initrd: /boot/initrd-4.20.4-1-default
2019-02-02 10:45:10 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /boot/initrd-4.20.4-1-default 4.20.4-1-default
2019-02-02 10:45:14 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: bash ***
2019-02-02 10:45:14 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: systemd ***
2019-02-02 10:45:14 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: warpclock ***
2019-02-02 10:45:14 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: systemd-initrd ***
2019-02-02 10:45:14 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: i18n ***
2019-02-02 10:45:14 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: drm ***
2019-02-02 10:45:15 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: plymouth ***
2019-02-02 10:45:16 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: btrfs ***
2019-02-02 10:45:16 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: dm ***
2019-02-02 10:45:16 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: Skipping udev rule: 64-device-mapper.rules
2019-02-02 10:45:16 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: Skipping udev rule: 60-persistent-storage-dm.rules
2019-02-02 10:45:16 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: Skipping udev rule: 55-dm.rules
2019-02-02 10:45:17 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: kernel-modules ***
2019-02-02 10:45:35 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: lvm ***
2019-02-02 10:45:35 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: Skipping udev rule: 64-device-mapper.rules
2019-02-02 10:45:35 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: Skipping udev rule: 56-lvm.rules
2019-02-02 10:45:35 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: Skipping udev rule: 60-persistent-storage-lvm.rules
2019-02-02 10:45:35 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: qemu ***
2019-02-02 10:45:35 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: resume ***
2019-02-02 10:45:35 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: rootfs-block ***
2019-02-02 10:45:35 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: suse-xfs ***
2019-02-02 10:45:35 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: terminfo ***
2019-02-02 10:45:35 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: udev-rules ***
2019-02-02 10:45:35 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: Skipping udev rule: 40-redhat.rules
2019-02-02 10:45:35 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: Skipping udev rule: 50-firmware.rules
2019-02-02 10:45:35 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: Skipping udev rule: 50-udev.rules
2019-02-02 10:45:36 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: Skipping udev rule: 91-permissions.rules
2019-02-02 10:45:36 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: Skipping udev rule: 80-drivers-modprobe.rules
2019-02-02 10:45:36 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: dracut-systemd ***
2019-02-02 10:45:36 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: haveged ***
2019-02-02 10:45:36 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: ostree ***
2019-02-02 10:45:36 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: usrmount ***
2019-02-02 10:45:36 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: base ***
2019-02-02 10:45:36 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: fs-lib ***
2019-02-02 10:45:36 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: shutdown ***
2019-02-02 10:45:36 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including module: suse ***
2019-02-02 10:45:36 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Including modules done ***
2019-02-02 10:45:36 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Installing kernel module dependencies and firmware ***
2019-02-02 10:45:36 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Installing kernel module dependencies and firmware done ***
2019-02-02 10:45:36 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Resolving executable dependencies ***
2019-02-02 10:45:37 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Resolving executable dependencies done***
2019-02-02 10:45:37 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Hardlinking files ***
2019-02-02 10:45:37 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Hardlinking files done ***
2019-02-02 10:45:37 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Stripping files ***
2019-02-02 10:45:38 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Stripping files done ***
2019-02-02 10:45:38 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Generating early-microcode cpio image ***
2019-02-02 10:45:38 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Constructing GenuineIntel.bin ****
2019-02-02 10:45:38 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Store current command line parameters ***
2019-02-02 10:45:38 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: Stored kernel commandline:
2019-02-02 10:45:38 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: rd.lvm.lv=vg-no-thin/lv-swap
2019-02-02 10:45:38 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: rd.lvm.lv=vg-no-thin/lv-root
2019-02-02 10:45:38 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: resume=/dev/mapper/vg--no--thin-lv--swap
2019-02-02 10:45:38 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: root=/dev/mapper/vg--no--thin-lv--root rootfstype=btrfs rootflags=rw,relatime,space_cache,subvolid=256,subvol=/@,subvol=@
2019-02-02 10:45:38 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Creating image file '/boot/initrd-4.20.4-1-default' ***
2019-02-02 10:45:42 <3> linux-0gs7(3341) [Ruby] lib/cheetah.rb:206 Error output: dracut: *** Creating initramfs image file '/boot/initrd-4.20.4-1-default' done ***

Actions #4

Updated by riafarov about 5 years ago

Should we file a bug for that?

Actions #5

Updated by mloviska about 5 years ago

This is a good question. The lvm message is only a warning and can be suppressed by setting the environment variable LVM_SUPPRESS_FD_WARNINGS. But, why there is another FD opened and why this issue does not happen on other distris or it did not occured in the past is a mystery for me. I am trying to figure out what is the 3rd FD. Logs did not show anything related and I am not sure whether the dracut output is related or not.

Actions #6

Updated by mloviska about 5 years ago

COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
bash    2863 root  cwd    DIR   0,44      116   256 /root
bash    2863 root  rtd    DIR   0,42      136   256 /
bash    2863 root  txt    REG   0,42  1045408 20499 /bin/bash
bash    2863 root  mem    REG   0,42   330604 47550 /usr/lib/locale/en_US.utf8/LC_CTYPE
bash    2863 root  mem    REG   0,42  1244054 47555 /usr/lib/locale/en_US.utf8/LC_COLLATE
bash    2863 root  mem    REG   0,43   217032 18583 /var/lib/nscd/passwd
bash    2863 root  mem    REG   0,42   198240 11548 /lib64/libtinfo.so.6.1
bash    2863 root  mem    REG   0,42  2082032  8255 /lib64/libc-2.27.so
bash    2863 root  mem    REG   0,42    18608  8261 /lib64/libdl-2.27.so
bash    2863 root  mem    REG   0,42   334000 19618 /lib64/libreadline.so.8.0
bash    2863 root  mem    REG   0,42       54 47574 /usr/lib/locale/en_US.utf8/LC_NUMERIC
bash    2863 root  mem    REG   0,42     3316 44887 /usr/lib/locale/en_US.utf8/LC_TIME
bash    2863 root  mem    REG   0,42      286 47692 /usr/lib/locale/en_US.utf8/LC_MONETARY
bash    2863 root  mem    REG   0,42       57 47765 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
bash    2863 root  mem    REG   0,42       34 47693 /usr/lib/locale/en_US.utf8/LC_PAPER
bash    2863 root  mem    REG   0,42       77 47646 /usr/lib/locale/en_US.utf8/LC_NAME
bash    2863 root  mem    REG   0,42      167 44884 /usr/lib/locale/en_US.utf8/LC_ADDRESS
bash    2863 root  mem    REG   0,42       59 47694 /usr/lib/locale/en_US.utf8/LC_TELEPHONE
bash    2863 root  mem    REG   0,42       23 47691 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
bash    2863 root  mem    REG   0,42    26360 47972 /usr/lib64/gconv/gconv-modules.cache
bash    2863 root  mem    REG   0,42      368 44885 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
bash    2863 root  mem    REG   0,42   180984  8247 /lib64/ld-2.27.so
bash    2863 root    0u   CHR    4,6      0t0  9483 /dev/tty6
bash    2863 root    1u   CHR    4,6      0t0  9483 /dev/tty6
bash    2863 root    2u   CHR    4,6      0t0  9483 /dev/tty6
bash    2863 root    3r   REG   0,44        0   259 /root/.bash_history
bash    2863 root  255u   CHR    4,6      0t0  9483 /dev/tty6
GNU bash, version 5.0.0(1)-release (x86_64-suse-linux-gnu)
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This line seems to be the problem, fd 3 is opened only in read mode for /root/.bash_history.
bash 2863 root 3r REG 0,44 0 259 /root/.bash_history

COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF    NODE NAME
bash    32530 root  cwd    DIR   0,47     1816   13296 /root
bash    32530 root  rtd    DIR   0,47      156     256 /
bash    32530 root  txt    REG   0,47  1016640 1855716 /bin/bash
bash    32530 root  mem    REG   0,47  2078080 1726799 /lib64/libc-2.27.so
bash    32530 root  mem    REG   0,47    18704 1726805 /lib64/libdl-2.27.so
bash    32530 root  mem    REG   0,47   181048 1726791 /lib64/ld-2.27.so
bash    32530 root  mem    REG   0,47   217032  139914 /var/lib/nscd/passwd
bash    32530 root  mem    REG   0,47   330604 1770209 /usr/lib/locale/en_US.utf8/LC_CTYPE
bash    32530 root  mem    REG   0,47   198240 2237242 /lib64/libtinfo.so.6.1
bash    32530 root  mem    REG   0,47   325616 2287516 /lib64/libreadline.so.7.0
bash    32530 root  mem    REG   0,47    26360 1770631 /usr/lib64/gconv/gconv-modules.cache
bash    32530 root    0u   CHR  136,6      0t0       9 /dev/pts/6
bash    32530 root    1u   CHR  136,6      0t0       9 /dev/pts/6
bash    32530 root    2u   CHR  136,6      0t0       9 /dev/pts/6
bash    32530 root  255u   CHR  136,6      0t0       9 /dev/pts/6
# bash --version
GNU bash, version 4.4.23(1)-release (x86_64-suse-linux-gnu)
Actions #7

Updated by mloviska about 5 years ago

Version of running shell is better to check via $BASH_VERSION -> 5.0.0(1)-release

Actions #8

Updated by mloviska about 5 years ago

I have re-logged to the system and opened several bash terminal:

  • bash PID 4636
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
bash    4636 root  cwd    DIR   0,44      188   256 /root
bash    4636 root  rtd    DIR   0,42      136   256 /
bash    4636 root  txt    REG   0,42  1045408 20499 /bin/bash
bash    4636 root  mem    REG   0,43   217032 18583 /var/lib/nscd/passwd
bash    4636 root  mem    REG   0,42   330604 47550 /usr/lib/locale/en_US.utf8/LC_CTYPE
bash    4636 root  mem    REG   0,42  1244054 47555 /usr/lib/locale/en_US.utf8/LC_COLLATE
bash    4636 root  mem    REG   0,42   198240 11548 /lib64/libtinfo.so.6.1
bash    4636 root  mem    REG   0,42  2082032  8255 /lib64/libc-2.27.so
bash    4636 root  mem    REG   0,42    18608  8261 /lib64/libdl-2.27.so
bash    4636 root  mem    REG   0,42   334000 19618 /lib64/libreadline.so.8.0
bash    4636 root  mem    REG   0,42       54 47574 /usr/lib/locale/en_US.utf8/LC_NUMERIC
bash    4636 root  mem    REG   0,42     3316 44887 /usr/lib/locale/en_US.utf8/LC_TIME
bash    4636 root  mem    REG   0,42      286 47692 /usr/lib/locale/en_US.utf8/LC_MONETARY
bash    4636 root  mem    REG   0,42       57 47765 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
bash    4636 root  mem    REG   0,42       34 47693 /usr/lib/locale/en_US.utf8/LC_PAPER
bash    4636 root  mem    REG   0,42       77 47646 /usr/lib/locale/en_US.utf8/LC_NAME
bash    4636 root  mem    REG   0,42      167 44884 /usr/lib/locale/en_US.utf8/LC_ADDRESS
bash    4636 root  mem    REG   0,42       59 47694 /usr/lib/locale/en_US.utf8/LC_TELEPHONE
bash    4636 root  mem    REG   0,42       23 47691 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
bash    4636 root  mem    REG   0,42    26360 47972 /usr/lib64/gconv/gconv-modules.cache
bash    4636 root  mem    REG   0,42      368 44885 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
bash    4636 root  mem    REG   0,42   180984  8247 /lib64/ld-2.27.so
bash    4636 root    0u   CHR  229,0      0t0 11668 /dev/hvc0
bash    4636 root    1u   CHR  229,0      0t0 11668 /dev/hvc0
bash    4636 root    2u   CHR  229,0      0t0 11668 /dev/hvc0
bash    4636 root    3r   REG   0,44     3126   259 /root/.bash_history
bash    4636 root  255u   CHR  229,0      0t0 11668 /dev/hvc0
  • PID 5104
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
bash    5104 root  cwd    DIR   0,44      198   256 /root
bash    5104 root  rtd    DIR   0,42      136   256 /
bash    5104 root  txt    REG   0,42  1045408 20499 /bin/bash
bash    5104 root  mem    REG   0,42   330604 47550 /usr/lib/locale/en_US.utf8/LC_CTYPE
bash    5104 root  mem    REG   0,42  1244054 47555 /usr/lib/locale/en_US.utf8/LC_COLLATE
bash    5104 root  mem    REG   0,43   217032 18583 /var/lib/nscd/passwd
bash    5104 root  mem    REG   0,42   198240 11548 /lib64/libtinfo.so.6.1
bash    5104 root  mem    REG   0,42  2082032  8255 /lib64/libc-2.27.so
bash    5104 root  mem    REG   0,42    18608  8261 /lib64/libdl-2.27.so
bash    5104 root  mem    REG   0,42   334000 19618 /lib64/libreadline.so.8.0
bash    5104 root  mem    REG   0,42       54 47574 /usr/lib/locale/en_US.utf8/LC_NUMERIC
bash    5104 root  mem    REG   0,42     3316 44887 /usr/lib/locale/en_US.utf8/LC_TIME
bash    5104 root  mem    REG   0,42      286 47692 /usr/lib/locale/en_US.utf8/LC_MONETARY
bash    5104 root  mem    REG   0,42       57 47765 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
bash    5104 root  mem    REG   0,42       34 47693 /usr/lib/locale/en_US.utf8/LC_PAPER
bash    5104 root  mem    REG   0,42       77 47646 /usr/lib/locale/en_US.utf8/LC_NAME
bash    5104 root  mem    REG   0,42      167 44884 /usr/lib/locale/en_US.utf8/LC_ADDRESS
bash    5104 root  mem    REG   0,42       59 47694 /usr/lib/locale/en_US.utf8/LC_TELEPHONE
bash    5104 root  mem    REG   0,42       23 47691 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
bash    5104 root  mem    REG   0,42    26360 47972 /usr/lib64/gconv/gconv-modules.cache
bash    5104 root  mem    REG   0,42      368 44885 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
bash    5104 root  mem    REG   0,42   180984  8247 /lib64/ld-2.27.so
bash    5104 root    0u   CHR    4,6      0t0  9483 /dev/tty6
bash    5104 root    1u   CHR    4,6      0t0  9483 /dev/tty6
bash    5104 root    2u   CHR    4,6      0t0  9483 /dev/tty6
bash    5104 root  255u   CHR    4,6      0t0  9483 /dev/tty6
  • PID 5200
COMMAND  PID     USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
bash    5200 bernhard  cwd    DIR  254,6     4096   131 /home/bernhard
bash    5200 bernhard  rtd    DIR   0,42      136   256 /
bash    5200 bernhard  txt    REG   0,42  1045408 20499 /bin/bash
bash    5200 bernhard  mem    REG   0,42   330604 47550 /usr/lib/locale/en_US.utf8/LC_CTYPE
bash    5200 bernhard  mem    REG   0,42  1244054 47555 /usr/lib/locale/en_US.utf8/LC_COLLATE
bash    5200 bernhard  mem    REG   0,43   217032 18583 /var/lib/nscd/passwd
bash    5200 bernhard  mem    REG   0,42   198240 11548 /lib64/libtinfo.so.6.1
bash    5200 bernhard  mem    REG   0,42  2082032  8255 /lib64/libc-2.27.so
bash    5200 bernhard  mem    REG   0,42    18608  8261 /lib64/libdl-2.27.so
bash    5200 bernhard  mem    REG   0,42   334000 19618 /lib64/libreadline.so.8.0
bash    5200 bernhard  mem    REG   0,42       54 47574 /usr/lib/locale/en_US.utf8/LC_NUMERIC
bash    5200 bernhard  mem    REG   0,42     3316 44887 /usr/lib/locale/en_US.utf8/LC_TIME
bash    5200 bernhard  mem    REG   0,42      286 47692 /usr/lib/locale/en_US.utf8/LC_MONETARY
bash    5200 bernhard  mem    REG   0,42       57 47765 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
bash    5200 bernhard  mem    REG   0,42       34 47693 /usr/lib/locale/en_US.utf8/LC_PAPER
bash    5200 bernhard  mem    REG   0,42       77 47646 /usr/lib/locale/en_US.utf8/LC_NAME
bash    5200 bernhard  mem    REG   0,42      167 44884 /usr/lib/locale/en_US.utf8/LC_ADDRESS
bash    5200 bernhard  mem    REG   0,42       59 47694 /usr/lib/locale/en_US.utf8/LC_TELEPHONE
bash    5200 bernhard  mem    REG   0,42       23 47691 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
bash    5200 bernhard  mem    REG   0,42    26360 47972 /usr/lib64/gconv/gconv-modules.cache
bash    5200 bernhard  mem    REG   0,42      368 44885 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
bash    5200 bernhard  mem    REG   0,42   180984  8247 /lib64/ld-2.27.so
bash    5200 bernhard    0u   CHR    4,6      0t0  9483 /dev/tty6
bash    5200 bernhard    1u   CHR    4,6      0t0  9483 /dev/tty6
bash    5200 bernhard    2u   CHR    4,6      0t0  9483 /dev/tty6
bash    5200 bernhard  255u   CHR    4,6      0t0  9483 /dev/tty6
Actions #9

Updated by mloviska about 5 years ago

Situation after first_boot:

  • ps
root      2873  0.0  0.3   7416  5184 tty6     Ss   05:01   0:00 -bash
root      4593  0.0  0.3   7400  5380 hvc0     Ss+  05:10   0:00 -bash
root      4952  0.0  0.0   3472   776 tty6     S+   06:23   0:00 grep --color=auto -i bash
  • fd[3] is opened by both bash process
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
bash    2873 root  cwd    DIR   0,44      168   256 /root
bash    2873 root  rtd    DIR   0,42      136   256 /
bash    2873 root  txt    REG   0,42  1045408 20499 /bin/bash
bash    2873 root  mem    REG   0,42   330604 47550 /usr/lib/locale/en_US.utf8/LC_CTYPE
bash    2873 root  mem    REG   0,42  1244054 47555 /usr/lib/locale/en_US.utf8/LC_COLLATE
bash    2873 root  mem    REG   0,43   217032 18580 /var/lib/nscd/passwd
bash    2873 root  mem    REG   0,42   198240 11548 /lib64/libtinfo.so.6.1
bash    2873 root  mem    REG   0,42  2082032  8255 /lib64/libc-2.27.so
bash    2873 root  mem    REG   0,42    18608  8261 /lib64/libdl-2.27.so
bash    2873 root  mem    REG   0,42   334000 19618 /lib64/libreadline.so.8.0
bash    2873 root  mem    REG   0,42       54 47574 /usr/lib/locale/en_US.utf8/LC_NUMERIC
bash    2873 root  mem    REG   0,42     3316 44887 /usr/lib/locale/en_US.utf8/LC_TIME
bash    2873 root  mem    REG   0,42      286 47692 /usr/lib/locale/en_US.utf8/LC_MONETARY
bash    2873 root  mem    REG   0,42       57 47765 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
bash    2873 root  mem    REG   0,42       34 47693 /usr/lib/locale/en_US.utf8/LC_PAPER
bash    2873 root  mem    REG   0,42       77 47646 /usr/lib/locale/en_US.utf8/LC_NAME
bash    2873 root  mem    REG   0,42      167 44884 /usr/lib/locale/en_US.utf8/LC_ADDRESS
bash    2873 root  mem    REG   0,42       59 47694 /usr/lib/locale/en_US.utf8/LC_TELEPHONE
bash    2873 root  mem    REG   0,42       23 47691 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
bash    2873 root  mem    REG   0,42    26360 47972 /usr/lib64/gconv/gconv-modules.cache
bash    2873 root  mem    REG   0,42      368 44885 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
bash    2873 root  mem    REG   0,42   180984  8247 /lib64/ld-2.27.so
bash    2873 root    0u   CHR    4,6      0t0  9483 /dev/tty6
bash    2873 root    1u   CHR    4,6      0t0  9483 /dev/tty6
bash    2873 root    2u   CHR    4,6      0t0  9483 /dev/tty6
bash    2873 root    3r   REG   0,44        0   259 /root/.bash_history
bash    2873 root  255u   CHR    4,6      0t0  9483 /dev/tty6

COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
bash    4593 root  cwd    DIR   0,44      168   256 /root
bash    4593 root  rtd    DIR   0,42      136   256 /
bash    4593 root  txt    REG   0,42  1045408 20499 /bin/bash
bash    4593 root  mem    REG   0,43   217032 18580 /var/lib/nscd/passwd
bash    4593 root  mem    REG   0,42   330604 47550 /usr/lib/locale/en_US.utf8/LC_CTYPE
bash    4593 root  mem    REG   0,42  1244054 47555 /usr/lib/locale/en_US.utf8/LC_COLLATE
bash    4593 root  mem    REG   0,42   198240 11548 /lib64/libtinfo.so.6.1
bash    4593 root  mem    REG   0,42  2082032  8255 /lib64/libc-2.27.so
bash    4593 root  mem    REG   0,42    18608  8261 /lib64/libdl-2.27.so
bash    4593 root  mem    REG   0,42   334000 19618 /lib64/libreadline.so.8.0
bash    4593 root  mem    REG   0,42       54 47574 /usr/lib/locale/en_US.utf8/LC_NUMERIC
bash    4593 root  mem    REG   0,42     3316 44887 /usr/lib/locale/en_US.utf8/LC_TIME
bash    4593 root  mem    REG   0,42      286 47692 /usr/lib/locale/en_US.utf8/LC_MONETARY
bash    4593 root  mem    REG   0,42       57 47765 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
bash    4593 root  mem    REG   0,42       34 47693 /usr/lib/locale/en_US.utf8/LC_PAPER
bash    4593 root  mem    REG   0,42       77 47646 /usr/lib/locale/en_US.utf8/LC_NAME
bash    4593 root  mem    REG   0,42      167 44884 /usr/lib/locale/en_US.utf8/LC_ADDRESS
bash    4593 root  mem    REG   0,42       59 47694 /usr/lib/locale/en_US.utf8/LC_TELEPHONE
bash    4593 root  mem    REG   0,42       23 47691 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
bash    4593 root  mem    REG   0,42    26360 47972 /usr/lib64/gconv/gconv-modules.cache
bash    4593 root  mem    REG   0,42      368 44885 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
bash    4593 root  mem    REG   0,42   180984  8247 /lib64/ld-2.27.so
bash    4593 root    0u   CHR  229,0      0t0 11668 /dev/hvc0
bash    4593 root    1u   CHR  229,0      0t0 11668 /dev/hvc0
bash    4593 root    2u   CHR  229,0      0t0 11668 /dev/hvc0
bash    4593 root    3r   REG   0,44        0   259 /root/.bash_history
bash    4593 root  255u   CHR  229,0      0t0 11668 /dev/hvc0

Spawn 10 bash processes as root

  • lsof -a -p 5195
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
bash    5195 root  cwd    DIR   0,44      328   256 /root
bash    5195 root  rtd    DIR   0,42      136   256 /
bash    5195 root  txt    REG   0,42  1045408 20499 /bin/bash
bash    5195 root  mem    REG   0,43   217032 18580 /var/lib/nscd/passwd
bash    5195 root  mem    REG   0,42   330604 47550 /usr/lib/locale/en_US.utf8/LC_CTYPE
bash    5195 root  mem    REG   0,42   198240 11548 /lib64/libtinfo.so.6.1
bash    5195 root  mem    REG   0,42  2082032  8255 /lib64/libc-2.27.so
bash    5195 root  mem    REG   0,42    18608  8261 /lib64/libdl-2.27.so
bash    5195 root  mem    REG   0,42   334000 19618 /lib64/libreadline.so.8.0
bash    5195 root  mem    REG   0,42    26360 47972 /usr/lib64/gconv/gconv-modules.cache
bash    5195 root  mem    REG   0,42   180984  8247 /lib64/ld-2.27.so
bash    5195 root    0u   CHR    4,6      0t0  9483 /dev/tty6
bash    5195 root    1u   CHR    4,6      0t0  9483 /dev/tty6
bash    5195 root    2u   CHR    4,6      0t0  9483 /dev/tty6
bash    5195 root    3r   REG   0,44        0   259 /root/.bash_history
bash    5195 root    4r   REG   0,44        0   259 /root/.bash_history
bash    5195 root    5r   REG   0,44        0   259 /root/.bash_history
bash    5195 root    6r   REG   0,44        0   259 /root/.bash_history
bash    5195 root    7r   REG   0,44        0   259 /root/.bash_history
bash    5195 root    8r   REG   0,44        0   259 /root/.bash_history
bash    5195 root    9r   REG   0,44        0   259 /root/.bash_history
bash    5195 root   10r   REG   0,44        0   259 /root/.bash_history
bash    5195 root  255u   CHR    4,6      0t0  9483 /dev/tty6
  • ps
root      2873  0.0  0.3   7680  5480 tty6     Ss   05:01   0:00 -bash
root      4593  0.0  0.3   7400  5380 hvc0     Ss+  05:10   0:00 -bash
root      5018  0.0  0.3   6108  5008 tty6     S    06:29   0:00 bash
root      5068  0.0  0.3   6108  5208 tty6     S    06:30   0:00 bash
root      5107  0.0  0.3   6108  4908 tty6     S    06:31   0:00 bash
root      5121  0.0  0.3   6108  4880 tty6     S    06:31   0:00 bash
root      5135  0.0  0.3   6108  5236 tty6     S    06:31   0:00 bash
root      5169  0.1  0.3   6108  5208 tty6     S    06:32   0:00 bash
root      5195  0.1  0.3   6108  5168 tty6     S    06:33   0:00 bash
root      5224  0.0  0.0   3472   776 tty6     S+   06:34   0:00 grep --color=auto -i bash

switch user bernhard

  • lsof
COMMAND  PID     USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
bash    5264 bernhard  cwd    DIR  254,6     4096   131 /home/bernhard
bash    5264 bernhard  rtd    DIR   0,42      136   256 /
bash    5264 bernhard  txt    REG   0,42  1045408 20499 /bin/bash
bash    5264 bernhard  mem    REG   0,42   330604 47550 /usr/lib/locale/en_US.utf8/LC_CTYPE
bash    5264 bernhard  mem    REG   0,42  1244054 47555 /usr/lib/locale/en_US.utf8/LC_COLLATE
bash    5264 bernhard  mem    REG   0,43   217032 18580 /var/lib/nscd/passwd
bash    5264 bernhard  mem    REG   0,42   198240 11548 /lib64/libtinfo.so.6.1
bash    5264 bernhard  mem    REG   0,42  2082032  8255 /lib64/libc-2.27.so
bash    5264 bernhard  mem    REG   0,42    18608  8261 /lib64/libdl-2.27.so
bash    5264 bernhard  mem    REG   0,42   334000 19618 /lib64/libreadline.so.8.0
bash    5264 bernhard  mem    REG   0,42       54 47574 /usr/lib/locale/en_US.utf8/LC_NUMERIC
bash    5264 bernhard  mem    REG   0,42     3316 44887 /usr/lib/locale/en_US.utf8/LC_TIME
bash    5264 bernhard  mem    REG   0,42      286 47692 /usr/lib/locale/en_US.utf8/LC_MONETARY
bash    5264 bernhard  mem    REG   0,42       57 47765 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
bash    5264 bernhard  mem    REG   0,42       34 47693 /usr/lib/locale/en_US.utf8/LC_PAPER
bash    5264 bernhard  mem    REG   0,42       77 47646 /usr/lib/locale/en_US.utf8/LC_NAME
bash    5264 bernhard  mem    REG   0,42      167 44884 /usr/lib/locale/en_US.utf8/LC_ADDRESS
bash    5264 bernhard  mem    REG   0,42       59 47694 /usr/lib/locale/en_US.utf8/LC_TELEPHONE
bash    5264 bernhard  mem    REG   0,42       23 47691 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
bash    5264 bernhard  mem    REG   0,42    26360 47972 /usr/lib64/gconv/gconv-modules.cache
bash    5264 bernhard  mem    REG   0,42      368 44885 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
bash    5264 bernhard  mem    REG   0,42   180984  8247 /lib64/ld-2.27.so
bash    5264 bernhard    0u   CHR    4,6      0t0  9483 /dev/tty6
bash    5264 bernhard    1u   CHR    4,6      0t0  9483 /dev/tty6
bash    5264 bernhard    2u   CHR    4,6      0t0  9483 /dev/tty6
bash    5264 bernhard    3r   REG   0,44        0   259 /root/.bash_history
bash    5264 bernhard    4r   REG   0,44        0   259 /root/.bash_history
bash    5264 bernhard    5r   REG   0,44        0   259 /root/.bash_history
bash    5264 bernhard    6r   REG   0,44        0   259 /root/.bash_history
bash    5264 bernhard    7r   REG   0,44        0   259 /root/.bash_history
bash    5264 bernhard    8r   REG   0,44        0   259 /root/.bash_history
bash    5264 bernhard    9r   REG   0,44        0   259 /root/.bash_history
bash    5264 bernhard   10r   REG   0,44        0   259 /root/.bash_history
bash    5264 bernhard   11r   REG  254,6        0   132 /home/bernhard/.bash_history
bash    5264 bernhard  255u   CHR    4,6      0t0  9483 /dev/tty6

exit all opened shells, exit to login screen, re-login as root opened subshell

  • ps
root      4593  0.0  0.3   7400  5380 hvc0     Ss+  05:10   0:00 -bash
root      5379  0.0  0.3   7416  5440 tty6     Ss   06:40   0:00 -bash
root      5424  0.2  0.3   6108  4988 tty6     S    06:42   0:00 bash
root      5445  0.0  0.0   3472   776 tty6     S+   06:42   0:00 grep --color=auto -i bash
  • lsof
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
bash    5379 root  cwd    DIR   0,44      388   256 /root
bash    5379 root  rtd    DIR   0,42      136   256 /
bash    5379 root  txt    REG   0,42  1045408 20499 /bin/bash
bash    5379 root  mem    REG   0,42   330604 47550 /usr/lib/locale/en_US.utf8/LC_CTYPE
bash    5379 root  mem    REG   0,42  1244054 47555 /usr/lib/locale/en_US.utf8/LC_COLLATE
bash    5379 root  mem    REG   0,43   217032 18580 /var/lib/nscd/passwd
bash    5379 root  mem    REG   0,42   198240 11548 /lib64/libtinfo.so.6.1
bash    5379 root  mem    REG   0,42  2082032  8255 /lib64/libc-2.27.so
bash    5379 root  mem    REG   0,42    18608  8261 /lib64/libdl-2.27.so
bash    5379 root  mem    REG   0,42   334000 19618 /lib64/libreadline.so.8.0
bash    5379 root  mem    REG   0,42       54 47574 /usr/lib/locale/en_US.utf8/LC_NUMERIC
bash    5379 root  mem    REG   0,42     3316 44887 /usr/lib/locale/en_US.utf8/LC_TIME
bash    5379 root  mem    REG   0,42      286 47692 /usr/lib/locale/en_US.utf8/LC_MONETARY
bash    5379 root  mem    REG   0,42       57 47765 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
bash    5379 root  mem    REG   0,42       34 47693 /usr/lib/locale/en_US.utf8/LC_PAPER
bash    5379 root  mem    REG   0,42       77 47646 /usr/lib/locale/en_US.utf8/LC_NAME
bash    5379 root  mem    REG   0,42      167 44884 /usr/lib/locale/en_US.utf8/LC_ADDRESS
bash    5379 root  mem    REG   0,42       59 47694 /usr/lib/locale/en_US.utf8/LC_TELEPHONE
bash    5379 root  mem    REG   0,42       23 47691 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
bash    5379 root  mem    REG   0,42    26360 47972 /usr/lib64/gconv/gconv-modules.cache
bash    5379 root  mem    REG   0,42      368 44885 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
bash    5379 root  mem    REG   0,42   180984  8247 /lib64/ld-2.27.so
bash    5379 root    0u   CHR    4,6      0t0  9483 /dev/tty6
bash    5379 root    1u   CHR    4,6      0t0  9483 /dev/tty6
bash    5379 root    2u   CHR    4,6      0t0  9483 /dev/tty6
bash    5379 root  255u   CHR    4,6      0t0  9483 /dev/tty6

COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
bash    5424 root  cwd    DIR   0,44      388   256 /root
bash    5424 root  rtd    DIR   0,42      136   256 /
bash    5424 root  txt    REG   0,42  1045408 20499 /bin/bash
bash    5424 root  mem    REG   0,43   217032 18580 /var/lib/nscd/passwd
bash    5424 root  mem    REG   0,42   330604 47550 /usr/lib/locale/en_US.utf8/LC_CTYPE
bash    5424 root  mem    REG   0,42   198240 11548 /lib64/libtinfo.so.6.1
bash    5424 root  mem    REG   0,42  2082032  8255 /lib64/libc-2.27.so
bash    5424 root  mem    REG   0,42    18608  8261 /lib64/libdl-2.27.so
bash    5424 root  mem    REG   0,42   334000 19618 /lib64/libreadline.so.8.0
bash    5424 root  mem    REG   0,42    26360 47972 /usr/lib64/gconv/gconv-modules.cache
bash    5424 root  mem    REG   0,42   180984  8247 /lib64/ld-2.27.so
bash    5424 root    0u   CHR    4,6      0t0  9483 /dev/tty6
bash    5424 root    1u   CHR    4,6      0t0  9483 /dev/tty6
bash    5424 root    2u   CHR    4,6      0t0  9483 /dev/tty6
bash    5424 root  255u   CHR    4,6      0t0  9483 /dev/tty6

do the same for user bernhard

  • ps
root      4593  0.0  0.3   7400  5380 hvc0     Ss+  05:10   0:00 -bash
bernhard  5532  0.1  0.3   7412  5200 tty6     Ss   06:45   0:00 -bash
bernhard  5558  0.3  0.3   7428  5420 tty6     S    06:45   0:00 bash
bernhard  5584  0.0  0.0   4864   776 tty6     S+   06:46   0:00 grep --color=auto -i bash
  • lsof
COMMAND  PID     USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
bash    5532 bernhard  cwd    DIR  254,6     4096   131 /home/bernhard
bash    5532 bernhard  rtd    DIR   0,42      136   256 /
bash    5532 bernhard  txt    REG   0,42  1045408 20499 /bin/bash
bash    5532 bernhard  mem    REG   0,42   330604 47550 /usr/lib/locale/en_US.utf8/LC_CTYPE
bash    5532 bernhard  mem    REG   0,42  1244054 47555 /usr/lib/locale/en_US.utf8/LC_COLLATE
bash    5532 bernhard  mem    REG   0,43   217032 18580 /var/lib/nscd/passwd
bash    5532 bernhard  mem    REG   0,42   198240 11548 /lib64/libtinfo.so.6.1
bash    5532 bernhard  mem    REG   0,42  2082032  8255 /lib64/libc-2.27.so
bash    5532 bernhard  mem    REG   0,42    18608  8261 /lib64/libdl-2.27.so
bash    5532 bernhard  mem    REG   0,42   334000 19618 /lib64/libreadline.so.8.0
bash    5532 bernhard  mem    REG   0,42       54 47574 /usr/lib/locale/en_US.utf8/LC_NUMERIC
bash    5532 bernhard  mem    REG   0,42     3316 44887 /usr/lib/locale/en_US.utf8/LC_TIME
bash    5532 bernhard  mem    REG   0,42      286 47692 /usr/lib/locale/en_US.utf8/LC_MONETARY
bash    5532 bernhard  mem    REG   0,42       57 47765 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
bash    5532 bernhard  mem    REG   0,42       34 47693 /usr/lib/locale/en_US.utf8/LC_PAPER
bash    5532 bernhard  mem    REG   0,42       77 47646 /usr/lib/locale/en_US.utf8/LC_NAME
bash    5532 bernhard  mem    REG   0,42      167 44884 /usr/lib/locale/en_US.utf8/LC_ADDRESS
bash    5532 bernhard  mem    REG   0,42       59 47694 /usr/lib/locale/en_US.utf8/LC_TELEPHONE
bash    5532 bernhard  mem    REG   0,42       23 47691 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
bash    5532 bernhard  mem    REG   0,42    26360 47972 /usr/lib64/gconv/gconv-modules.cache
bash    5532 bernhard  mem    REG   0,42      368 44885 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
bash    5532 bernhard  mem    REG   0,42   180984  8247 /lib64/ld-2.27.so
bash    5532 bernhard    0u   CHR    4,6      0t0  9483 /dev/tty6
bash    5532 bernhard    1u   CHR    4,6      0t0  9483 /dev/tty6
bash    5532 bernhard    2u   CHR    4,6      0t0  9483 /dev/tty6
bash    5532 bernhard  255u   CHR    4,6      0t0  9483 /dev/tty6

COMMAND  PID     USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
bash    5558 bernhard  cwd    DIR  254,6     4096   131 /home/bernhard
bash    5558 bernhard  rtd    DIR   0,42      136   256 /
bash    5558 bernhard  txt    REG   0,42  1045408 20499 /bin/bash
bash    5558 bernhard  mem    REG   0,43   217032 18580 /var/lib/nscd/passwd
bash    5558 bernhard  mem    REG   0,42   330604 47550 /usr/lib/locale/en_US.utf8/LC_CTYPE
bash    5558 bernhard  mem    REG   0,42  1244054 47555 /usr/lib/locale/en_US.utf8/LC_COLLATE
bash    5558 bernhard  mem    REG   0,42   198240 11548 /lib64/libtinfo.so.6.1
bash    5558 bernhard  mem    REG   0,42  2082032  8255 /lib64/libc-2.27.so
bash    5558 bernhard  mem    REG   0,42    18608  8261 /lib64/libdl-2.27.so
bash    5558 bernhard  mem    REG   0,42   334000 19618 /lib64/libreadline.so.8.0
bash    5558 bernhard  mem    REG   0,42       54 47574 /usr/lib/locale/en_US.utf8/LC_NUMERIC
bash    5558 bernhard  mem    REG   0,42     3316 44887 /usr/lib/locale/en_US.utf8/LC_TIME
bash    5558 bernhard  mem    REG   0,42      286 47692 /usr/lib/locale/en_US.utf8/LC_MONETARY
bash    5558 bernhard  mem    REG   0,42       57 47765 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
bash    5558 bernhard  mem    REG   0,42       34 47693 /usr/lib/locale/en_US.utf8/LC_PAPER
bash    5558 bernhard  mem    REG   0,42       77 47646 /usr/lib/locale/en_US.utf8/LC_NAME
bash    5558 bernhard  mem    REG   0,42      167 44884 /usr/lib/locale/en_US.utf8/LC_ADDRESS
bash    5558 bernhard  mem    REG   0,42       59 47694 /usr/lib/locale/en_US.utf8/LC_TELEPHONE
bash    5558 bernhard  mem    REG   0,42       23 47691 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
bash    5558 bernhard  mem    REG   0,42    26360 47972 /usr/lib64/gconv/gconv-modules.cache
bash    5558 bernhard  mem    REG   0,42      368 44885 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
bash    5558 bernhard  mem    REG   0,42   180984  8247 /lib64/ld-2.27.so
bash    5558 bernhard    0u   CHR    4,6      0t0  9483 /dev/tty6
bash    5558 bernhard    1u   CHR    4,6      0t0  9483 /dev/tty6
bash    5558 bernhard    2u   CHR    4,6      0t0  9483 /dev/tty6
bash    5558 bernhard  255u   CHR    4,6      0t0  9483 /dev/tty6

Above data shows different behavior for bash. It keeps creating incrementally file descriptors (~/.bash_history) for users after installation, while after re-login this behavior seems to disappear.

Actions #10

Updated by mloviska about 5 years ago

  • Status changed from In Progress to Feedback

bash file descriptor handling is tracked by https://bugzilla.opensuse.org/show_bug.cgi?id=1124481.
I will keep this issue opened in case the bug won't be fixed we can still suppress lvm messages by setting LVM_SUPPRESS_FD_WARNINGS

Actions #11

Updated by riafarov about 5 years ago

as a side note, could we improve test, that it's more obvious that there is a bug? I had a hard times to understand where this /tmp/scriptJve_8.sh is coming from and which script is that. Would it be helpful to upload it? Please, consider follow up task for that (if applicable).

Actions #12

Updated by mloviska about 5 years ago

That comes with select_serial_terminal console. We can switch back to root-console, but we will slow down the execution.

Actions #13

Updated by riafarov about 5 years ago

  • Due date changed from 2019-02-12 to 2019-03-12
  • Status changed from Feedback to Blocked
  • Assignee changed from mloviska to riafarov

Let's block this ticket with the bug and apply workaround if there is not progress.

Actions #14

Updated by riafarov about 5 years ago

  • Subject changed from [tw][fast][y] Syntax error in lvm_thin_check to [tw][functional][y] Syntax error in lvm_thin_check
Actions #15

Updated by okurz about 5 years ago

  • Target version set to Milestone 25
Actions #16

Updated by riafarov about 5 years ago

  • Due date changed from 2019-03-12 to 2019-04-09

Let's see if get anything fixed by April. If not, we should schedule applying workaround.

Actions #17

Updated by riafarov about 5 years ago

  • Subject changed from [tw][functional][y] Syntax error in lvm_thin_check to [tw][functional][y] Apply workaround for bsc#1124481
  • Description updated (diff)
  • Status changed from Blocked to Workable
  • Assignee deleted (riafarov)
  • Priority changed from Normal to High
Actions #18

Updated by riafarov about 5 years ago

  • Description updated (diff)
Actions #19

Updated by riafarov about 5 years ago

  • Description updated (diff)
  • Estimated time set to 3.00 h

Let's consider only workaround here, but in case we find out some more details, let's schedule more work for investigation in a separate ticket.

Actions #20

Updated by oorlov about 5 years ago

  • Status changed from Workable to Blocked
  • Assignee set to oorlov
Actions #21

Updated by oorlov about 5 years ago

  • Status changed from Blocked to In Progress
Actions #22

Updated by oorlov about 5 years ago

  • Status changed from In Progress to Feedback
Actions #23

Updated by riafarov about 5 years ago

  • Due date changed from 2019-04-09 to 2019-04-23

VR from prod is missing.

Actions

Also available in: Atom PDF