[Bug 1088154] Re: LDAP support broken in rpc.idmapd

2012-12-16 Thread Ashish SHUKLA
Seems to be fault of nfs-utils, and not libnfsidmap2. Details in next-
update.

** Package changed: libnfsidmap (Ubuntu) = nfs-utils (Ubuntu)

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

Title:
  LDAP support broken in rpc.idmapd

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

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


[Bug 1088154] Re: LDAP support broken in rpc.idmapd

2012-12-16 Thread Ashish SHUKLA
I'm able to triage this bug, and it seems like the culprit is `conf_*`
functions present in conffile.c (nfs-utils), which are also present in
cfg.c (libnfsidmap2), and due to runtime linking, `conf_*` present in
`rpc.idmapd` executable (nfs-utils) takes precedence over the `conf_*`
functions present in `/lib/libnfsidmap.so.0` due to symbol search order,
and therefore complicating configuration parsing.

The diff attached marks the `conf_*` functions, present in `conffile.c`
which seem to conflict with functions present in `cfg.c`, as `static`,
and therefore fixing the conflict.

For the record, I'm running `Ubuntu Precise`.

Thanks

** Patch added: Fix (in quilt format, needs to go in debian/patches)
   
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1088154/+attachment/3461680/+files/20-conffile.patch

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

Title:
  LDAP support broken in rpc.idmapd

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

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


[Bug 1088154] [NEW] LDAP support broken in rpc.idmapd

2012-12-09 Thread Ashish SHUKLA
Public bug reported:

Hi,

I'm trying to use LDAP support in rpc.idmapd, and I get following
errors:

% tail -6 /var/log/daemon.log
Dec  9 10:18:53 bk0-srv rpc.idmapd[24360]: libnfsidmap: using domain: domain.tld
Dec  9 10:18:53 bk0-srv rpc.idmapd[24360]: libnfsidmap: Realms list: 
'DOMAIN.TLD'
Dec  9 10:18:53 bk0-srv rpc.idmapd[24360]: libnfsidmap: processing 'Method' list
Dec  9 10:18:53 bk0-srv rpc.idmapd[24360]: umichldap_init: Missing required 
information: LDAP_server LDAP_base
Dec  9 10:18:53 bk0-srv rpc.idmapd[24360]: libnfsidmap: Failed in 
/lib/libnfsidmap/umich_ldap.so's init(), returned -1
Dec  9 10:18:53 bk0-srv rpc.idmapd[24360]: libnfsidmap: requested translation 
method, 'umich_ldap', is not available

Following is idmapd.conf(5):

% cat /etc/idmapd.conf
[General]

Verbosity = 10
Pipefs-Directory = /run/rpc_pipefs
Domain = domain.tld
# set your own domain here, if id differs from FQDN minus hostname
# Domain = localdomain

[Translation]

Method = umich_ldap, nsswitch

[UMICH_SCHEMA]

LDAP_server = ldap.domain.tld
LDAP_base = dc=domain,dc=tld

[Mapping]

Nobody-User = nobody
Nobody-Group = nogroup

I'm not sure why rpc.idmapd complains about lack of LDAP_server,
LDAP_base keys when they're present in the corresponding section
(UMICH_SCHEMA)

Thanks in advance

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


** Tags: ldap

** Description changed:

  Hi,
  
  I'm trying to use LDAP support in rpc.idmapd, and I get following
  errors:
  
  % tail -6 /var/log/daemon.log
- Dec  9 10:18:53 bk0-srv rpc.idmapd[24360]: libnfsidmap: using domain: noida.di
- Dec  9 10:18:53 bk0-srv rpc.idmapd[24360]: libnfsidmap: Realms list: 
'DOMAIN.TLD' 
+ Dec  9 10:18:53 bk0-srv rpc.idmapd[24360]: libnfsidmap: using domain: 
domain.tld
+ Dec  9 10:18:53 bk0-srv rpc.idmapd[24360]: libnfsidmap: Realms list: 
'DOMAIN.TLD'
  Dec  9 10:18:53 bk0-srv rpc.idmapd[24360]: libnfsidmap: processing 'Method' 
list
- Dec  9 10:18:53 bk0-srv rpc.idmapd[24360]: umichldap_init: Missing required 
information: LDAP_server LDAP_base 
+ Dec  9 10:18:53 bk0-srv rpc.idmapd[24360]: umichldap_init: Missing required 
information: LDAP_server LDAP_base
  Dec  9 10:18:53 bk0-srv rpc.idmapd[24360]: libnfsidmap: Failed in 
/lib/libnfsidmap/umich_ldap.so's init(), returned -1
  Dec  9 10:18:53 bk0-srv rpc.idmapd[24360]: libnfsidmap: requested translation 
method, 'umich_ldap', is not available
  
  Following is idmapd.conf(5):
  
  % cat /etc/idmapd.conf
  [General]
  
  Verbosity = 10
  Pipefs-Directory = /run/rpc_pipefs
  Domain = domain.tld
  # set your own domain here, if id differs from FQDN minus hostname
  # Domain = localdomain
  
  [Translation]
  
  Method = umich_ldap, nsswitch
  
  [UMICH_SCHEMA]
  
  LDAP_server = ldap.domain.tld
  LDAP_base = dc=domain,dc=tld
  
  [Mapping]
  
  Nobody-User = nobody
  Nobody-Group = nogroup
  
- 
  I'm not sure why rpc.idmapd complains about lack of LDAP_server,
  LDAP_base keys when they're present in the corresponding section
  (UMICH_SCHEMA)
  
  Thanks in advance

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

Title:
  LDAP support broken in rpc.idmapd

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

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


[Bug 220752] Re: /etc/resolv.conf needs to be labelled correctly for SELinux

2008-04-28 Thread Ashish Shukla आशीष शुक्ल
Check out the attached resolvconf.patch diff which contains resolvconf
policy I wrote few days ago. I'm not able to test this policy due to
lack of time. Also you might need to patch sysnetwork policy with
following diff:

88
--- refpolicy-0.0.20071214-classic/policy/modules/system/sysnetwork.fc  
2008-02-14 20:57:46.0 +0530
+++ refpolicy-0.0.20071214/policy/modules/system/sysnetwork.fc  2008-04-23 
03:59:07.0 +0530
@@ -17,6 +17,10 @@
 /etc/dhcp3(/.*)?   gen_context(system_u:object_r:dhcp_etc_t,s0)
 /etc/dhcp3?/dhclient.* gen_context(system_u:object_r:dhcp_etc_t,s0)
 
