Bug 1194482 - openssh: denies login if disk full
Summary: openssh: denies login if disk full
Status: IN_PROGRESS
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Hans Petter Jansson
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 1194458
  Show dependency treegraph
 
Reported: 2022-01-10 15:23 UTC by Ludwig Nussel
Modified: 2022-01-10 21:58 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ludwig Nussel 2022-01-10 15:23:05 UTC
bug 1194458 describes the events that lead to a disk full situation. Trying to log in as root didn't proceed. ssh -v shows:

debug1: pledge: filesystem full

Shouldn't it be possible to log in as root even when the disk is full?
Comment 1 Hans Petter Jansson 2022-01-10 21:57:26 UTC
I think that message is a red herring. It's just an unfortunately worded debug message regarding pledge(). From clientloop.c:

	> } else if (options.update_hostkeys) {
		> debug("pledge: filesystem full");
		> if (pledge("stdio rpath wpath cpath unix inet dns proc tty",
		>     NULL) == -1)
			> fatal_f("pledge(): %s", strerror(errno));

The problem is likely something else, might be something outside openssh too.
Comment 2 Hans Petter Jansson 2022-01-10 21:58:19 UTC
Sorry for the wonderful formatting, hard to tell what bz is going to do sometimes :)