Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #167099

Re: Installation of openssh-client stops with error in groupadd

From Reco <recoverym4n@gmail.com>
Newsgroups linux.debian.user
Subject Re: Installation of openssh-client stops with error in groupadd
Date 2016-04-25 23:00 +0200
Message-ID <rrVLR-3EY-25@gated-at.bofh.it> (permalink)
References <rrUZu-3iQ-63@gated-at.bofh.it> <rrVsv-3wP-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	Hi.

On Mon, 25 Apr 2016 22:38:47 +0200
Michael Luecke <ml2016@mluecke.eu> wrote:

So, it all goes well, until it hits the wall:

>  > Please post the output of:
> ...
> 
> rename("/etc/group+", "/etc/group")     = -1 EBUSY (Device or resource busy)

And this is another thing that could be useful to the future searches
of the archives:

> # mount
...
> /dev/sda3 on / type btrfs (rw,noatime,ssd,space_cache)


> ++++++++++++++++++++++++++++++
> # dmesg | tail
...

Does not have any scary 'force mounting / read-only', so it should be
all good.


> # lsattr /etc/group
> ---------------- /etc/group

And no extended attributes (or SELinux, which is confirmed by strace
output) come into play.


So it all boils down to one failing syscall - rename(2). The manpage
does not cover such case - it talks about returning EBUSY if the source
or the target of rename are mountpoints (clearly not the case here).

So, let's start with something simple:

/bin/fuser /etc/group

/usr/bin/lsof /etc/group

Reco

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Installation of openssh-client stops with error in groupadd Michael Luecke <ml2016@mluecke.eu> - 2016-04-25 22:00 +0200
  Re: Installation of openssh-client stops with error in groupadd <tomas@tuxteam.de> - 2016-04-25 22:10 +0200
  Re: Installation of openssh-client stops with error in groupadd Reco <recoverym4n@gmail.com> - 2016-04-25 22:10 +0200
    Re: Installation of openssh-client stops with error in groupadd Reco <recoverym4n@gmail.com> - 2016-04-25 23:00 +0200
      Re: Installation of openssh-client stops with error in groupadd Michael Luecke <ml@mluecke.eu> - 2016-04-26 19:50 +0200
        Re: Installation of openssh-client stops with error in groupadd Reco <recoverym4n@gmail.com> - 2016-04-26 20:10 +0200
          Re: Installation of openssh-client stops with error in groupadd Michael Luecke <ml@mluecke.eu> - 2016-04-26 20:40 +0200
            Re: Installation of openssh-client stops with error in groupadd Reco <recoverym4n@gmail.com> - 2016-04-26 21:00 +0200
              Re: Installation of openssh-client stops with error in groupadd Michael Luecke <lists-2016@mluecke.eu> - 2016-04-26 21:10 +0200
                Re: Installation of openssh-client stops with error in groupadd Michael Luecke <ml@mluecke.eu> - 2016-04-27 20:40 +0200

csiph-web