+ifdef(`distro_debian',`
+/etc/resolv\.conf.*-l  gen_context(system_u:object_r:net_conf_t,s0)
+')
+
 ifdef(`distro_redhat',`
 /etc/sysconfig/network-scripts/.*resolv\.conf -- 
gen_context(system_u:object_r:net_conf_t,s0)
 /etc/sysconfig/networking/profiles/.*/resolv\.conf -- 
gen_context(system_u:object_r:net_conf_t,s0)
--- refpolicy-0.0.20071214-classic/policy/modules/system/sysnetwork.if  
2008-02-14 20:57:46.0 +0530
+++ refpolicy-0.0.20071214/policy/modules/system/sysnetwork.if  2008-04-23 
15:24:57.0 +0530
@@ -493,6 +493,10 @@
 
files_search_etc($1)
allow $1 net_conf_t:file read_file_perms;
+
+   ifdef(`distro_debian',`
+   resolvconf_read_dns_config($1)
+   ')
 ')
 
 
88

The resolvconf_read_dns_config($1) in above diff can be enclosed in an
optional_policy block also, but doing this will lead to errors in
compilation of other modules, e.g. apache.

HTH

** Attachment added: resolvconf.patch
   http://launchpadlibrarian.net/13997290/resolvconf.patch

-- 
/etc/resolv.conf needs to be labelled correctly for SELinux
https://bugs.launchpad.net/bugs/220752
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 220752] Re: /etc/resolv.conf needs to be labelled correctly for SELinux

2008-04-22 Thread Ashish Shukla आशीष शुक्ल
Fixed incorrect package.

** Changed in: refpolicy (Ubuntu)
Sourcepackagename: resolvconf = refpolicy

-- 
/etc/resolv.conf needs to be labelled correctly for SELinux
https://bugs.launchpad.net/bugs/220752
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 220752] [NEW] /etc/resolv.conf needs to be labelled correctly for SELinux

2008-04-22 Thread Ashish Shukla आशीष शुक्ल
Public bug reported:

resolvconf package replaces /etc/resolv.conf with a symlink to
/etc/resolvconf/run/resolv.conf due to which /etc/resolv.conf doesn't
get labelled properly resulting in SELinux AVC denials.

The fix to this bug will be to add a entry for /etc/resolv.conf symlink
to be labelled with 'system_u:object_r:net_conf_t' in SELinux policy's
file contexts.

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

-- 
/etc/resolv.conf needs to be labelled correctly for SELinux
https://bugs.launchpad.net/bugs/220752
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


Re: [Bug 177492] Re: EXA is balls-achingly slow

2008-04-20 Thread Ashish Shukla आशीष शुक्ल
Hi,

The status of this bug is Fix Released. Can anyone point me to the
fix. I'm not able to find it. I'm running Ubuntu Hardy (amd64) ?

TIA
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


** Attachment added: unnamed
   http://launchpadlibrarian.net/13587708/unnamed

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

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

[Bug 218242] Re: DG33BU - Intel GMA 3100 - graphics driver problems

2008-04-18 Thread आशीष शुक्ल Ashish Shukla
Hi,

Can you paste the resolutions supported by Xorg with 'intel' driver by
running xrandr in some terminal. You can also try switching to your
desired resolution using xrandr. e.g. to switch to 1024x768 @ 75 Hz
(vertical refresh rate), use 'xrandr -s 1024x768 -r 75' .

HTH
Ashish Shukla

-- 
DG33BU - Intel GMA 3100 - graphics driver problems
https://bugs.launchpad.net/bugs/218242
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


Re: [Bug 218242] Re: DG33BU - Intel GMA 3100 - graphics driver problems

2008-04-18 Thread आशीष शुक्ल Ashish Shukla
 Radha Krishna S writes:
Radha Am not at my pc right now and it would be tough for me to do as 
suggested,
Radha but here's something that I've already done.

Radha When I select 'intel' driver in the list of drivers, a default X 
display
Radha loads up with 640 x 480 resolution. When I look into the resolutions
Radha supported on the display, there is no other resolution available for
Radha selection, other than 640 X 480.

I'm not sure but I think it uses xrandr to query what modes are
available. Which version of Ubuntu are you running when you tried
this ? What kind of monitor are you using ?

Radha Does that information help in any manner??

Radha Had to get to a terminal session, stop gdm, remove all xorg.conf 
files and
Radha restart to get back to a session driven out of vesa. Or is it? 

vesa is a generic driver. You can try following, after stopping gdm, and
wiping off xorg.conf:

1. Login to a TTY (using Ctrl-Alt-F1).
2. Execute following in one shot at your TTY.
 
abbe [~] chateau $ Xorg  ; sleep 5  ; export DISPLAY=:0 ; xrandr 
xrandr-output.txt ; killall Xorg

3. Now, back at TTY, xrandr-output.txt contains output of xrandr.

You can also execute 'ddcprobe' in a root shell, to get list of
resolutions, refresh rates supported by your monitor. ddcprobe doesn't need X
running.

Radha because, there was dist upgrade pushed on my PC. After the
Radha upgrade, the other - Screen and Graphics settings is not
Radha available anymore. Is there a way to figure out which
Radha graphics driver is in use??

abbe [~] chateau $ fgrep drivers/ /var/log/Xorg.0.log

HTH
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --

-- 
DG33BU - Intel GMA 3100 - graphics driver problems
https://bugs.launchpad.net/bugs/218242
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

[Bug 177492] Re: EXA is balls-achingly slow

2008-04-18 Thread Ashish Shukla आशीष शुक्ल
Hi,

I'm also experiencing similar issue on my Intel D945GNTL motherboard
based desktop. I'm running xserver-xorg-video-intel 2:2.2.1-1ubuntu12.
I've tried all workarounds mentioned above adding options
MigrationHeuristics = greedy, AccelMethod = EXA,
ExaNoComposite = (both false and true), but no visible change in
performance.

00:02.0 VGA compatible controller [0300]: Intel Corporation 82945G/GZ
Integrated Graphics Controller [8086:2772] (rev 02)

Attached is the video I recorded using recordmydesktop, to demonstrate
flickering happening in xterm during resizing. I'm running Ubuntu Hardy
(AMD64) on 1440x900 display resolution.

TIA
Ashish Shukla

** Attachment added: Flickering xterm
   http://launchpadlibrarian.net/13567352/flickering-xterm.ogg

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

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


[Bug 188498] Re: konqueror opens new window

2008-02-08 Thread आशीष शुक्ल Ashish Shukla
I've found a workaround for this bug in my Ubuntu Gutsy. To fix this
bug, go to File Associations in System Settings . Select the text
type. In the right pane, select Show file in embedded viewer instead
of Show file in separate viewer. Check out
http://www.flickr.com/photos/wahjava/2250232339/ .

-- 
konqueror opens new window
https://bugs.launchpad.net/bugs/188498
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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