tag:blogger.com,1999:blog-151851982024-03-18T08:34:17.676+05:30LifeRandom pages from my liferitzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.comBlogger138125tag:blogger.com,1999:blog-15185198.post-87345895885208858882022-12-12T10:05:00.004+05:302023-02-24T05:02:53.432+05:30GitLab runner on Windows with bash shell on windows contianer on DockerAs part of your pipeline, you may need to perform browser testing across different platforms/environments. To minimize testing time, it's best to use a consistent shell scripting language across platforms.One solution is to use the bash shell on Windows with the shell executor, which you can implement by following this guide: https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/3503. ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0tag:blogger.com,1999:blog-15185198.post-82249735610458575312018-09-21T08:16:00.003+05:302018-09-21T08:16:49.597+05:30glusterfs on fedora on break geo-replication
glusterfs geo-replication break on Fedora
From /var/log/glusterfs/geo-replication/gv0_node1/gsyncd.log class Changes(object): File "/usr/libexec/glusterfs/python/syncdaemon/libgfchangelog.py", line 19, in Changes use_errno=True) File "/usr/lib64/python2.7/ctypes/__init__.py", line 361, in __init__ self._handle = _dlopen(self.ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0tag:blogger.com,1999:blog-15185198.post-53453770393273101632016-11-16T14:49:00.002+05:302016-11-16T14:49:49.604+05:30building Canon MF3010 driver on Fedora25
Building Canon MF3010 driver from source, download the source from http://support-in.canon-asia.com/contents/IN/EN/0100270810.html for UFR II/UFR II LT Printer Driver for Linux V3.20 .
[ritesh@x230t SPECS]$ diff -Naurp cndrvcups-common.spec.orig cndrvcups-common.spec--- cndrvcups-common.spec.orig 2016-11-16 14:37:13.341877857 +0530+++ cndrvcups-common.spec 2016-11-16 14:34:40.674461102 +ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0tag:blogger.com,1999:blog-15185198.post-2393742124768595652016-09-01T13:41:00.001+05:302016-09-01T13:41:33.474+05:30Running Sky from tel.red on Fedora25
On Fedora 25, sky crash up on start in QT.
Program received signal SIGABRT, Aborted.
0x00007ffff112692f in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ffff112692f in raise () at /lib64/libc.so.6
#1 0x00007ffff112852a in abort () at /lib64/libc.so.6
#2 0x00007ffff200dcb1 in () at /usr/lib/sky/lib/libQt5Core.so.5
#3 0x00007ffff24ee835 in QGuiApplicationPrivate::ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0tag:blogger.com,1999:blog-15185198.post-57636152992390524792016-08-07T21:58:00.001+05:302016-08-07T21:58:49.898+05:30installing splunkforwarder using ansible
The vars
--- splunk_home: /opt/splunkforwarder splunk_exec: "{{ splunk_home }}/bin/splunk"
The playbook
---- name: install splunk forwarder yum: name=splunkforwarder state=latest become: yes# check for first time run- stat: path: "{{ splunk_home }}/ftr" register: result_splunk_ftr_stat- block: &ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0tag:blogger.com,1999:blog-15185198.post-21423914430457698462016-06-22T00:23:00.003+05:302016-06-28T19:21:14.247+05:30adding authorized keys using ansible
You can use jinja template engine to set this
vars:
ssh_user_key:
- user: ritesh
exclusive: no
keys:
- ritesh.centos
- ritesh.fedora
- name: ssh user key upload
authorized_key:
user: "{{ ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0tag:blogger.com,1999:blog-15185198.post-54832843230391621262016-05-07T12:26:00.000+05:302016-05-07T12:30:14.600+05:30zabbix 3.0.2 for RHEL6 is built
A follow up on using zabbix30 on el6 . zabbix 3.0.2 packages for RHEL6.x64 has been pushed out.
I have switched to IUS repository, over webtatic.
ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0tag:blogger.com,1999:blog-15185198.post-3633289081380939542016-05-07T10:06:00.000+05:302016-05-07T10:06:22.575+05:30phpipam behind a load balancer which handles ssl offloading
phpipam has support for ssl offloading, via X-Forwarded-For header .
public function createURL () { # reset url for base if($_SERVER['SERVER_PORT'] == "443") { $url = "https://$_SERVER[HTTP_HOST]"; } &ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com264tag:blogger.com,1999:blog-15185198.post-3000329818669070542016-03-31T23:39:00.000+05:302016-03-31T23:51:13.026+05:30python : disabling SSL verification on pyvmomi on python
self signed certificate ?
RHEL6 ? python 2.6 and 2.7.10 mixed environment ?
pyvmomi 5.5+ ?
Looking for a quick fix ?
...
File "/usr/lib/python2.6/site-packages/requests/adapters.py", line 447, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: [Errno 1] _ssl.c:492: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0tag:blogger.com,1999:blog-15185198.post-73097874036147052016-03-28T17:18:00.001+05:302016-03-28T17:18:47.614+05:30BSNL redirecting to “http://domain-error.com”
To work around this ISP spam, I have forced NM to use google dns .
cat /etc/NetworkManager/system-connections/Auto\ Ethernet
...
[ipv4]
dns=8.8.8.8;8.8.4.4;
dns-search=
method=auto
ignore-auto-dns=true
...
Alternatively, install and use nmtui
refence:
https://developers.google.com/speed/public-dns/
https://askubuntu.com/questions/708762/redirecting-to-http-domain-error-com
https:ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0tag:blogger.com,1999:blog-15185198.post-88667212026087387692016-03-23T17:47:00.001+05:302016-05-07T10:07:30.202+05:30Using zabbix 3.0 on EL6
zabbix 3.0 requires php5.4 or above, and consequently is not available on EL6. To workaround this, you would need to install php562 from webtatic.
I prefer to use mariadb , with php56u on my zabbix server. The prebuilt packages can be downloaded from copr:ritz/zabbix30
This is a rebuild against mariadb 10.1.x, with php56-5.6.19 for zabbix-3.0.1 .
Instructions for manual install - ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0tag:blogger.com,1999:blog-15185198.post-60053475087131350842016-03-13T17:23:00.002+05:302016-03-13T17:23:42.128+05:30Using C++ REST on Fedora Linux
Microsoft has release Casablanca ( C++ REST) to github. I have pushed Fedora packages for these to copr .
Happy -lcpprest
ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0tag:blogger.com,1999:blog-15185198.post-52037267492249935972016-01-17T17:14:00.000+05:302016-01-17T17:17:16.200+05:30Increase the offline storage quota for Kindle in epiphany
You can install Amazon's Kindle Cloud reader as a webapp on Fedora Linux using epiphany from gnome-software.
This just leaves you with one issue, the default offline storage quota for Database is a measly 6m, which you hit real quick.
Turns out, webkitgtk3 used to offer an api webkit_get_default_web_database_quota with webkitgtk3, which has been removed from webkitgtk4 used by ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com1tag:blogger.com,1999:blog-15185198.post-74613331415474856842015-07-13T20:58:00.000+05:302015-08-09T22:41:17.084+05:30Lync on Linux
If you are looking to run Lync, aka Skype on Business on Linux you are in luck. Fisil has a client for Linux hosted at http://tel.red/ .
Unfortunately, this came with a bit of a hitch. The application failed to run on Fedora 23 (rawhide). Sky is bundling its own libraries !
$ sky
/opt/sky_linux/sky: symbol lookup error: /lib64/libXxf86vm.so.1: undefined symbol: _XEatDataWords
The solution, ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0tag:blogger.com,1999:blog-15185198.post-17439334830627251442014-06-07T11:34:00.002+05:302014-06-07T11:55:53.472+05:30Tizen on rawhide fedora 21
Been a fun trip trying to run tizen ide on fedora 21 ( rawhide).
Follow steps on http://rtg.in.ua/blog/tizen-sdk-on-fedora-19-x64/
Download pristine-tar source, and rebuild with Requirement update to support tar 1.27.2 ( anything greater than 1.27.3 ).
install mics and gbs ( if you are looking for platform dev ).
cd ~/tizen/sdk/tools/emulator/remote/mv libspice-server.so.1 ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0tag:blogger.com,1999:blog-15185198.post-78463392942624408942014-05-07T13:50:00.000+05:302015-07-13T21:16:42.879+05:30Using middle click with Windows8 on Lenovo x230
with regedit , navigate to:
HKEY CURRENT USER\Software\Synaptics\SynTPEnh\UltraNavPS2 (note HKCU, not HKLM)Change "TrackPointMode" to dword:00002214 from the previous value of 00001214
Open the mouse properties and on the UltraNav tab, disable the TrackPoint by clearing it's check mark, click apply. With the keyboard, track pad or other pointing device, re-enable the ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0tag:blogger.com,1999:blog-15185198.post-43383324103178389972014-05-05T12:50:00.000+05:302014-05-05T12:51:25.845+05:30recovering LUKS encrypted Ubuntu LV Group when mounting on a different Ubuntu system
I mirror my hdd, and keep swapping them in and out of test system. Often I mirror ( using external dock, such as - http://www.ebay.in/itm/Anker-Uspeed-USB-3-0-and-ESATA-To-SATA-External-Hard-Drive-Docking-Station-/161201311080 ). This leads to an issue.
Ubuntu during installl with luks+lvm configuration will name the vg as "ubuntu--vg". And when you plug in another drive on which ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com1tag:blogger.com,1999:blog-15185198.post-56549798967023202752014-01-13T18:36:00.002+05:302014-01-13T18:36:44.812+05:30Shrink VMs on virt-manager/KVM
I tend to use rsync to backup my system ( including VMs) thanks an anoying bug[1] . Turns out, this would sync the entire sparse file, expanding from 11gb on disk to 64gb on target system.
To "fix" this I now use qcow2 for disk image, based of instructions from here[2].
Move existing images to qcow2 , if not done. This also would allow us to use snapshots via virt-managerritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0tag:blogger.com,1999:blog-15185198.post-57047430169538232212014-01-12T21:00:00.001+05:302014-01-13T18:39:27.653+05:30Windows 7 on KVM - High CPU usage on host while guest is idle
remove the usb tablet device, and the cpu usage drops .
reference: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672720
ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0tag:blogger.com,1999:blog-15185198.post-88875238192608017952012-03-21T10:56:00.000+05:302014-05-05T12:47:46.467+05:30Unity vs gnome-shell : the small things - status tray
Unity vs gnome-shell : the small things - status tray
gnome-shell status tray is an interesting implementation , written in js. Consequently, easy to learn, write for, and extend. What does bother me here, is the focus steal.
When a user click on a status tray icon and moves the cursor down diagonally, focus will switch to next nearest tray icon. This is rather annoying, and ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0tag:blogger.com,1999:blog-15185198.post-24271206725035459852011-12-25T21:20:00.001+05:302011-12-25T21:25:40.130+05:30Closing apps in "window pickermode " in gnome-shellOne of the problems when working with touch screen is closing apps in window picker mode. I say,  add a "trash can" to the dock where I can drag and drop applications to close. This would only be visible in window picker mode.
Thoughts?
ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0tag:blogger.com,1999:blog-15185198.post-9994710068732753012011-12-24T08:17:00.000+05:302011-12-24T08:27:35.464+05:30Tablets : Unity and gnome-shell
I have thinking about writing this down for quite a while, my experiences with WeTab running Unity and gnome-shell.
Unity seems a good interface for a netbook ( I have not used this on 396.2mm laptop yet). The chink being, poor Tablet support. On install, I had setup auto-login, and was presented with the desktop and launcher. Opening up an app, and maximizing it hides the launcher, which I ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0Magarpatta, Hadapsar, Pune, Maharashtra18.5026756 73.926706918.5007936 73.9242394 18.5045576 73.9291744tag:blogger.com,1999:blog-15185198.post-2302935284731731362011-12-18T17:36:00.001+05:302011-12-18T17:38:44.697+05:30Not so mad over donuts - a terribly written review of a bad experienceYou can pick any colour for your car,  as long as it is black.  So says,  mad over donuts. 
  I tend to like plain donuts,  and one thing which is which comes out of kitchen is a plain freshly prepared hot crunchy donut. The one thing which mad over donut refuses to sell is a freshly prepared hot crunchy plain donut. For some reason whatever else is being sold on,&#ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0Inorbit, Someshwar Nagar, Wadgaon Sheri, Pune18.560423 73.92073tag:blogger.com,1999:blog-15185198.post-37927429639042258202011-11-01T00:04:00.000+05:302011-11-01T00:05:00.263+05:30FudCon 2011 : here I come
I am heading to fudcon this year, and hopefully will present a talk to elp people starting to working with open source, specifically GNOME.
Do vote for me, here - http://fudcon.in/sessions/contributing-opensource
ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com0tag:blogger.com,1999:blog-15185198.post-55444014557616189112011-09-07T23:23:00.000+05:302011-09-07T23:29:27.539+05:30changing brightness from gnome shell
gnome-power-manager has been rewritten for GNOME 3.2, and is now merged into gnome-settings-daemon as a plugin and this manages policy. The power management is done by UPower for most parts, except backlight.This is managed at Session level by g-s-d via power plugin using XRandR or plain old sysfs depending upon driver support.
To manages screen brightness settings, one would do so via dbus, ritzkhttp://www.blogger.com/profile/18355189218047227357noreply@blogger.com2