Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
systemd
0001-journal_fix_Inappropriate_ioctl_for_device...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-journal_fix_Inappropriate_ioctl_for_device_on_ext4.patch of Package systemd
Based on 65eae3b76243d2dfd869f8c43b787575f7b4b994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= <crrodriguez@opensuse.org> Date: Sun, 1 Mar 2015 21:13:10 -0300 Subject: journal: fix Inappropriate ioctl for device on ext4 Logs constantly show systemd-journald[395]: Failed to set file attributes: Inappropriate ioctl for device This is because ext4 does not support FS_NOCOW_FL. [zj: fold into one conditional as suggested on the ML and fix (preexisting) r/errno confusion in error message.] --- systemd-210/src/journal/journal-file.c +++ systemd-210/src/journal/journal-file.c 2015-04-23 08:33:11.469518285 +0000 @@ -2536,7 +2536,7 @@ int journal_file_open( * shouldn't be too bad, given that we do our own * checksumming). */ r = chattr_fd(f->fd, true, FS_NOCOW_FL); - if (r < 0) + if (r < 0 && r != -ENOTTY) log_warning("Failed to set file attributes: %m"); /* Let's attach the creation time to the journal file,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor