summaryrefslogtreecommitdiffstats
path: root/partx/partx.c
diff options
context:
space:
mode:
authorKarel Zak2011-12-08 11:39:05 +0100
committerKarel Zak2011-12-08 12:54:49 +0100
commit1593b134ebf596ae7a2b1e73f2dcc8c4e7febddd (patch)
treefc70d55cc650338054e22b9ac44421b4a4b387f3 /partx/partx.c
parentlogger: fix remote logging (diff)
downloadkernel-qcow2-util-linux-1593b134ebf596ae7a2b1e73f2dcc8c4e7febddd.tar.gz
kernel-qcow2-util-linux-1593b134ebf596ae7a2b1e73f2dcc8c4e7febddd.tar.xz
kernel-qcow2-util-linux-1593b134ebf596ae7a2b1e73f2dcc8c4e7febddd.zip
agetty: don't use log_err() for non-fatal errors
The TIOCSCTTY ioctl requires that caller is session leader -- so it depends on initd (or we have to add setsid() to aggety). It seems that the traditional way is to setup tty in agetty and session in login(1). It means that all session related things (TIOCSCTTY, vhangup, ...) in the command agetty should be optional. (Note that vhangup() is called when --hangup is explicitly specified on command line, so log_err() makes sense there.) Reported-by: Andrew Walrond <andrew@walrond.org> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'partx/partx.c')
0 files changed, 0 insertions, 0 deletions