[Bug 1736701] [NEW] Network manager doesn't honor configuration for dns

2017-12-06 Thread Samuele Giovanni Tonon
Public bug reported:

Hello,
i've recently created a new ubuntu vm machine starting from xubuntu 17.10.

after disabling systemd-resolve i configured my wired connection to use
my dns server on 127.0.0.1 and 9.9.9.9 as backup however network-manager
is rewriting /etc/resolv.conf with the right search path but with the
wrong nameserver (127.0.1.1) .

this is my  /etc/NetworkManager/NetworkManager.conf
#
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false

[device]
wifi.scan-rand-mac-address=no
#

This is the config of the interface

# nmcli device show eth0 
GENERAL.DEVICE: eth0
GENERAL.TYPE:   ethernet
GENERAL.HWADDR: 08:00:27:88:A7:A4
GENERAL.MTU:1500
GENERAL.STATE:  100 (connected)
GENERAL.CONNECTION: Wired connection 1
GENERAL.CON-PATH:   
/org/freedesktop/NetworkManager/ActiveConnection/3
WIRED-PROPERTIES.CARRIER:   on
IP4.ADDRESS[1]: 10.0.2.15/24
IP4.GATEWAY:10.0.2.2
IP4.DNS[1]: 127.0.0.1
IP4.DNS[2]: 9.9.9.9
IP6.ADDRESS[1]: fe80::144b:10aa:bc15:b43a/64
IP6.GATEWAY:--

This is my resolv.conf

cat /etc/resolv.conf
# Generated by NetworkManager
search nl.europe.intranet europe.intranet
nameserver 127.0.1.1


As workaround i have fixed /etc/resolv.conf and chattr +i it but i think 
network manager should honor my conf .
that wired connection is set up as dhcp address only. 


Btw that dnsmasq running on 127.0.0.1 is my configured dnsmasq not the one 
network managers used to use a long time ago:

 ps auxwww| grep dnsm
dnsmasq   1764  0.0  0.0  57420  2828 ?S11:20   0:00 
/usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -7 
/etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service 
--trust-anchor=.,19036,8,2,49aac11d7b6f6446702e54a1607371607a1a41855200fd2ce1cdde32f24e8fb5
 
--trust-anchor=.,20326,8,2,e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
root  4022  0.0  0.0  14356   972 pts/1S+   11:32   0:00 grep 
--color=auto dnsm

** Affects: network-manager (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1736701

Title:
  Network manager doesn't honor configuration for dns

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1736701/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1663911] [NEW] redis-server fails at startup, installation failed

2017-02-11 Thread Samuele Giovanni Tonon
Public bug reported:

Hello,
it is quite easy to reproduce the bug:

root@fuffa:~# apt-get update && apt-get install redis-server
[]

The following NEW packages will be installed:
  redis-server
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/397 kB of archives.
After this operation, 1.055 kB of additional disk space will be used.
Selecting previously unselected package redis-server.
(Reading database ... 421904 files and directories currently installed.)
Preparing to unpack .../redis-server_2%3a3.2.1-1_amd64.deb ...
Unpacking redis-server (2:3.2.1-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (231-9ubuntu2) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up redis-server (2:3.2.1-1) ...
Created symlink /etc/systemd/system/redis.service → 
/lib/systemd/system/redis-server.service.
Created symlink 
/etc/systemd/system/multi-user.target.wants/redis-server.service → 
/lib/systemd/system/redis-server.service.
Job for redis-server.service failed because the control process exited with 
error code.
See "systemctl status redis-server.service" and "journalctl -xe" for details.
invoke-rc.d: initscript redis-server, action "start" failed.
● redis-server.service - Advanced key-value store
   Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor 
preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since sab 2017-02-11 
18:58:26 CET; 14ms ago
 Docs: http://redis.io/documentation,
   man:redis-server(1)
  Process: 26199 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf 
(code=exited, status=226/NAMESPACE)
  Process: 26196 ExecStartPre=/bin/run-parts --verbose 
/etc/redis/redis-server.pre-up.d (code=exited, status=226/NAMESPACE)

feb 11 18:58:26 fuffa systemd[1]: redis-server.service: Control process exited, 
code=exited status=226
feb 11 18:58:26 fuffa systemd[1]: Failed to start Advanced key-value store.
feb 11 18:58:26 fuffa systemd[1]: redis-server.service: Unit entered failed 
state.
feb 11 18:58:26 fuffa systemd[1]: redis-server.service: Failed with result 
'exit-code'.
dpkg: error processing package redis-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (231-9ubuntu2) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
 redis-server
E: Sub-process /usr/bin/dpkg returned an error code (1)


Of course it is quite impossible to understand what is happening 


root@fuffa:~# journalctl -xe
-- Subject: Process /bin/run-parts could not be executed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- The process /bin/run-parts could not be executed and failed.
-- 
-- The error number returned by this process is 2.
feb 11 19:01:09 fuffa systemd[31304]: redis-server.service: Failed at step 
NAMESPACE spawning /usr/bin/redis-server: No such file or directory
-- Subject: Process /usr/bin/redis-server could not be executed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- The process /usr/bin/redis-server could not be executed and failed.
-- 
-- The error number returned by this process is 2.
feb 11 19:01:09 fuffa systemd[1]: redis-server.service: Control process exited, 
code=exited status=226
feb 11 19:01:09 fuffa systemd[1]: Failed to start Advanced key-value store.
-- Subject: Unit redis-server.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- Unit redis-server.service has failed.
-- 
-- The result is failed.
feb 11 19:01:09 fuffa systemd[1]: redis-server.service: Unit entered failed 
state.
feb 11 19:01:09 fuffa systemd[1]: redis-server.service: Failed with result 
'exit-code'.
feb 11 19:01:09 fuffa systemd[1]: redis-server.service: Service hold-off time 
over, scheduling restart.
feb 11 19:01:09 fuffa systemd[1]: Stopped Advanced key-value store.
-- Subject: Unit redis-server.service has finished shutting down
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- Unit redis-server.service has finished shutting down.
feb 11 19:01:09 fuffa systemd[1]: redis-server.service: Start request repeated 
too quickly.
feb 11 19:01:09 fuffa systemd[1]: Failed to start Advanced key-value store.
-- Subject: Unit redis-server.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- Unit redis-server.service has failed.
-- 
-- The result is failed.
feb 11 19:01:09 fuffa systemd[1]: redis-server.service: Unit entered failed 
state.
feb 11 19:01:09 fuffa systemd[1]: redis-server.service: Failed with result 
'start-limit-hit'.


Of course, launching it from command line simply works:

root@fuffa:~# su - redis -s /bin/bash 
redis@fuffa:~$ /usr/bin/redis-server /etc/redis/redis.conf 
redis@fuffa:~$ echo $?
0
redis@fuffa:~$ ps auxw| grep redis-ser
redis31431  0.0  0.0  40288  5836 ?Ssl  19:04   0:00 
/usr/bin/redis-server 127.0.0.1

[Bug 1612191] [NEW] net-tools upstream package is outdated ?

2016-08-11 Thread Samuele Giovanni Tonon
Public bug reported:

Hello,
while looking to the netstat man page i found out that apparently ubuntu is 
still using an old version of net tools upstream package, which is still 
pointing to berlios.de . As far as i know berlios.de is now closed and the 
packages have been moved to sourceforge.net where they are still maintained: 
https://sourceforge.net/projects/net-tools/

Could you please clarify me the reason behind having what it appears to
be an outdated upstream package?


Many thanks
Samuele

** Affects: net-tools (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612191

Title:
  net-tools upstream package is outdated ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-tools/+bug/1612191/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1328821] [NEW] nginx not rotating logs

2014-06-11 Thread Samuele Giovanni Tonon
Public bug reported:

in nginx-common package there's the script to rotate nginx logs  but it does 
not work as intended:
it does rename the log but nginx keeps writing on that one.

this is because -USR1 signal doesn't seem to work, you have to use -HUP
and then nginx will close and reopen logs files (without resetting
uptime which is nice for detecting if webserver is stable or not) .

so i had to change my /etc/logrotate.d/nginx script from:

postrotate
[ -s /run/nginx.pid ] && kill -USR1 `cat /run/nginx.pid`
endscript

to

postrotate
/etc/init.d/nginx reload
endscript

to make it properly rotate log files.

** Affects: nginx
 Importance: Undecided
 Status: New


** Tags: trusty

** Tags added: trusty

** Also affects: ubuntu
   Importance: Undecided
   Status: New

** No longer affects: ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1328821

Title:
  nginx not rotating logs

To manage notifications about this bug go to:
https://bugs.launchpad.net/nginx/+bug/1328821/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1307466] Re: nvidia-prime problems with steam

2014-04-18 Thread Samuele Giovanni Tonon
doh, since you mentioned ldconfig looking for mesa libs before nvidia i checked 
out my /etc/ld.so.conf.d/ 
and found, it's my fault:

i had a conf file named steam.conf with

/usr/lib32
/usr/lib/i386-linux-gnu/mesa
/usr/lib/i386-linux-gnu/dri
/usr/lib/i386-linux-gnu/gallium-pipe

inside .

removing that file and running ldconfig again as root solved the problem

it was a PEBKAC issue :-(

Thank you for your support

Cheers
Samuele

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307466

Title:
  nvidia-prime problems with steam

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1307466/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1307466] Re: nvidia-prime problems with steam

2014-04-18 Thread Samuele Giovanni Tonon
sure

ldconfig -p | grep -i gl | grep -v x86-64
libxcb-glx.so.0 (libc6) => /usr/lib/i386-linux-gnu/libxcb-glx.so.0
libnvidia-glsi.so.331.38 (libc6) => 
/usr/lib32/nvidia-331/libnvidia-glsi.so.331.38
libnvidia-glcore.so.331.38 (libc6) => 
/usr/lib32/nvidia-331/libnvidia-glcore.so.331.38
libglib-2.0.so.0 (libc6) => /lib/i386-linux-gnu/libglib-2.0.so.0
libglapi.so.0 (libc6) => /usr/lib/i386-linux-gnu/libglapi.so.0
libQtOpenGL.so.4 (libc6) => /usr/lib/i386-linux-gnu/libQtOpenGL.so.4
libGLU.so.1 (libc6) => /usr/lib/i386-linux-gnu/libGLU.so.1
libGL.so.1 (libc6) => /usr/lib/i386-linux-gnu/mesa/libGL.so.1
libGL.so.1 (libc6) => /usr/lib32/nvidia-331/libGL.so.1
libGL.so (libc6) => /usr/lib32/nvidia-331/libGL.so

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307466

Title:
  nvidia-prime problems with steam

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1307466/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1307466] Re: nvidia-prime problems with steam

2014-04-16 Thread Samuele Giovanni Tonon
On 04/16/2014 01:00 PM, Alberto Milone wrote:
> This looks wrong:
> libGL.so.1 => /usr/lib/i386-linux-gnu/mesa/libGL.so.1 (0xf772c000)
>
> as it should really point to the NVIDIA library. No wonder it doesn't
> work.
>
> Please attach the output of the following command:
>
> update-alternatives --display i386-linux-gnu_gl_conf
>

#update-alternatives --display i386-linux-gnu_gl_conf
i386-linux-gnu_gl_conf - manual mode
   link currently points to /usr/lib/nvidia-331/alt_ld.so.conf
/usr/lib/i386-linux-gnu/mesa/ld.so.conf - priority 500
   slave i386-linux-gnu_xorg_extra_modules: 
/usr/lib/i386-linux-gnu/xorg/x11-extra-modules
/usr/lib/nvidia-331-prime/alt_ld.so.conf - priority 8603
/usr/lib/nvidia-331/alt_ld.so.conf - priority 8604
Current 'best' version is '/usr/lib/nvidia-331/alt_ld.so.conf'.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307466

Title:
  nvidia-prime problems with steam

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1307466/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1307466] Re: nvidia-prime problems with steam

2014-04-15 Thread Samuele Giovanni Tonon
# ldd `which glxinfo`
linux-gate.so.1 =>  (0xf77b5000)
libGL.so.1 => /usr/lib/i386-linux-gnu/mesa/libGL.so.1 (0xf772c000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf75f8000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7448000)
libglapi.so.0 => /usr/lib/i386-linux-gnu/libglapi.so.0 (0xf743)
libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf741d000)
libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xf7419000)
libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xf7413000)
libX11-xcb.so.1 => /usr/lib/i386-linux-gnu/libX11-xcb.so.1 (0xf740f000)
libxcb-glx.so.0 => /usr/lib/i386-linux-gnu/libxcb-glx.so.0 (0xf73f7000)
libxcb-dri2.so.0 => /usr/lib/i386-linux-gnu/libxcb-dri2.so.0 
(0xf73f1000)
libxcb-dri3.so.0 => /usr/lib/i386-linux-gnu/libxcb-dri3.so.0 
(0xf73ed000)
libxcb-present.so.0 => /usr/lib/i386-linux-gnu/libxcb-present.so.0 
(0xf73e9000)
libxcb-sync.so.1 => /usr/lib/i386-linux-gnu/libxcb-sync.so.1 
(0xf73e1000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf73bf000)
libxshmfence.so.1 => /usr/lib/i386-linux-gnu/libxshmfence.so.1 
(0xf73bc000)
libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0xf73b6000)
libdrm.so.2 => /usr/lib/i386-linux-gnu/libdrm.so.2 (0xf73a9000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf738c000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7387000)
/lib/ld-linux.so.2 (0xf77b6000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf7383000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf737c000)


