Mailinglist Archive: opensuse-bugs (3378 mails)

< Previous Next >
[Bug 656509] systemd: can't login (cannot make/remove an entry for the specified session)
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 6 Dec 2010 09:46:20 +0000
  • Message-id: <20101206094620.479CD24522B@xxxxxxxxxxxxxxxxxxxxxx>

https://bugzilla.novell.com/show_bug.cgi?id=656509

https://bugzilla.novell.com/show_bug.cgi?id=656509#c12


Michal Vyskocil <mvyskocil@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |puzel@xxxxxxxxxx
InfoProvider|mvyskocil@xxxxxxxxxx |puzel@xxxxxxxxxx

--- Comment #12 from Michal Vyskocil <mvyskocil@xxxxxxxxxx> 2010-12-06 09:46:19
UTC ---
Yes, it seems it is the ntp.service

# mount | grep /proc
proc on /proc type proc (rw,relatime)
# systemctl restart ntp.service
proc on /proc type proc (ro,relatime)

I thought it's a bug in ntp script, but it is not, the CHROOT_PREFIX is
/var/lib/ntp

The following sequence reproduces the problem under systemd

# mount | grep /proc
proc on /proc type proc (rw,relatime)
# mkdir /root/proc
# mount -o bind /proc /root/proc
# mount -o remount,ro /root/proc
# mount | grep proc
proc on /proc type proc (ro,relatime)
proc on /root/proc type proc (ro,relatime)

The reason might be the fact, there's no information about bind mount in
/etc/mtab, as it's only link to /proc/mounts. The upper sequence did not work
on 11.3 with linked mtab: mount -o remount,ro ends with mount: /root/proc is
busy.

I assume we need recent util-linux to make it work, Petr?

(In reply to comment #11)
One more point for reproduction:
Michal, are you using NetworkManager? I'm using a fixed static IP with
traditional scripts.

No NM, I use the DHCP+ifup/ifdown on my desktop.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >