[Nix-dev] Required restart cupsd after reboot system

Nick Beljaev nickbeljaev at gmail.com
Thu Mar 16 18:01:26 CET 2017


Cancelled.
Problem finder in dbus, write after solve.

On Thu, Mar 16, 2017 at 3:53 PM, Nick Beljaev <nickbeljaev at gmail.com> wrote:

> Hi.
> I'm novice user Nixos.
>
> After reboot system cupsd work uncorrected (port 631 closed), after
> `systemctl restart cups` cupsd work Ok.
> Any restart cupsd have equivalent effect, `nixos-rebuild switch` is Ok.
>
> Frag of configuration.nix
>
>   services.printing.enable = true;
>   services.printing.browsing = true;
>   services.printing.defaultShared = true;
>   services.printing.gutenprint = true;
>   services.printing.listenAddresses = [ "192.168.1.5:631" ];
>   services.printing.webInterface = true;
>   services.printing.tempDir = "/tmp";
>
>
> /etc/cups/cups.d direct editing
>
> `ls -l /etc/cups`
> lrwxrwxrwx 1 root root   75 Mar 16 14:40 /etc/cups/client.conf ->
> /nix/store/xxx-cups-progs/etc/cups/client.conf
> lrwxrwxrwx 1 root root   77 Mar 16 14:40 /etc/cups/command.types ->
> /nix/store/xxx-cups-progs/etc/cups/command.types
> -rw-r----- 1 root lp   1753 Mar 14 17:32 /etc/cups/cupsd.conf
> lrwxrwxrwx 1 root root   79 Mar 16 14:40 /etc/cups/cups-files.conf ->
> /nix/store/xxx-cups-progs/etc/cups/cups-files.conf
> -rw------- 1 root lp    535 Mar 16 14:41 /etc/cups/printers.conf
> -rw------- 1 root lp    535 Mar 15 20:33 /etc/cups/printers.conf.O
> lrwxrwxrwx 1 root root   73 Mar 16 14:40 /etc/cups/snmp.conf ->
> /nix/store/xxx-cups-progs/etc/cups/snmp.conf
>
> And I can't find error_log from cups :/
>
>
> Where to dig? :)
>
> Nick.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170316/c85bfb4c/attachment.html>


More information about the nix-dev mailing list