** Attachment added: "LIBGL_DEBUG=verbose glxinfo  2>&1  | tee /tmp/pippo"
   
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1307466/+attachment/4084310/+files/pippo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307466

Title:
  nvidia-prime problems with steam

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1307466/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1307466] Re: nvidia-prime problems with steam

2014-04-14 Thread Samuele Giovanni Tonon
and this is dmesg output

** Attachment added: "dmesg"
   
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1307466/+attachment/4083436/+files/dmesg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307466

Title:
  nvidia-prime problems with steam

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1307466/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1307466] Re: nvidia-prime problems with steam

2014-04-14 Thread Samuele Giovanni Tonon
# dkms status
bbswitch, 0.7, 3.11.0-18-generic, x86_64: installed
bbswitch, 0.7, 3.13.0-24-generic, x86_64: installed
nvidia-331, 331.38, 3.13.0-24-generic, x86_64: installed
nvidia-331-uvm, 331.38, 3.13.0-24-generic, x86_64: installed



** Attachment added: "gpu-manager.log"
   
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1307466/+attachment/4083435/+files/gpu-manager.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307466

Title:
  nvidia-prime problems with steam

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1307466/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1307466] [NEW] nvidia-prime problems with steam

2014-04-14 Thread Samuele Giovanni Tonon
Public bug reported:

hello,
if i launch steam on ubuntu 14.04 with nvidia-prime i get some errors:

1) swrast is not exposed:

$ LIBGL_DEBUG=verbose steam
Running Steam on ubuntu 14.04 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for 
appid(steam)/version(1393366296_client)
libGL: screen 0 does not appear to be DRI3 capable
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
libGL: driver does not expose __driDriverGetExtensions_swrast(): 
/usr/lib/i386-linux-gnu/dri/swrast_dri.so: undefined symbol: 
__driDriverGetExtensions_swrast
libGL: Can't open configuration file /home/samu/.drirc: No such file or 
directory.
libGL: Can't open configuration file /home/samu/.drirc: No such file or 
directory.
libGL error: failed to load driver: swrast
[...]

2) steam complains with this error (but loads anyway)

OpenGL GLX context is not using direct rendering, which may cause performance 
problems.
For more information visit 
https://support.steampowered.com/kb_article.php?ref=9938-EYZB-7457.

steam itself works, however i'm not able to play games but i'm not sure
if this is due to previous errors or it is due to some missing 32 arch
libs since steam officially supports bumblebee and not nvidia-prime.

Let me know if you need more information

Regards
Samuele

** Affects: nvidia-prime (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307466

Title:
  nvidia-prime problems with steam

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1307466/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1284095] [NEW] add configtest action to init.d script

2014-03-02 Thread Samuele Giovanni Tonon
On 03/02/2014 04:34 PM, Stig Sandbeck Mathisen wrote:
> On Mon, Feb 24, 2014 at 01:02:41PM -0000, Samuele Giovanni Tonon wrote:
>> Public bug reported:
>>
>> hello, it would be awesome to have a configtest action in the init.d
>> script , in this way you can safely test a vcl configuration by just
>> doing
>>
>> /etc/init.d/varnish configtest
>
> Thank you.
>
> Automatic testing of the configuration with this before starting the
> service is a very good feature.  I'm less convinced it should replace
> "varnishadm" for interactive use, though.
>
i think they are two totally different scenarios.

i'd use  "-C" or configtest just as a syntax check, the same way
apachectl configtest or nginx -t -c /etc/nginx/nginx.conf .

varnishadm is for a hot swap of the conf without having to restart
and loose my cache. i'd use varnishadm *AFTER*  configtest

Cheers
Samuele

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1284095

Title:
  add configtest action to init.d script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/varnish/+bug/1284095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1284095] [NEW] add configtest action to init.d script

2014-02-24 Thread Samuele Giovanni Tonon
Public bug reported:

hello,
it would be awesome to have a configtest action in the init.d script ,
in this way you can safely test a vcl configuration by just doing

/etc/init.d/varnish configtest


this can be done by applying this simple patch to /etc/init.d/varnish
--- /etc/init.d/varnish.old 2013-06-29 16:21:10.0 +0200
+++ /etc/init.d/varnish 2014-02-24 14:00:34.342417000 +0100
@@ -89,6 +89,10 @@
 exit $?
 }
 
+configtest() {
+$DAEMON ${DAEMON_OPTS} -C -n /tmp > /dev/null && echo "Syntax ok"
+}
+
 case "$1" in
 start)
 case "${START:-}" in
@@ -113,8 +117,11 @@
 $0 stop
 $0 start
 ;;
+configtest)
+   configtest
+   ;;
 *)
-log_success_msg "Usage: $0 {start|stop|restart|reload|force-reload}"
+log_success_msg "Usage: $0 
{start|stop|restart|reload|force-reload|configtest}"
 exit 1
 ;;
 esac


Cheers
Samuele

** Affects: varnish (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1284095

Title:
  add configtest action to init.d script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/varnish/+bug/1284095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1209123] Re: imms-audacious not working

2013-08-09 Thread Samuele Giovanni Tonon
Actually i did some tests since i saw there was a patch for audacious
3.x already applied.

To solve the problem you just need to rebuild all packages against last
version of audacious and all will work with no problem, please try it
yourself


yes i agree: imms seems no longer active i tried contacting upstream author to 
see if project is dead or not and if he wants 
to intergrate all patches in his upstream svn .

Cheers
Samuele

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1209123

Title:
  imms-audacious not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/imms/+bug/1209123/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1209123] [NEW] imms-audacious not working

2013-08-07 Thread Samuele Giovanni Tonon
Public bug reported:

on ubuntu 13.10, when trying to use imms-audacious with audacious,
plugin doesn't show .

if you launch audacious from command line you get:

$ audacious 
 *** ERROR: /usr/lib/x86_64-linux-gnu/audacious/General/libaudaciousimms.so is 
not compatible with this version of Audacious.


some more info:

dpkg -l \*audacious\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture
Description
+++--===-===-==
ii  audacious3.3.4-1 amd64   small 
and fast audio player which supports lots of formats
ii  audacious-plugins:amd64  3.3.4-1ubuntu1  amd64   Base 
plugins for audacious
ii  audacious-plugins-data   3.3.4-1ubuntu1  all Data 
files for Audacious plugins
un  audacious-plugins-extra(no 
description available)
ii  imms-audacious   3.1.0~svn301-2  amd64   
Unobtrusive, automatic, and learning audacious playlist manage

** Affects: imms (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1209123

Title:
  imms-audacious not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/imms/+bug/1209123/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs