Project

General

Profile

Actions

Bug #1026

open

lttng create should recover from a bad output option more gracefully

Added by Daniel U. Thibault almost 8 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
06/14/2016
Due date:
% Done:

0%

Estimated time:

Description

(LTTng 2.8.0 lttng-tools a0f518a on Ubuntu 14.04.4, kernel 4.2.0-27-generic)
Currently, if you set the session output path to somewhere you do not have write-access, you get this:

$ lttng create mysession -o=/root/traces/mysession
PERROR - 16:04:51.933320 [4683/4683] realpath (partial_realpath): Permission denied (in utils_partial_realpath() at utils.c:124)
Segmentation fault (core dumped)

Surely lttng should recover more gracefully than a core dump? (lttng-sessiond is unharmed)

Actions

Also available in: Atom PDF