Stanislav Brabec wrote: > Commit 7572fb2b8cb69512ca230b7fcfa11577526843f4 introduced a failure on missing > /proc/sys/kernel/osrelease. Make it non-fatal to prevent crash in some chroot > environments. > > if (path_exist(_PATH_PROC_OSRELEASE) > - && (fd = path_fopen("r", 1, _PATH_PROC_OSRELEASE))) { > + && (fd = path_fopen("r", 0, _PATH_PROC_OSRELEASE))) { It was my fault. I did not sent a patch with path_exist(_PATH_PROC_OSRELEASE) as 7572fb2b8cb69512ca230b7fcfa11577526843f4. It was my old version. Use of 0 in path_fopen() seems to be a better solution that path_exist(). -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxxx Křižíkova 148/34 (Corso IIa) tel: +49 911 7405384547 186 00 Praha 8-Karlín fax: +420 284 084 001 Czech Republic http://www.suse.cz/ PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html