reboot problem

Shutting down the systems always works perfectly, but restarting always failed.

It loads dracut and stops with the fallowing message

/run/initramfs/rdosreport.txt
/sbin/rdosreport.sh line 7 Read only file system

/lib/dracut_lib.sh line 1088 /.profile read-only file system



Using the shell I tried to reboot but

failed to unlink reboot parameter file read only file system

and halt

failed to connect to bus: Connection refused

so I used the reset button.

Please help I don’t want to damage my file system

OS: Tumbleweed:
4.11.8-1-default #1 SMP PREEMPT Thu Jun 29 14:37:33 UTC 2017 (42bd7a0) x86_64 x86_64 x86_64 GNU/Linux

You have an alternative kernel to try in Grub

Yes, so what?

How you restart it?

Using the shell I tried to reboot … and halt

Using dracut shell? Please describe what you do so that others can also understand it, otherwise it is rather hard to guess what happens.

Shutting down the system always works perfectly, but restarting always failed. (using menu or typing reboot or sudo init 6, obviously)

DRACUT FROM THIS POINT FORWARD

It loads dracut and stops with the fallowing message


dracut: Warning:
/run/initramfs/rdosreport.txt
/sbin/rdosreport.sh line 7 Read only file system
...
/lib/dracut_lib.sh line 1088 /.profile read-only file system



Using the DRACUT shell I tried to reboot but

# reboot
failed to unlink reboot parameter file read only file system

and typing halt

# halt
failed to connect to bus: Connection refused

**END DRACUT **

so I pressed the reset button.

Please help I don’t want to damage my file system

OS: Tumbleweed:
4.11.8-1-default #1 SMP PREEMPT Thu Jun 29 14:37:33 UTC 2017 (42bd7a0) x86_64 x86_64 x86_64 GNU/Linux[/QUOTE]

This is likely rdsosreport.txt. Please try to pay attention to details, otherwise it quickly becomes “garbage in - garbage out”.

/lib/dracut_lib.sh line 1088 /.profile read-only file system

That’s rather interesting. This line is in dracut branch for non-systemd initrd. Could you upload “lsinitrd /boot/path-to-your-initrd” to http://susepaste.org/?

Yes, you are right typo error

cat /run/initramfs/rdsosreport.txt
cat: /run/initramfs/rdsosreport.txt: No such file or directory

http://susepaste.org/41238807

This is the lsinitrd
http://susepaste.org/41238807

and this is the error screen:

http://susepaste.org/a943d18b

So it is apparently during shutdown, not during boot after restart. Someone reported problems during shutdown in recent TW as well. Could you try disable (and stop) dracut-shutdown.service and report if it changes anything?

Perpetual shutdown …
Shows the shutdown TW screen and does nothing. I can only change screens with F1 ~ F12
F1 shows shutdown TW screen
F2 ~ F11 are black
F12 shows init messages
ESC does not work

Could be ?
https://bugzilla.redhat.com/show_bug.cgi?id=1385432

I don’t see any relevance with my problem

It probably would timeout at some point. Booting with “plymouth.enable=0” and without “quiet” on kernel command line may give some more hints what’s going on. Of course, the first step is to reduce complexity - boot into run level 3 so output is not obscured by eye candy, Unfortunately unless someone will be able to reproduce it, further debugging without some means to capture console output during shutdown is not feasible. If you have second system, you may try to setup netconsole (see https://www.kernel.org/doc/Documentation/networking/netconsole.txt); then we can try to get some more information. Or use serial console if you have serial port in both systems and suitable cable.

Anyway I suppose you better enable service again :slight_smile:

Hmm … what is output of “aa-status”?

aa-status
apparmor module is loaded.
47 profiles are loaded.
47 profiles are in enforce mode.
/usr/bin/lessopen.sh
/usr/lib/apache2/mpm-prefork/apache2
/usr/lib/apache2/mpm-prefork/apache2//DEFAULT_URI
/usr/lib/apache2/mpm-prefork/apache2//HANDLING_UNTRUSTED_INPUT
/usr/lib/apache2/mpm-prefork/apache2//phpsysinfo
/usr/lib/colord
/usr/lib/dovecot/anvil
/usr/lib/dovecot/auth
/usr/lib/dovecot/config
/usr/lib/dovecot/deliver
/usr/lib/dovecot/dict
/usr/lib/dovecot/dovecot-auth
/usr/lib/dovecot/dovecot-lda
/usr/lib/dovecot/dovecot-lda///usr/sbin/sendmail
/usr/lib/dovecot/imap
/usr/lib/dovecot/imap-login
/usr/lib/dovecot/lmtp
/usr/lib/dovecot/log
/usr/lib/dovecot/managesieve
/usr/lib/dovecot/managesieve-login
/usr/lib/dovecot/pop3
/usr/lib/dovecot/pop3-login
/usr/lib/dovecot/ssl-params
/usr/sbin/apache2
/usr/sbin/apache2//DEFAULT_URI
/usr/sbin/apache2//HANDLING_UNTRUSTED_INPUT
/usr/sbin/apache2//phpsysinfo
/usr/sbin/avahi-daemon
/usr/sbin/dnsmasq
/usr/sbin/dnsmasq//libvirt_leaseshelper
/usr/sbin/dovecot
/usr/sbin/identd
/usr/sbin/mdnsd
/usr/sbin/nmbd
/usr/sbin/nscd
/usr/sbin/ntpd
/usr/sbin/smbd
/usr/sbin/smbldap-useradd
/usr/sbin/smbldap-useradd///etc/init.d/nscd
/usr/sbin/winbindd
/usr/share/gitweb/gitweb.cgi
/usr/{sbin/traceroute,bin/traceroute.db}
docker-default
klogd
ping
syslog-ng
syslogd
0 profiles are in complain mode.
9 processes have profiles defined.
9 processes are in enforce mode.
/usr/lib/colord (1479)
/usr/sbin/avahi-daemon (1458)
/usr/sbin/nscd (1370)
/usr/sbin/ntpd (1630)
/usr/sbin/ntpd (1678)
/usr/sbin/smbd (2169)
/usr/sbin/smbd (2174)
/usr/sbin/smbd (2175)
/usr/sbin/smbd (2208)
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.

I wonder why shutting down the machine goes smooth, but when I reboot it cannot shut down !

I’ve tried with level 3, same perpetual shutdown screen again as there is no dracut

Even after re-enabling service again?

You then tried the alternate kernel

Post:

cat /proc/cmdline

BOOT_IMAGE=/vmlinuz-4.11.8-1-default root=/dev/mapper/fast0-root resume=/dev/fast0/swap splash=silent quiet showopts resume=/dev/fast0/swap splash=silent quiet showopts