Re: [master] Introduces rsylogd to anaconda (part of #524980)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +    status = system("/sbin/rsyslogd -c 4n -N1");
> +    dup2(stderr_dup, 2); /* restore stderr */
> +    if (status < 0 || 
> +        !WIFEXITED(status) || 
> +        WEXITSTATUS(status)  != 0) {
> +        printf("Unable to start syslog daemon due to its configuration file "
> +               "being corrupted. Did you pass in a wrong \"syslog=\"?\n");
> +        fatal_error(1);

I'm not sure this error message means much to most people - who's really
going to care about the syslog configuration file?  What kind of
malformed syslog= errors are you expecting here, and is it possible to
validate the parameter in getSyslog?

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux