Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

permission denied by AppArmor withMANPAGER="nvim -" man man (socketpair EACCES) #30268

Closed
Assignees
justinmk
Labels
Milestone
@vegerot

Description

@vegerot

Problem

When using neovim as a pager, nvim crashes when viewing man pages fromman.

$ MANPAGER="nvim --clean --noplugin -" man manE903: Process failed to start: permission denied:"/usr/local/bin/nvim"Failed to start Nvim server!man:command exited with status 1: sed -e'/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }'| LESS=-ix8RmPm Manual page man(1)?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press hforhelp or q to quit)$PM Manual page man(1)?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press hforhelp or q to quit)$ MAN_PN=man(1) nvim --clean --noplugin -

However, it works when piping into neovim

# this works perfect!$ MANPAGER=cat man man| nvim --clean --noplugin -
$ man --versionman 2.11.2$ build/bin/nvim -V1 -vNVIM v0.11.0-dev-714+g220b8aa6fBuild type: DebugLuaJIT 2.1.1724512491Compilation: /usr/bin/cc -g  -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fsigned-char -fstack-protector-strong -Wno-conversion -fno-common -Wimplicit-fallthrough -fdiagnostics-color=always  -DNVIM_LOG_DEBUG -DUNIT_TESTING -DHAVE_UNIBILIUM -D_GNU_SOURCE -DINCLUDE_GENERATED_DECLARATIONS -DUTF8PROC_STATIC -I/home/max/workspace/github.com/neovim/neovim.git/.deps/usr/include/luajit-2.1 -I/home/max/workspace/github.com/neovim/neovim.git/.deps/usr/include -I/home/max/workspace/github.com/neovim/neovim.git/build/src/nvim/auto -I/home/max/workspace/github.com/neovim/neovim.git/build/include -I/home/max/workspace/github.com/neovim/neovim.git/build/cmake.config -I/home/max/workspace/github.com/neovim/neovim.git/src -I/usr/include   system vimrc file:"$VIM/sysinit.vim"  fall-backfor$VIM:"/usr/local/share/nvim"Run :checkhealthfor more info

Steps to reproduce

On my machine all I need to do is:

$ MANPAGER="nvim --clean --noplugin -" man man

and it crashes every time

Expected behavior

Neovim should open the man page

Neovim version (nvim -v)

NVIM v0.11.0-dev-714+g220b8aa6f

Vim (not Nvim) behaves the same?

no

Operating system/version

Debian GNU/Linux 12 (bookworm)

Terminal name/version

urxvt,gnome-terminal

$TERM environment variable

xterm-256color

Installation

build from source

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp